]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ControlChanges.h
reverse last change
[lyx.git] / src / frontends / controllers / ControlChanges.h
1 // -*- C++ -*-
2 /**
3  * \file ControlChanges.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author John Levon
8  *
9  * Full author contact details are available in file CREDITS
10  */
11  
12 #ifndef CONTROLCHANGES_H
13 #define CONTROLCHANGES_H
14
15 #ifdef __GNUG__
16 #pragma interface
17 #endif
18
19 #include "ControlDialog_impl.h"
20 #include "LString.h"
21
22 /**
23  * A controller for the merge changes dialog.
24  */
25 class ControlChanges : public ControlDialogBD {
26 public:
27         ControlChanges(LyXView &, Dialogs &);
28
29         /// find the next merge chunk and highlight it
30         void find();
31
32         /// return date of change
33         string const getChangeDate();
34
35         /// return author of change
36         string const getChangeAuthor();
37  
38         /// accept the current merge
39         void accept();
40
41         /// reject the current merge
42         void reject();
43
44 private:
45         /// not needed.
46         virtual void apply() {}
47 };
48
49 #endif // CONTROLCHANGES_H