libcrn
3.9.5
A document image processing library
|
Global configuration utility class. More...
#include <CRNConfig.h>
Public Member Functions | |
~Config () | |
Destructor. More... | |
Static Public Member Functions | |
static bool | Save () |
Saves to user's local config. More... | |
static void | SetTopDataPath (const Path &dir) |
Sets the top directory name. More... | |
static Path | GetTopDataPath () |
Gets the top directory name. More... | |
static crn::Path | GetLocalePath () |
Gets the translation files path. More... | |
static void | SetLocalePath (const crn::Path &dir) |
Sets the translation files path. More... | |
static crn::Path | GetStaticDataPath () |
Gets the data directory name. More... | |
static void | SetStaticDataPath (const crn::Path &dir) |
Sets the data directory name. More... | |
Global configuration utility class.
Global configuration utility class
Definition at line 38 of file CRNConfig.h.
Config::~Config | ( | ) |
Destructor.
Definition at line 97 of file CRNConfig.cpp.
|
static |
Gets the translation files path.
Gets the translation files path
Definition at line 152 of file CRNConfig.cpp.
|
static |
Gets the data directory name.
Gets the data directory name
Definition at line 168 of file CRNConfig.cpp.
|
static |
Gets the top directory name.
Gets the top directory name
Definition at line 144 of file CRNConfig.cpp.
|
static |
Saves to user's local config.
Definition at line 127 of file CRNConfig.cpp.
|
static |
Sets the translation files path.
Sets the translation files path
[in] | dir | the new translation files directory |
Definition at line 160 of file CRNConfig.cpp.
|
static |
Sets the data directory name.
Sets the data directory name
[in] | dir | the new data files directory |
Definition at line 176 of file CRNConfig.cpp.
|
static |
Sets the top directory name.
Sets the top directory name
[in] | dir | the new top directory |
Definition at line 136 of file CRNConfig.cpp.