DataManager Updates

The goal of this change is to make DataManager use InfoManager to reduce
code duplication.

Change-Id: Ia4f4c4324453a192995e0f442db0a03628c13e46
diff --git a/infomanager.hpp b/infomanager.hpp
index de8aef4..4ce67aa 100644
--- a/infomanager.hpp
+++ b/infomanager.hpp
@@ -28,29 +28,36 @@
 class InfoManager
 {
 public:
-	InfoManager(const string filename);
+	InfoManager();
+	explicit InfoManager(const string& filename);
 	virtual ~InfoManager();
+	void SetFile(const string& filename);
+	void SetFileVersion(int version);
+	void SetConst();
+	void Clear();
 	int LoadValues();
 	int SaveValues();
 
 	// Core get routines
-	int GetValue(const string varName, string& value);
-	int GetValue(const string varName, int& value);
-	int GetValue(const string varName, float& value);
-	unsigned long long GetValue(const string varName, unsigned long long& value);
+	int GetValue(const string& varName, string& value);
+	int GetValue(const string& varName, int& value);
+	int GetValue(const string& varName, float& value);
+	unsigned long long GetValue(const string& varName, unsigned long long& value);
 
-	string GetStrValue(const string varName);
-	int GetIntValue(const string varName);
+	string GetStrValue(const string& varName);
+	int GetIntValue(const string& varName);
 
 	// Core set routines
-	int SetValue(const string varName, string value);
-	int SetValue(const string varName, int value);
-	int SetValue(const string varName, float value);
-	int SetValue(const string varName, unsigned long long value);
+	int SetValue(const string& varName, const string& value);
+	int SetValue(const string& varName, const int value);
+	int SetValue(const string& varName, const float value);
+	int SetValue(const string& varName, const unsigned long long& value);
 
 private:
 	string File;
 	map<string, string> mValues;
+	int file_version;
+	bool is_const;
 
 };