3 * \file ControlChanges.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS.
12 #ifndef CONTROLCHANGES_H
13 #define CONTROLCHANGES_H
17 #include "support/docstring.h"
23 * A controller for the merge changes dialog.
25 class ControlChanges : public Dialog::Controller {
28 ControlChanges(Dialog &);
29 /// Nothing to initialise in this case.
30 virtual bool initialiseParams(std::string const &) { return true; }
32 virtual void clearParams() {}
34 virtual void dispatchParams() {}
36 virtual bool isBufferDependent() const { return true; }
37 /// always true since dispatchParams() is empty
38 virtual bool canApply() const { return true; }
40 /// find the next merge chunk and highlight it
43 /// Are there changes to be merged at current location?
46 /// return date of change
47 lyx::docstring const getChangeDate();
49 /// return author of change
50 lyx::docstring const getChangeAuthor();
52 /// accept the current merge
55 /// reject the current merge
59 } // namespace frontend
62 #endif // CONTROLCHANGES_H