Lumiera 0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
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 64 of file config-facade.h.

Static Public Attributes

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

Static Public Member Functions

static string get (lib::Literal key)
 

Friends

class lib::DependencyFactory< Config >
 

Private Member Functions

 Config ()
 
 ~Config ()
 

Constructor & Destructor Documentation

◆ Config()

Config ( )
private

Definition at line 89 of file configfacade.cpp.

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

+ Here is the call graph for this function:

◆ ~Config()

~Config ( )
private

Definition at line 97 of file configfacade.cpp.

References lumiera_config_destroy().

+ Here is the call graph for this function:

Member Function Documentation

◆ get()

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 109 of file configfacade.cpp.

References AppState::instance.

Referenced by UiStyle::UiStyle(), WorkspaceWindow::createUI(), Appconfig_test::fetchSetupValue(), WrappedStandardExeBuilder::invokeOriginalBuilder(), and lumiera_get_plugin_path_default().

+ Here is the caller graph for this function:

Member Data Documentation

◆ instance

lib::Depend< Config > instance
static

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

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

Referenced by lumiera::anonymous_namespace{configfacade.cpp}::pull_up_ConfigSystem().

Friends And Related Symbol Documentation

◆ lib::DependencyFactory< Config >

friend class lib::DependencyFactory< Config >
friend

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

+ Collaboration diagram for Config:

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