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 /// Are there changes to be merged at current location?
44 /// return date of change
45 std::string const getChangeDate();
47 /// return author of change
48 std::string const getChangeAuthor();
50 /// accept the current merge
53 /// reject the current merge
57 } // namespace frontend
60 #endif // CONTROLCHANGES_H