- added support for special tags in ini file strings in preparation for storing userdata in ~/.megaglest

This commit is contained in:
Mark Vejvoda
2011-03-10 01:23:34 +00:00
parent 63da3d7af2
commit 2101a83a5d
5 changed files with 82 additions and 18 deletions

View File

@@ -32,7 +32,7 @@ namespace Shared{ namespace Util{
class Properties{
private:
static const int maxLine= 1024;
static const int maxLine= 4096;
public:
typedef pair<string, string> PropertyPair;
@@ -44,6 +44,7 @@ private:
PropertyMap propertyMap;
string path;
bool applyTagsToValue(string &value);
public:
void clear();
void load(const string &path);