X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fstate.h;h=9338aae0c2cdff64f769ff179cebd56c452f0f0b;hb=ccacce39c39d16977ab6c1592fcb6e941b05ddff;hp=f1ed775a2b2df00a8b1ef3445e1a329dbf5f18e9;hpb=33e13c4053138930f4b2f59349e441c76111059d;p=dcpomatic.git diff --git a/src/lib/state.h b/src/lib/state.h index f1ed775a2..9338aae0c 100644 --- a/src/lib/state.h +++ b/src/lib/state.h @@ -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 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); };