|
Blender V4.3
|
#include "GHOST_Types.h"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) |
| const char * | 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 53 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 16 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 21 of file GHOST_Path-api.cc.
References GHOST_ISystemPaths::dispose().
Referenced by BKE_appdir_exit(), blender::bke::image::partial_update::ImagePartialUpdateTest::TearDown(), and blender::bke::tests::Context< TestData >::~Context().
|
extern |
Determine the directory in which the binary file is found.
Definition at line 46 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.
/usr/share/blender/).BKE_appdir_resource_path_id(BLENDER_RESOURCE_PATH_SYSTEM, false) should be used instead of this function directly as it ensures environment variable overrides are used. Definition at line 26 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.
BKE_appdir_resource_path_id(BLENDER_RESOURCE_PATH_USER, false) should be used instead of this function directly as it ensures environment variable overrides are used. Definition at line 32 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.
~/Documents/). Definition at line 39 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().