summaryrefslogtreecommitdiff
path: root/src/lib/state.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-09-26 00:09:04 +0200
committerCarl Hetherington <cth@carlh.net>2021-09-27 11:32:49 +0200
commitccacce39c39d16977ab6c1592fcb6e941b05ddff (patch)
tree47c348ad4841efd64936b01db2a49eead46f67c8 /src/lib/state.h
parent18cb0e914922cd76e9c205e88962816970b5c0cb (diff)
Add config location versioning (#2090).
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);
};