Blender
V3.3
|
#include <GHOST_SystemPathsWin32.h>
Public Member Functions | |
GHOST_SystemPathsWin32 () | |
~GHOST_SystemPathsWin32 () | |
const char * | getSystemDir (int version, const char *versionstr) const |
const char * | getUserDir (int version, const char *versionstr) const |
const char * | getUserSpecialDir (GHOST_TUserSpecialDirTypes type) const |
const char * | getBinaryDir () const |
void | addToSystemRecentFiles (const char *filename) const |
Additional Inherited Members | |
![]() | |
static GHOST_TSuccess | create () |
static GHOST_TSuccess | dispose () |
static GHOST_ISystemPaths * | get () |
![]() | |
GHOST_SystemPaths () | |
virtual | ~GHOST_SystemPaths () |
![]() | |
GHOST_ISystemPaths () | |
virtual | ~GHOST_ISystemPaths () |
WIN32 Implementation of GHOST_SystemPaths class.
Definition at line 23 of file GHOST_SystemPathsWin32.h.
GHOST_SystemPathsWin32::GHOST_SystemPathsWin32 | ( | ) |
Constructor.
Definition at line 17 of file GHOST_SystemPathsWin32.cpp.
GHOST_SystemPathsWin32::~GHOST_SystemPathsWin32 | ( | ) |
Destructor.
Definition at line 21 of file GHOST_SystemPathsWin32.cpp.
|
virtual |
Add the file to the operating system most recently used files
Implements GHOST_SystemPaths.
Definition at line 124 of file GHOST_SystemPathsWin32.cpp.
References UTF16_ENCODE, and UTF16_UN_ENCODE.
|
virtual |
Determine the directory of the current binary
Implements GHOST_SystemPaths.
Definition at line 111 of file GHOST_SystemPathsWin32.cpp.
References conv_utf_16_to_8(), and 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.
Implements GHOST_SystemPaths.
Definition at line 25 of file GHOST_SystemPathsWin32.cpp.
References conv_utf_16_to_8(), and NULL.
|
virtual |
Determine the base dir in which user configuration is stored, including versioning. If needed, it will create the base directory.
Implements GHOST_SystemPaths.
Definition at line 45 of file GHOST_SystemPathsWin32.cpp.
References conv_utf_16_to_8(), and NULL.
|
virtual |
Determine a special ("well known") and easy to reach user directory.
~/Documents/
). Implements GHOST_ISystemPaths.
Definition at line 64 of file GHOST_SystemPathsWin32.cpp.
References conv_utf_16_to_8(), GHOST_ASSERT, GHOST_kUserSpecialDirCaches, GHOST_kUserSpecialDirDesktop, GHOST_kUserSpecialDirDocuments, GHOST_kUserSpecialDirDownloads, GHOST_kUserSpecialDirMusic, GHOST_kUserSpecialDirPictures, GHOST_kUserSpecialDirVideos, NULL, and type.