Disable preferences menu if the config can't be written.
[dcpomatic.git] / src / lib / config.h
index bcc46f8fa4535e26e7e84d60d4622d19c99247e9..80bb48d32cfb3a15d68acfb786721fca71ba7143 100644 (file)
@@ -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;