X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fstate.h;h=35a93f52d5d30239eca39b8de24e378f99911870;hb=f62398d081db17afd1816bfc8312afb386f22e78;hp=b60c6667379104f3215f1a56ee6a49435c5508b0;hpb=985e727e001e1a92ae035364a9cbf1ff99522ff1;p=dcpomatic.git diff --git a/src/lib/state.h b/src/lib/state.h index b60c66673..35a93f52d 100644 --- a/src/lib/state.h +++ b/src/lib/state.h @@ -18,6 +18,9 @@ */ +#ifndef DCPOMATIC_STATE_H +#define DCPOMATIC_STATE_H + #include #include #include @@ -31,7 +34,7 @@ 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; - -protected: static boost::filesystem::path path (std::string file, bool create_directories = true); }; + +#endif