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.
/// 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;
TocBackend & tocBackend();
TocBackend const & tocBackend() const;
//@}
+
+ //@{
+ EmbeddedFiles & embeddedFiles();
+ EmbeddedFiles const & embeddedFiles() const;
+ //@}
private:
/** Inserts a file into a document