]> git.lyx.org Git - lyx.git/blobdiff - src/bufferparams.h
don't rm emergency saves ever
[lyx.git] / src / bufferparams.h
index 8fc163effff93ca73603892478894244a802bceb..cc81d5f8164a78655763d295efee694c0fe365eb 100644 (file)
 #include "lyxtextclass.h"
 #include "LaTeXFeatures.h"
 #include "texrow.h"
+#include "author.h"
 
 #include "insets/insetquotes.h"
 
 #include <boost/array.hpp>
+#include <vector>
 
 class LyXLex;
 class LatexFeatures;
@@ -108,6 +110,9 @@ public:
        ///
        BufferParams();
 
+       /// read a header token, if unrecognised, return it or an unknown class name
+       string const readToken(LyXLex & lex, string const & token);
+
        ///
        void writeFile(std::ostream &) const;
 
@@ -227,7 +232,14 @@ public:
        bool tracking_changes;
        /// Time ago we agreed that this was a buffer property [ale990407]
        string parentname;
+
+       /// map of the file's author IDs to buffer author IDs
+       std::vector<int> author_map;
+
 private:
+       /// the author list
+       AuthorList authorlist;
+
        ///
        friend class Buffer;
        /** This is the amount of space used for paragraph_separation "skip",