]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ControlChanges.h
include sys/time.h
[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 #include "ControlDialog_impl.h"
16 #include "LString.h"
17
18 /**
19  * A controller for the merge changes dialog.
20  */
21 class ControlChanges : public ControlDialogBD {
22 public:
23         ControlChanges(LyXView &, Dialogs &);
24
25         /// find the next merge chunk and highlight it
26         void find();
27
28         /// return date of change
29         string const getChangeDate();
30
31         /// return author of change
32         string const getChangeAuthor();
33
34         /// accept the current merge
35         void accept();
36
37         /// reject the current merge
38         void reject();
39
40 private:
41         /// not needed.
42         virtual void apply() {}
43 };
44
45 #endif // CONTROLCHANGES_H