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.
16 #include "GuiDialog.h"
17 #include "ui_ChangesUi.h"
18 #include "support/docstring.h"
24 class GuiChanges : public GuiDialog, public Ui::ChangesUi, public Controller
29 GuiChanges(LyXView & lv);
32 /// accept the current change
34 /// reject the current change
36 /// find the next change and highlight it
40 void closeEvent(QCloseEvent * e);
41 Controller & controller() { return *this; }
42 void updateContents();
44 /// Nothing to initialise in this case.
45 bool initialiseParams(std::string const &) { return true; }
49 void dispatchParams() {}
51 bool isBufferDependent() const { return true; }
52 /// always true since dispatchParams() is empty
53 bool canApply() const { return true; }
55 /// return date of change
56 docstring changeDate() const;
57 /// return author of change
58 docstring changeAuthor() const;
61 } // namespace frontend
64 #endif // GUICHANGES_H