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
21 * A controller for the merge changes dialog.
23 class ControlChanges : public Dialog::Controller {
26 ControlChanges(Dialog &);
27 /// Nothing to initialise in this case.
28 virtual bool initialiseParams(std::string const &) { return true; }
30 virtual void clearParams() {}
32 virtual void dispatchParams() {}
34 virtual bool isBufferDependent() const { return true; }
35 /// always true since dispatchParams() is empty
36 virtual bool canApply() const { return true; }
38 /// find the next merge chunk and highlight it
41 /// return date of change
42 std::string const getChangeDate();
44 /// return author of change
45 std::string const getChangeAuthor();
47 /// accept the current merge
50 /// reject the current merge
54 } // namespace frontend
57 #endif // CONTROLCHANGES_H