]> git.lyx.org Git - lyx.git/blobdiff - src/Changes.h
This patch revert part of the code changed in revision 18825. This is needed because...
[lyx.git] / src / Changes.h
index b50c00e02cff2f61907f7b839d2b7fcd50f78f20..5305f55004ca6f52a075291aa9152203b8946f0d 100644 (file)
@@ -23,6 +23,7 @@
 
 namespace lyx {
 
+class AuthorList;
 
 class Change {
 public:
@@ -49,6 +50,8 @@ public:
 bool operator==(Change const & l, Change const & r);
 bool operator!=(Change const & l, Change const & r);
 
+class BufferParams;
+
 class Changes {
 public:
        /// set the pos to the given change
@@ -76,13 +79,16 @@ public:
 
        /// output latex to mark a transition between two change types
        /// returns length of text outputted
-       static int latexMarkChange(odocstream & os, Change::Type oldChangeType,
-               Change::Type changeType, bool const & output);
+       static int latexMarkChange(odocstream & os, BufferParams const & bparams,
+                                  Change const & oldChange, Change const & change);
 
        /// output .lyx file format for transitions between changes
        static void lyxMarkChange(std::ostream & os, int & column,
                Change const & old, Change const & change);
 
+       ///
+       void checkAuthors(AuthorList const & authorList);
+
 private:
        class Range {
        public: