|
Blender V5.0
|
Go to the source code of this file.
Functions | |
| GHOST_DECLARE_HANDLE (GHOST_SystemPathsHandle) | |
| GHOST_TSuccess | GHOST_CreateSystemPaths () |
| GHOST_TSuccess | GHOST_DisposeSystemPaths () |
| const char * | GHOST_getSystemDir (int version, const char *versionstr) |
| const char * | GHOST_getUserDir (int version, const char *versionstr) |
| std::optional< std::string > | GHOST_getUserSpecialDir (GHOST_TUserSpecialDirTypes type) |
| const char * | GHOST_getBinaryDir () |
| void | GHOST_addToSystemRecentFiles (const char *filepath) |
|
extern |
Add the file to the operating system most recently used files
Definition at line 51 of file GHOST_Path-api.cc.
References GHOST_ISystemPaths::addToSystemRecentFiles(), and GHOST_ISystemPaths::get().
Referenced by wm_history_file_update().
|
extern |
Creates the one and only instance of the system path access.
Definition at line 14 of file GHOST_Path-api.cc.
References GHOST_ISystemPaths::create().
| GHOST_DECLARE_HANDLE | ( | GHOST_SystemPathsHandle | ) |
|
extern |
Disposes the one and only system.
Definition at line 19 of file GHOST_Path-api.cc.
References GHOST_ISystemPaths::dispose().
Referenced by BKE_appdir_exit(), blender::bke::image::partial_update::ImagePartialUpdateTest::TearDown(), blender::bke::tests::LibQueryTest::TearDownTestSuite(), blender::bke::tests::LibRemapTest::TearDownTestSuite(), and blender::gpu::GPUTest::TearDownTestSuite().
|
extern |
Determine the directory in which the binary file is found.
Definition at line 44 of file GHOST_Path-api.cc.
References GHOST_ISystemPaths::get(), and GHOST_ISystemPaths::getBinaryDir().
|
extern |
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.
Definition at line 24 of file GHOST_Path-api.cc.
References GHOST_ISystemPaths::get(), and GHOST_ISystemPaths::getSystemDir().
Referenced by get_path_system_ex().
|
extern |
Determine the base directory in which user configuration is stored, including versioning.
Definition at line 30 of file GHOST_Path-api.cc.
References GHOST_ISystemPaths::get(), and GHOST_ISystemPaths::getUserDir().
Referenced by get_path_user_ex().
|
extern |
Determine a special ("well known") and easy to reach user directory.
Definition at line 37 of file GHOST_Path-api.cc.
References GHOST_ISystemPaths::get(), and GHOST_ISystemPaths::getUserSpecialDir().
Referenced by BKE_appdir_folder_caches(), and BKE_appdir_folder_documents().