#ifndef CHANGES_H
#define CHANGES_H
-#include "support/docstream.h"
+#include "support/strfwd.h"
+#include "support/types.h"
#include "support/lyxtime.h"
#include <vector>
namespace lyx {
+class AuthorList;
class Change {
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
/// 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: