Lumiera  0.pre.03
»edityourfreedom«
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Config Class Reference

#include "include/config-facade.h"

Description

C++ wrapper for convenient access to the Lumiera config system.

Warning
Config system not fully implemented yet. Thus for now this facade is wired with the setup.ini and will just fetch the values from there.

Definition at line 73 of file config-facade.h.

Static Public Member Functions

static string get (lib::Literal key)
 

Static Public Attributes

static lib::Depend< Configinstance
 storage and setup for the single system-wide config facade instance More...
 

Friends

class lib::DependencyFactory< Config >
 

Private Member Functions

 Config ()
 
 ~Config ()
 

Constructor & Destructor Documentation

Config ( )
private

Definition at line 97 of file configfacade.cpp.

References util::cStr(), AppState::instance, KEY_CONFIG_PATH, lumiera_config_init(), and TRACE().

+ Here is the call graph for this function:

~Config ( )
private

Definition at line 105 of file configfacade.cpp.

References lumiera_config_destroy(), and TRACE().

+ Here is the call graph for this function:

Member Function Documentation

string get ( lib::Literal  key)
static
Note
because the full-blown Config system isn't implemented yet we retrieve the contents of setup.ini as a preliminary solution

Definition at line 117 of file configfacade.cpp.

References AppState::instance, and util::isnil().

Referenced by WorkspaceWindow::createUI(), Appconfig_test::fetchSetupValue(), WrappedStandardExeBuilder::invokeOriginalBuilder(), Wizard::show_HelpAbout(), and StyleManager::StyleManager().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

lib::Depend< Config > instance
static

storage and setup for the single system-wide config facade instance

Definition at line 78 of file config-facade.h.

Friends And Related Function Documentation

friend class lib::DependencyFactory< Config >
friend

Definition at line 84 of file config-facade.h.

+ Collaboration diagram for Config:

The documentation for this class was generated from the following files: