|
Blender V5.0
|
#include <GHOST_SystemPathsWin32.hh>
Inherits GHOST_SystemPaths.
Public Member Functions | |
| GHOST_SystemPathsWin32 () | |
| ~GHOST_SystemPathsWin32 () override | |
| const char * | getSystemDir (int version, const char *versionstr) const override |
| const char * | getUserDir (int version, const char *versionstr) const override |
| std::optional< std::string > | getUserSpecialDir (GHOST_TUserSpecialDirTypes type) const override |
| const char * | getBinaryDir () const override |
| void | addToSystemRecentFiles (const char *filepath) const override |
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 () | |
| ~GHOST_SystemPaths () override=default | |
| Protected Member Functions inherited from GHOST_ISystemPaths | |
| GHOST_ISystemPaths () | |
| virtual | ~GHOST_ISystemPaths ()=default |
WIN32 Implementation of GHOST_SystemPaths class.
Definition at line 27 of file GHOST_SystemPathsWin32.hh.
| GHOST_SystemPathsWin32::GHOST_SystemPathsWin32 | ( | ) |
Constructor.
Definition at line 18 of file GHOST_SystemPathsWin32.cc.
|
override |
Destructor.
Definition at line 20 of file GHOST_SystemPathsWin32.cc.
|
overridevirtual |
Add the file to the operating system most recently used files
Implements GHOST_SystemPaths.
Definition at line 130 of file GHOST_SystemPathsWin32.cc.
References UTF16_ENCODE, and UTF16_UN_ENCODE.
|
overridevirtual |
Determine the directory of the current binary.
Implements GHOST_SystemPaths.
Definition at line 117 of file GHOST_SystemPathsWin32.cc.
References conv_utf_16_to_8().
|
overridevirtual |
Determine the base directory 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_SystemPaths.
Definition at line 22 of file GHOST_SystemPathsWin32.cc.
References conv_utf_16_to_8().
|
overridevirtual |
Determine the base directory in which user configuration is stored, including versioning. If needed, it will create the base directory.
Implements GHOST_SystemPaths.
Definition at line 44 of file GHOST_SystemPathsWin32.cc.
References conv_utf_16_to_8().
|
overridevirtual |
Determine a special ("well known") and easy to reach user directory.
Implements GHOST_ISystemPaths.
Definition at line 65 of file GHOST_SystemPathsWin32.cc.
References conv_utf_16_to_8(), GHOST_ASSERT, GHOST_kUserSpecialDirCaches, GHOST_kUserSpecialDirDesktop, GHOST_kUserSpecialDirDocuments, GHOST_kUserSpecialDirDownloads, GHOST_kUserSpecialDirMusic, GHOST_kUserSpecialDirPictures, and GHOST_kUserSpecialDirVideos.