]> git.lyx.org Git - lyx.git/blobdiff - src/Buffer.h
rename assert.h to lassert.h
[lyx.git] / src / Buffer.h
index 68f80cc82eea33a491394aada325fec6e39692fa..95d1386866874f118628f1d95f768a6b93072600 100644 (file)
@@ -24,8 +24,8 @@
 
 namespace lyx {
 
+class BiblioInfo;
 class BufferParams;
-class EmbeddedFileList;
 class DocIterator;
 class ErrorItem;
 class ErrorList;
@@ -61,6 +61,7 @@ class WorkAreaManager;
 
 namespace support {
 class FileName;
+class FileNameList;
 }
 
 /** The buffer object.
@@ -307,7 +308,12 @@ public:
        void updateBibfilesCache() const;
        /// Return the cache with all bibfiles in use (including bibfiles
        /// of loaded child documents).
-       EmbeddedFileList const & getBibfilesCache() const;
+       support::FileNameList const & getBibfilesCache() const;
+       /// \return the bibliography information for this buffer's master,
+       /// or just for it, if it isn't a child.
+       BiblioInfo const & masterBibInfo() const;
+       /// \return the bibliography information for this buffer ONLY.
+       BiblioInfo const & localBibInfo() const;
        ///
        void getLabelList(std::vector<docstring> &) const;
 
@@ -403,15 +409,10 @@ public:
        /// method is const because modifying this backend does not touch
        /// the document contents.
        TocBackend & tocBackend() const;
-       
-       //@{
-       EmbeddedFileList & embeddedFiles();
-       EmbeddedFileList const & embeddedFiles() const;
-       bool embedded() const;
-       //@}
 
+       ///
        Undo & undo();
-       
+
        /// This function is called when the buffer is changed.
        void changed() const;
        /// This function is called when the buffer structure is changed.