Code::Blocks
SVN r11506
|
#include <configmanager.h>
Static Public Member Functions | |
static ConfigManager * | GetConfigManager (const wxString &name_space) |
Static Public Member Functions inherited from Mgr< CfgMgrBldr > | |
static bool | Valid () |
static CfgMgrBldr * | Get () |
static void | Free () |
Protected Member Functions | |
CfgMgrBldr () | |
~CfgMgrBldr () override | |
Protected Member Functions inherited from Mgr< CfgMgrBldr > | |
Mgr () | |
virtual | ~Mgr () |
Private Member Functions | |
void | Flush () |
void | Close () |
void | SwitchTo (const wxString &absFN) |
void | SwitchToR (const wxString &absFN) |
ConfigManager * | Build (const wxString &name_space) |
wxString | FindConfigFile (const wxString &filename) |
wxString | DetermineExecutablePath () |
Private Attributes | |
NamespaceMap | namespaces |
TiXmlDocument * | doc |
TiXmlDocument * | volatile_doc |
wxCriticalSection | cs |
bool | r |
wxString | cfg |
Friends | |
class | ConfigManager |
class | Mgr< CfgMgrBldr > |
Definition at line 374 of file configmanager.h.
|
protected |
Definition at line 178 of file configmanager.cpp.
References _T, cfg, doc, FindConfigFile(), Manager::Get(), ConfigManager::GetConfigFolder(), wxString::IsEmpty(), ConfigManager::MigrateFolders(), wxString::StartsWith(), SwitchTo(), SwitchToR(), and CfgMgrConsts::version.
|
overrideprotected |
Definition at line 372 of file configmanager.cpp.
References Close(), namespaces, and volatile_doc.
|
private |
Definition at line 437 of file configmanager.cpp.
References _(), _T, cbC2U(), cbThrow, cbU2C(), ConfigManager, cs, doc, wxString::Format(), wxString::IsEmpty(), namespaces, wxString::StartsWith(), and volatile_doc.
Referenced by GetConfigManager().
|
private |
Definition at line 420 of file configmanager.cpp.
Referenced by ~CfgMgrBldr().
|
private |
Referenced by FindConfigFile().
Definition at line 206 of file configmanager.cpp.
References DetermineExecutablePath(), ConfigManager::GetUserDataFolder(), ConfigManager::has_alternate_user_data_path, ConfigManager::SetUserDataFolder(), wxEmptyString, and wxFileExists().
Referenced by CfgMgrBldr().
|
private |
Definition at line 383 of file configmanager.cpp.
References _(), _T, cfg, doc, F(), PlaceWindow(), AnnoyingDialog::rtONE, AnnoyingDialog::rtTWO, TinyXML::SaveDocument(), wxString::StartsWith(), AnnoyingDialog::TWO_BUTTONS, wxString::wx_str(), and wxART_ERROR.
Referenced by Close(), and ConfigManager::Flush().
|
static |
Definition at line 431 of file configmanager.cpp.
References Build(), and Mgr< CfgMgrBldr >::Get().
Referenced by Manager::GetConfigManager().
|
private |
Definition at line 254 of file configmanager.cpp.
References _(), _T, wxString::append(), cbMessageBox(), cbThrow, doc, wxString::Format(), ConfigManager::GetRevisionNumber(), handleConfigError(), TinyXML::LoadDocument(), wxString::mb_str(), wxString::Printf(), wxString::wx_str(), wxICON_WARNING, and wxT.
Referenced by CfgMgrBldr(), and SwitchToR().
|
private |
Definition at line 323 of file configmanager.cpp.
References _T, cbC2U(), cbU2C(), cfg, LogManager::DebugLog(), doc, wxString::Empty(), Manager::Get(), wxURL::GetError(), wxURL::GetInputStream(), Manager::GetLogManager(), ConfigManager::GetProxy(), wxString::GetWriteBuf(), wxURL::SetProxy(), SwitchTo(), wxString::UngetWriteBuf(), wxEmptyString, and wxURL_NOERR.
Referenced by CfgMgrBldr().
|
friend |
Definition at line 376 of file configmanager.h.
Referenced by Build().
|
friend |
Definition at line 377 of file configmanager.h.
|
private |
Definition at line 383 of file configmanager.h.
Referenced by CfgMgrBldr(), Flush(), and SwitchToR().
|
private |
Definition at line 381 of file configmanager.h.
Referenced by Build(), ConfigManager::Delete(), ConfigManager::DeleteAll(), and ConfigManager::Flush().
|
private |
Definition at line 379 of file configmanager.h.
Referenced by Build(), CfgMgrBldr(), Close(), Flush(), SwitchTo(), and SwitchToR().
|
private |
Definition at line 378 of file configmanager.h.
Referenced by Build(), ConfigManager::Delete(), ConfigManager::DeleteAll(), and ~CfgMgrBldr().
|
private |
Definition at line 382 of file configmanager.h.
|
private |
Definition at line 380 of file configmanager.h.
Referenced by Build(), and ~CfgMgrBldr().