Be more careful with fread in various places.
[dcpomatic.git] / src / lib / file_log.h
index bd6a7bf6a4e49288d9c6883af1e78c8d440bf9d2..83f3696095cd7d48cf8529c3bbf9c52f2b59e6cf 100644 (file)
 class FileLog : public Log
 {
 public:
-       FileLog (boost::filesystem::path file);
+       explicit FileLog (boost::filesystem::path file);
 
        std::string head_and_tail (int amount = 1024) const;
 
 private:
        void do_log (boost::shared_ptr<const LogEntry> entry);
+       void config_changed ();
+
        /** filename to write to */
        boost::filesystem::path _file;
+       boost::signals2::scoped_connection _config_connection;
 };