Lumiera  0.pre.03
»edit your freedom«
basic-setup.cpp File Reference

Go to the source code of this file.

Description

Implementation of self-configuration and bootstrap functionality.

This allows the application to "find its parts" at startup.

Note
as of 2016, BasicSetup::BasicSetup(string) also reads and evaluates a simple *.ini file to provide a preliminary mechanism for application configuration. This implementation is based on Boost program options
See also
searchpath.hpp

Definition in file basic-setup.cpp.

#include "common/basic-setup.hpp"
#include "lib/searchpath.hpp"
#include "lib/error.hpp"
#include "lib/util.hpp"
#include <unistd.h>
#include <boost/filesystem.hpp>
#include <fstream>

Functions

string resolve (fsys::path iniSpec)
 use the general mechanism for resolving a search path to get the absolute path of the setup.ini
 

Namespaces

 lumiera
 Lumiera public interface.