]> git.lyx.org Git - lyx.git/blobdiff - src/Buffer.h
make index label translatable
[lyx.git] / src / Buffer.h
index 9d7d266bf6c100707687894ffb2e1bda81f2f755..7d18ab65e2870904b943a0f0750c0fbb137c75d9 100644 (file)
@@ -144,6 +144,8 @@ public:
        boost::signal<void()> changed;
        /// This signal is emitted when the buffer structure is changed.
        boost::signal<void()> structureChanged;
+       /// This signal is emitted when an embedded file is changed
+       boost::signal<void()> embeddingChanged;
        /// This signal is emitted when some parsing error shows up.
        boost::signal<void(std::string)> errors;
        /// This signal is emitted when some message shows up.
@@ -227,6 +229,9 @@ public:
        /// whether or not disk file has been externally modified
        bool isExternallyModified(CheckMethod method) const;
 
+       /// save timestamp and checksum of the given file.
+       void saveCheckSum(std::string const & file) const;
+
        /// mark the main lyx file as not needing saving
        void markClean() const;