]> git.lyx.org Git - lyx.git/blobdiff - src/Buffer.h
cut down pch.h to more frequently needed headers
[lyx.git] / src / Buffer.h
index 450622043ee0ab6a052026cb1dd2d7329785f99b..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;
 
@@ -396,6 +401,11 @@ public:
        TocBackend & tocBackend();
        TocBackend const & tocBackend() const;
        //@}
+       
+       //@{
+       EmbeddedFiles & embeddedFiles();
+       EmbeddedFiles const & embeddedFiles() const;
+       //@}
 
 private:
        /** Inserts a file into a document