Scanframe Modular Application 0.1.0
Loading...
Searching...
No Matches
ConfigLocation.h File Reference
#include <misc/gen/TClosure.h>
#include <misc/global.h>
#include <string>
Include dependency graph for ConfigLocation.h:

Go to the source code of this file.

Namespaces

namespace  sf
 

Typedefs

typedef TClosure< std::string, const std::string & > sf::ConfigLocationClosure
 Type of the callback function.
 

Functions

_MISC_FUNC void sf::setConfigLocationHandler (const ConfigLocationClosure &handler={})
 Sets the callback function for the getConfigLocation() function.
 
_MISC_FUNC std::string sf::getConfigLocation (const std::string &option={}, bool separator=false)
 Gets the configuration location/directory of the application.