Blender
V3.3
|
#include <GHOST_SystemPaths.h>
Public Member Functions | |
virtual const char * | getSystemDir (int version, const char *versionstr) const =0 |
virtual const char * | getUserDir (int version, const char *versionstr) const =0 |
virtual const char * | getBinaryDir () const =0 |
virtual void | addToSystemRecentFiles (const char *filename) const =0 |
![]() | |
virtual const char * | getUserSpecialDir (GHOST_TUserSpecialDirTypes type) const =0 |
Protected Member Functions | |
GHOST_SystemPaths () | |
virtual | ~GHOST_SystemPaths () |
![]() | |
GHOST_ISystemPaths () | |
virtual | ~GHOST_ISystemPaths () |
Additional Inherited Members | |
![]() | |
static GHOST_TSuccess | create () |
static GHOST_TSuccess | dispose () |
static GHOST_ISystemPaths * | get () |
Definition at line 12 of file GHOST_SystemPaths.h.
|
inlineprotected |
Constructor. Protected default constructor to force use of static createSystem member.
Definition at line 18 of file GHOST_SystemPaths.h.
|
inlineprotectedvirtual |
Destructor. Protected default constructor to force use of static dispose member.
Definition at line 26 of file GHOST_SystemPaths.h.
|
pure virtual |
Add the file to the operating system most recently used files
Implements GHOST_ISystemPaths.
Implemented in GHOST_SystemPathsWin32, GHOST_SystemPathsUnix, and GHOST_SystemPathsCocoa.
|
pure virtual |
Determine the directory of the current binary
Implements GHOST_ISystemPaths.
Implemented in GHOST_SystemPathsWin32, GHOST_SystemPathsUnix, and GHOST_SystemPathsCocoa.
|
pure 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.
Implements GHOST_ISystemPaths.
Implemented in GHOST_SystemPathsWin32, GHOST_SystemPathsUnix, and GHOST_SystemPathsCocoa.
|
pure virtual |
Determine the base dir in which user configuration is stored, including versioning. If needed, it will create the base directory.
Implements GHOST_ISystemPaths.
Implemented in GHOST_SystemPathsWin32, GHOST_SystemPathsUnix, and GHOST_SystemPathsCocoa.