|
Blender V4.5
|
#include "GHOST_Path-api.hh"#include "GHOST_ISystemPaths.hh"#include "GHOST_Types.h"#include "intern/GHOST_Debug.hh"Go to the source code of this file.
Functions | |
| 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) |
| const char * | GHOST_getUserSpecialDir (GHOST_TUserSpecialDirTypes type) |
| const char * | GHOST_getBinaryDir () |
| void | GHOST_addToSystemRecentFiles (const char *filepath) |
| void GHOST_addToSystemRecentFiles | ( | const char * | filepath | ) |
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(), GHOST_ISystemPaths::get(), and GHOST_addToSystemRecentFiles().
Referenced by GHOST_addToSystemRecentFiles(), GHOST_DECLARE_HANDLE(), and wm_history_file_update().
| GHOST_TSuccess GHOST_CreateSystemPaths | ( | ) |
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(), and GHOST_CreateSystemPaths().
Referenced by GHOST_CreateSystemPaths(), and GHOST_DECLARE_HANDLE().
| GHOST_TSuccess GHOST_DisposeSystemPaths | ( | ) |
Disposes the one and only system.
Definition at line 19 of file GHOST_Path-api.cc.
References GHOST_ISystemPaths::dispose(), and GHOST_DisposeSystemPaths().
Referenced by BKE_appdir_exit(), GHOST_DECLARE_HANDLE(), GHOST_DisposeSystemPaths(), blender::bke::image::partial_update::ImagePartialUpdateTest::TearDown(), blender::bke::tests::LibQueryTest::TearDownTestSuite(), blender::bke::tests::LibRemapTest::TearDownTestSuite(), and blender::gpu::GPUTest::TearDownTestSuite().
| const char * GHOST_getBinaryDir | ( | ) |
Determine the directory in which the binary file is found.
Definition at line 44 of file GHOST_Path-api.cc.
References GHOST_ISystemPaths::get(), GHOST_ISystemPaths::getBinaryDir(), and GHOST_getBinaryDir().
Referenced by GHOST_DECLARE_HANDLE(), and GHOST_getBinaryDir().
| const char * GHOST_getSystemDir | ( | int | version, |
| const char * | versionstr ) |
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(), GHOST_ISystemPaths::getSystemDir(), and GHOST_getSystemDir().
Referenced by get_path_system_ex(), GHOST_DECLARE_HANDLE(), and GHOST_getSystemDir().
| const char * GHOST_getUserDir | ( | int | version, |
| const char * | versionstr ) |
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(), GHOST_ISystemPaths::getUserDir(), and GHOST_getUserDir().
Referenced by get_path_user_ex(), GHOST_DECLARE_HANDLE(), and GHOST_getUserDir().
| const char * GHOST_getUserSpecialDir | ( | GHOST_TUserSpecialDirTypes | type | ) |
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(), GHOST_ISystemPaths::getUserSpecialDir(), and GHOST_getUserSpecialDir().
Referenced by BKE_appdir_folder_caches(), BKE_appdir_folder_documents(), GHOST_DECLARE_HANDLE(), and GHOST_getUserSpecialDir().