|
Blender
V2.93
|
#include <GHOST_SystemPathsUnix.h>
Inherits GHOST_SystemPaths.
Public Member Functions | |
| GHOST_SystemPathsUnix () | |
| ~GHOST_SystemPathsUnix () | |
| const GHOST_TUns8 * | getSystemDir (int version, const char *versionstr) const |
| const GHOST_TUns8 * | getUserDir (int version, const char *versionstr) const |
| const GHOST_TUns8 * | getUserSpecialDir (GHOST_TUserSpecialDirTypes type) const |
| const GHOST_TUns8 * | getBinaryDir () const |
| void | addToSystemRecentFiles (const char *filename) const |
Additional Inherited Members | |
Static Public Member Functions inherited from GHOST_ISystemPaths | |
| static GHOST_TSuccess | create () |
| static GHOST_TSuccess | dispose () |
| static GHOST_ISystemPaths * | get () |
Protected Member Functions inherited from GHOST_SystemPaths | |
| GHOST_SystemPaths () | |
| virtual | ~GHOST_SystemPaths () |
Protected Member Functions inherited from GHOST_ISystemPaths | |
| GHOST_ISystemPaths () | |
| virtual | ~GHOST_ISystemPaths () |
Definition at line 29 of file GHOST_SystemPathsUnix.h.
| GHOST_SystemPathsUnix::GHOST_SystemPathsUnix | ( | ) |
Constructor this class should only be instantiated by GHOST_ISystem.
Definition at line 50 of file GHOST_SystemPathsUnix.cpp.
| GHOST_SystemPathsUnix::~GHOST_SystemPathsUnix | ( | ) |
Destructor.
Definition at line 54 of file GHOST_SystemPathsUnix.cpp.
|
virtual |
Add the file to the operating system most recently used files
Implements GHOST_SystemPaths.
Definition at line 178 of file GHOST_SystemPathsUnix.cpp.
|
virtual |
Determine the directory of the current binary
Implements GHOST_SystemPaths.
Definition at line 173 of file GHOST_SystemPathsUnix.cpp.
References NULL.
|
virtual |
Determine the base dir in which shared resources are located. It will first try to use "unpack and run" path, then look for properly installed path, including versioning.
/usr/share/blender/). Implements GHOST_SystemPaths.
Definition at line 58 of file GHOST_SystemPathsUnix.cpp.
References NULL, and static_path.
|
virtual |
Determine the base dir in which user configuration is stored, including versioning. If needed, it will create the base directory.
~/.config/.blender/). Implements GHOST_SystemPaths.
Definition at line 72 of file GHOST_SystemPathsUnix.cpp.
References NULL.
|
virtual |
Determine a special ("well known") and easy to reach user directory.
~/Documents/). Implements GHOST_ISystemPaths.
Definition at line 117 of file GHOST_SystemPathsUnix.cpp.
References Freestyle::c, GHOST_ASSERT, GHOST_kUserSpecialDirDesktop, GHOST_kUserSpecialDirDocuments, GHOST_kUserSpecialDirDownloads, GHOST_kUserSpecialDirMusic, GHOST_kUserSpecialDirPictures, GHOST_kUserSpecialDirVideos, NULL, and type.