summaryrefslogtreecommitdiffstats
path: root/src/common/profile.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/profile.h')
-rw-r--r--src/common/profile.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/common/profile.h b/src/common/profile.h
index 7a23d94..ed948ff 100644
--- a/src/common/profile.h
+++ b/src/common/profile.h
@@ -21,7 +21,7 @@
#pragma once
-#include "lib/simpleini/SimpleIni.h"
+#include <boost/property_tree/ptree.hpp>
#include "common/singleton.h"
@@ -102,7 +102,8 @@ class CProfile : public CSingleton<CProfile>
std::vector< std::string > GetLocalProfileSection(std::string section, std::string key);
private:
- CSimpleIniA *m_ini;
+ boost::property_tree::ptree m_propertyTree;
+ bool m_profileNeedSave;
};
//! Global function to get profile instance