|
Platform folders
4.0.0
|
#include <platform_folders.h>
Public Member Functions | |
| std::string | getDesktopFolder () const |
| std::string | getDocumentsFolder () const |
| std::string | getPicturesFolder () const |
| std::string | getPublicFolder () const |
| std::string | getDownloadFolder1 () const |
| std::string | getMusicFolder () const |
| std::string | getVideoFolder () const |
| std::string | getSaveGamesFolder1 () const |
This class contains methods for finding the system depended special folders. For Windows these folders are either by convention or given by CSIDL. For Linux XDG convention is used. The Linux version has very little error checking and assumes that the config is correct
| std::string sago::PlatformFolders::getDesktopFolder | ( | ) | const |
The folder that represents the desktop. Normally you should try not to use this folder.
| std::string sago::PlatformFolders::getDocumentsFolder | ( | ) | const |
The folder to store user documents to
| std::string sago::PlatformFolders::getDownloadFolder1 | ( | ) | const |
The folder where files are downloaded.
| std::string sago::PlatformFolders::getMusicFolder | ( | ) | const |
The folder where music is stored
| std::string sago::PlatformFolders::getPicturesFolder | ( | ) | const |
The folder for storring the user's pictures.
| std::string sago::PlatformFolders::getPublicFolder | ( | ) | const |
Use sago::getPublicFolder() instead!
| std::string sago::PlatformFolders::getSaveGamesFolder1 | ( | ) | const |
The base folder for storring saved games. You must add the program name to it like this:
| std::string sago::PlatformFolders::getVideoFolder | ( | ) | const |
The folder where video is stored
1.8.13