X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FMoof%2FSettings.hh;h=faad547c86f20820e91cbe80a1b5a88b87d32d49;hp=9c29007613f90d6b35a7c8500208581dae05a5a5;hb=a5f0d391406a68275b41448fc3f49e8d8396c497;hpb=4701bf580b75a7d77a460c6f14f9fc31fb109bbb diff --git a/src/Moof/Settings.hh b/src/Moof/Settings.hh index 9c29007..faad547 100644 --- a/src/Moof/Settings.hh +++ b/src/Moof/Settings.hh @@ -37,19 +37,21 @@ #include #include -#include #include namespace Mf { -class Settings : public Singleton +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);