3 * \file ControlChanges.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
10 * Full author contact details are available in file CREDITS.
13 #ifndef CONTROLCHANGES_H
14 #define CONTROLCHANGES_H
18 #include "support/docstring.h"
24 * A controller for the merge changes dialog.
26 class ControlChanges : public Dialog::Controller {
29 ControlChanges(Dialog &);
30 /// Nothing to initialise in this case.
31 virtual bool initialiseParams(std::string const &) { return true; }
33 virtual void clearParams() {}
35 virtual void dispatchParams() {}
37 virtual bool isBufferDependent() const { return true; }
38 /// always true since dispatchParams() is empty
39 virtual bool canApply() const { return true; }
41 /// find the next change and highlight it
44 /// return date of change
45 docstring const getChangeDate();
47 /// return author of change
48 docstring const getChangeAuthor();
50 /// accept the current change
53 /// reject the current change
57 } // namespace frontend
60 #endif // CONTROLCHANGES_H