X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fbuffer.h;h=5f603a41e5acb86e5e24a04e5cfff274d36c2ee7;hb=1583baeb34c3b5f1cd1c239cf8471132fd5c406a;hp=e3fc7d69a6aaf80cb00b84badc41ed56dfdc37f4;hpb=ae87b945156585b080ed155919f64b80e48d7a04;p=lyx.git diff --git a/src/buffer.h b/src/buffer.h index e3fc7d69a6..5f603a41e5 100644 --- a/src/buffer.h +++ b/src/buffer.h @@ -13,10 +13,6 @@ #ifndef BUFFER_H #define BUFFER_H -#ifdef __GNUG__ -#pragma interface -#endif - #include "LString.h" #include "undo.h" #include "support/limited_stack.h" @@ -39,16 +35,6 @@ class ParIterator; class ParConstIterator; -/// -struct DEPCLEAN { - /// - bool clean; - /// - string master; - /// - DEPCLEAN * next; -}; - /** The buffer object. This is the buffer object. It contains all the informations about a document loaded into LyX. I am not sure if the class is complete or @@ -261,8 +247,8 @@ public: */ void validate(LaTeXFeatures &) const; - /// - std::vector > const getBibkeyList() const; + /// return all bibkeys from buffer and its childs + void fillWithBibKeys(std::vector > & keys) const; /// std::vector const getLabelList() const; @@ -308,6 +294,11 @@ public: AuthorList & authors(); private: + typedef std::map DepClean; + + /// need to regenerate .tex ? + DepClean dep_clean_; + /// the author list AuthorList authorlist; @@ -320,9 +311,6 @@ private: /// is this a unnamed file (New...) bool unnamed; - /// is regenerating #.tex# necessary - DEPCLEAN * dep_clean; - /// buffer is r/o bool read_only;