summaryrefslogtreecommitdiff
path: root/src/lib/state.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-09-27 11:55:27 +0200
committerCarl Hetherington <cth@carlh.net>2021-09-27 11:55:27 +0200
commit6e3e984162ca7a181bc7c98d90c295e88e4e7f6c (patch)
treef514e6618e9012c307188a11a9d2a2ade2e04d19 /src/lib/state.h
parenta3d4dfb4357a265d4c3a4bfafe7d17a8ecc72f66 (diff)
parent0771af91ad52ed2e25ab89410eb6e783b50f7329 (diff)
Merge branch 'own-config' into v2.15.x
This makes 2.15.x copy the 2.14.x configuration so you can run 2.14.x again afterwards without recreating everything.
Diffstat (limited to 'src/lib/state.h')
-rw-r--r--src/lib/state.h3
1 files changed, 2 insertions, 1 deletions
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<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);
};