Public Types | Public Member Functions | Static Public Member Functions
openfluid::guicommon::PreferencesManager Class Reference

List of all members.

Public Types

typedef std::map< std::string,
std::string > 
MarketPlaces_t

Public Member Functions

 ~PreferencesManager ()
bool save ()
std::string getFileName ()
bool isValidKey (std::string Group, std::string Key)
void setLang (Glib::ustring Lang)
Glib::ustring getLang ()
void setRecentMax (unsigned int RecentMax)
int getRecentMax ()
bool addRecentProject (std::string ProjectPath, std::string ProjectName="")
void clearRecentProjects ()
std::vector< std::pair
< std::string, std::string > > 
getRecentProjects ()
void setWorkdir (Glib::ustring Workdir)
Glib::ustring getWorkdir ()
void setExtraPlugPaths (std::vector< Glib::ustring > ExtraPlugPaths)
void addExtraPlugPath (Glib::ustring Path)
void removeExtraPlugPath (Glib::ustring Path)
std::vector< std::string > getExtraPlugPaths ()
void setExtraExtensionPaths (std::vector< Glib::ustring > ExtraExtPaths)
void addExtraExtensionPath (Glib::ustring Path)
void removeExtraExtensionPath (Glib::ustring Path)
std::vector< std::string > getExtraExtensionPaths ()
void setDeltaT (unsigned int DeltaT)
int getDeltaT ()
void setBegin (std::string Begin)
std::string getBegin ()
void setEnd (std::string End)
std::string getEnd ()
void setOutFilesBufferInKB (unsigned int Buffer)
int getOutFilesBufferInKB ()
bool addMarketplace (Glib::ustring PlaceName, Glib::ustring PlaceUrl)
void removeMarketplace (Glib::ustring PlaceName)
MarketPlaces_t getMarketplaces ()
bool isPluginValueExist (std::string PluginName, std::string Key)
std::string getPluginValue (std::string PluginName, std::string Key)
void setPluginValue (std::string PluginName, std::string Key, std::string Value)

Static Public Member Functions

static PreferencesManagergetInstance ()
static void setFileName (Glib::ustring AbsoluteFileName)

Member Typedef Documentation

typedef std::map<std::string, std::string> openfluid::guicommon::PreferencesManager::MarketPlaces_t

Constructor & Destructor Documentation


Member Function Documentation

bool openfluid::guicommon::PreferencesManager::addMarketplace ( Glib::ustring  PlaceName,
Glib::ustring  PlaceUrl 
)
bool openfluid::guicommon::PreferencesManager::addRecentProject ( std::string  ProjectPath,
std::string  ProjectName = "" 
)
std::string openfluid::guicommon::PreferencesManager::getPluginValue ( std::string  PluginName,
std::string  Key 
)
std::vector<std::pair<std::string, std::string> > openfluid::guicommon::PreferencesManager::getRecentProjects ( )
bool openfluid::guicommon::PreferencesManager::isPluginValueExist ( std::string  PluginName,
std::string  Key 
)
bool openfluid::guicommon::PreferencesManager::isValidKey ( std::string  Group,
std::string  Key 
)
void openfluid::guicommon::PreferencesManager::setExtraExtensionPaths ( std::vector< Glib::ustring >  ExtraExtPaths)
void openfluid::guicommon::PreferencesManager::setExtraPlugPaths ( std::vector< Glib::ustring >  ExtraPlugPaths)
static void openfluid::guicommon::PreferencesManager::setFileName ( Glib::ustring  AbsoluteFileName) [static]
void openfluid::guicommon::PreferencesManager::setPluginValue ( std::string  PluginName,
std::string  Key,
std::string  Value 
)

Generated using Doxygen 1.7.6.1
Creative Commons License Creative Commons By-NC-ND license