|
Blender V4.3
|
#include <AppConfig.h>
Public Member Functions | |
| Path () | |
| virtual | ~Path () |
| void | setRootDir (const string &iRootDir) |
| void | setHomeDir (const string &iHomeDir) |
| const string & | getProjectDir () const |
| const string & | getModelsPath () const |
| const string & | getPatternsPath () const |
| const string & | getBrushesPath () const |
| const string & | getEnvMapDir () const |
| const string & | getMapsDir () const |
| const string & | getHomeDir () const |
Static Public Member Functions | |
| static Path * | getInstance () |
| static string | getEnvVar (const string &iEnvVarName) |
Protected Attributes | |
| string | _ProjectDir |
| string | _ModelsPath |
| string | _PatternsPath |
| string | _BrushesPath |
| string | _EnvMapDir |
| string | _MapsDir |
| string | _HomeDir |
Static Protected Attributes | |
| static Path * | _pInstance = nullptr |
Definition at line 27 of file AppConfig.h.
| Freestyle::Config::Path::Path | ( | ) |
Definition at line 22 of file AppConfig.cpp.
References _pInstance, BKE_appdir_folder_id(), BKE_appdir_program_dir(), BLENDER_SYSTEM_SCRIPTS, and setRootDir().
|
virtual |
Definition at line 50 of file AppConfig.cpp.
References _pInstance.
|
inline |
Definition at line 58 of file AppConfig.h.
References _BrushesPath.
|
inline |
Definition at line 62 of file AppConfig.h.
References _EnvMapDir.
|
static |
Definition at line 60 of file AppConfig.cpp.
|
inline |
Definition at line 70 of file AppConfig.h.
References _HomeDir.
Referenced by Freestyle::Controller::Controller().
|
static |
Definition at line 55 of file AppConfig.cpp.
References _pInstance.
Referenced by Freestyle::AppCanvas::AppCanvas(), Freestyle::Controller::Controller(), and Freestyle::Controller::init_options().
|
inline |
Definition at line 66 of file AppConfig.h.
References _MapsDir.
Referenced by Freestyle::AppCanvas::AppCanvas().
|
inline |
Definition at line 50 of file AppConfig.h.
References _ModelsPath.
Referenced by Freestyle::Controller::init_options().
|
inline |
Definition at line 54 of file AppConfig.h.
References _PatternsPath.
Referenced by Freestyle::Controller::init_options().
|
inline |
Definition at line 46 of file AppConfig.h.
References _ProjectDir.
| void Freestyle::Config::Path::setHomeDir | ( | const string & | iHomeDir | ) |
Definition at line 45 of file AppConfig.cpp.
References _HomeDir.
| void Freestyle::Config::Path::setRootDir | ( | const string & | iRootDir | ) |
Definition at line 32 of file AppConfig.cpp.
References _BrushesPath, _EnvMapDir, _MapsDir, _ModelsPath, _PatternsPath, _ProjectDir, and DIR_SEP.
Referenced by Path().
|
protected |
Definition at line 33 of file AppConfig.h.
Referenced by getBrushesPath(), and setRootDir().
|
protected |
Definition at line 34 of file AppConfig.h.
Referenced by getEnvMapDir(), and setRootDir().
|
protected |
Definition at line 36 of file AppConfig.h.
Referenced by getHomeDir(), and setHomeDir().
|
protected |
Definition at line 35 of file AppConfig.h.
Referenced by getMapsDir(), and setRootDir().
|
protected |
Definition at line 31 of file AppConfig.h.
Referenced by getModelsPath(), and setRootDir().
|
protected |
Definition at line 32 of file AppConfig.h.
Referenced by getPatternsPath(), and setRootDir().
|
staticprotected |
Definition at line 29 of file AppConfig.h.
Referenced by getInstance(), Path(), and ~Path().
|
protected |
Definition at line 30 of file AppConfig.h.
Referenced by getProjectDir(), and setRootDir().