summaryrefslogtreecommitdiff
path: root/src/lib/config.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-09-27 15:26:05 +0100
committerCarl Hetherington <cth@carlh.net>2018-09-27 15:26:05 +0100
commit1f1661f36ffd7a5662847f0642c7a7ebdcadc0f0 (patch)
treee08493b2dd48d4f687ab6f16e129782147590640 /src/lib/config.h
parent464801a7b386f93be65cdfc60c3807cb5365467e (diff)
Disable preferences menu if the config can't be written.
Diffstat (limited to 'src/lib/config.h')
-rw-r--r--src/lib/config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/config.h b/src/lib/config.h
index bcc46f8fa..80bb48d32 100644
--- a/src/lib/config.h
+++ b/src/lib/config.h
@@ -1002,6 +1002,7 @@ public:
void write_cinemas () const;
void link (boost::filesystem::path new_file) const;
void copy_and_link (boost::filesystem::path new_file) const;
+ bool have_write_permission () const;
void save_template (boost::shared_ptr<const Film> film, std::string name) const;
bool existing_template (std::string name) const;