Code::Blocks
SVN r11506
|
#include <wx/hashmap.h>
#include <wx/hashset.h>
#include "settings.h"
#include "globals.h"
#include <tinyxml.h>
#include "manager.h"
#include "base64.h"
#include <map>
#include <set>
Go to the source code of this file.
Classes | |
class | ISerializable |
class | ConfigManager |
class | ConfigManagerWrapper |
Wrapper class for reading or writing config values, without the need for the full path. More... | |
class | CfgMgrBldr |
Namespaces | |
ConfigManagerContainer | |
Typedefs | |
typedef std::map< wxString, wxString > | ConfigManagerContainer::StringToStringMap |
typedef std::map< int, wxString > | ConfigManagerContainer::IntToStringMap |
typedef std::set< wxString > | ConfigManagerContainer::StringSet |
typedef std::map< wxString, ISerializable * > | ConfigManagerContainer::SerializableObjectMap |
Enumerations | |
enum | SearchDirs { sdHome = 0x0001, sdBase = 0x0002, sdTemp = 0x0004, sdPath = 0x0008, sdConfig = 0x0010, sdCurrent = 0x0020, sdPluginsUser = 0x0100, sdScriptsUser = 0x0200, sdDataUser = 0x0400, sdAllUser = 0x0f00, sdPluginsGlobal = 0x1000, sdScriptsGlobal = 0x2000, sdDataGlobal = 0x4000, sdAllGlobal = 0xf000, sdAllKnown = 0xffff } |
Search dirs values. More... | |
Functions | |
DLLIMPORT wxArrayString | cbReadBatchBuildPlugins () |
Read the list of batch build plugins and return them. More... | |
DLLIMPORT void | cbWriteBatchBuildPlugins (wxArrayString bbplugins, wxWindow *messageBoxParent) |
Write the list of batch build plugins in the config. More... | |
WX_DECLARE_STRING_HASH_MAP (ConfigManager *, NamespaceMap) | |
enum SearchDirs |
Search dirs values.
Used as a bitmask in ConfigManager::LocateDataFile() and friends.
Definition at line 64 of file configmanager.h.
DLLIMPORT wxArrayString cbReadBatchBuildPlugins | ( | ) |
Read the list of batch build plugins and return them.
The list won't be empty; at least the compiler plugin will be added to the to it. The list contain the library names of the plugins and differs on every OS.
Definition at line 1772 of file configmanager.cpp.
References _T, wxArrayString::Add(), Manager::Get(), getCompilerPluginFilename(), Manager::GetConfigManager(), wxArrayString::GetCount(), and ConfigManager::ReadArrayString().
Referenced by CompilerSettingsDlg::CompilerSettingsDlg(), and PluginManager::ScanForPlugins().
DLLIMPORT void cbWriteBatchBuildPlugins | ( | wxArrayString | bbplugins, |
wxWindow * | messageBoxParent | ||
) |
Write the list of batch build plugins in the config.
bbpluigns | List of library plugin names. |
messageBoxParent | Set as a parent to the message box that will be shown in case of errors. |
Definition at line 1783 of file configmanager.cpp.
References _(), _T, wxArrayString::Add(), cbMessageBox(), Manager::Get(), getCompilerPluginFilename(), Manager::GetConfigManager(), wxArrayString::Index(), ConfigManager::Write(), wxICON_WARNING, and wxNOT_FOUND.
Referenced by CompilerSettingsDlg::EndModal().
WX_DECLARE_STRING_HASH_MAP | ( | ConfigManager * | , |
NamespaceMap | |||
) |