#include <map>
#include <string>
-#include <Moof/Singleton.hh>
#include <Moof/Serializable.hh>
namespace Mf {
-class Settings : public Singleton<Settings>
+class Settings
{
public:
Settings() {}
Settings(int argc, char* argv[]);
+ // get global instance
+ static Settings& getInstance();
+
void parseArgs(int argc, char* argv[]);
void loadFromFile(const std::string& filePath, bool precedence = false);