- added another special variable (application path) that can be used for variable substituion in ini file values

This commit is contained in:
Mark Vejvoda
2011-03-10 19:19:14 +00:00
parent 3758a4ba92
commit ae97a1306c
4 changed files with 12 additions and 0 deletions

View File

@@ -43,9 +43,13 @@ private:
PropertyVector propertyVector;
PropertyMap propertyMap;
string path;
static string applicationPath;
bool applyTagsToValue(string &value);
public:
static void setApplicationPath(string value) { applicationPath=value; }
static string getApplicationPath() { return applicationPath; }
void clear();
void load(const string &path);
void save(const string &path);