Add config location versioning (#2090).
[dcpomatic.git] / src / lib / state.h
index f1ed775a2b2df00a8b1ef3445e1a329dbf5f18e9..9338aae0c2cdff64f769ff179cebd56c452f0f0b 100644 (file)
@@ -40,7 +40,8 @@ public:
 
        /** If set, this overrides the standard path (in home, Library, AppData or wherever) for config.xml, cinemas.xml etc. */
        static boost::optional<boost::filesystem::path> override_path;
-       static boost::filesystem::path path (std::string file, bool create_directories = true);
+       static boost::filesystem::path read_path (std::string file);
+       static boost::filesystem::path write_path (std::string file);
 };