dlugolecki.net.pl
Dziennik
Polecane
Software
projects
/
vlp.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Experimental usage.
[vlp.git]
/
src
/
global
/
AppConfiguration.h
1
#include <libconfig.h>
2
3
/**
4
* Class for maintaining application configuration.
5
*/
6
class AppConfiguration {
7
protected:
8
config_t cfg;
9
public:
10
AppConfiguration(const char * fname);
11
int getInt(const char * path);
12
const char * getString(const char * path);
13
int error();
14
void release();
15
};