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
29 GuiChanges(GuiView & lv);
32 /// accept the current change
34 /// reject the current change
36 /// find the next change and highlight it
38 /// find the previous change and highlight it
39 void previousChange();
43 void updateContents();
45 /// Nothing to initialise in this case.
46 bool initialiseParams(std::string const &) { return true; }
50 void dispatchParams() {}
52 bool isBufferDependent() const { return true; }
53 /// always true since dispatchParams() is empty
54 bool canApply() const { return true; }
56 /// return date of change
57 docstring changeDate() const;
58 /// return author of change
59 docstring changeAuthor() const;
62 } // namespace frontend
65 #endif // GUICHANGES_H