Allow multiple configuration files in DCP-o-matic's directory.
[dcpomatic.git] / src / lib / config.h
index 049b3663c70b416f1144cc786301cceba0638bd5..806853083e7e47b6d90752b5b8bdbbebd5dd4e71 100644 (file)
@@ -458,11 +458,11 @@ public:
        static Config* instance ();
        static void drop ();
        static void restore_defaults ();
-       static bool have_existing ();
+       static bool have_existing (std::string);
 
 private:
        Config ();
-       static boost::filesystem::path file (bool create_directories = true);
+       static boost::filesystem::path path (std::string file, bool create_directories = true);
        void read ();
        void set_defaults ();
        void set_kdm_email_to_default ();