]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormChanges.h
get rid of broken_header.h and some unneeded tests
[lyx.git] / src / frontends / xforms / FormChanges.h
1 // -*- C++ -*-
2 /**
3  * \file FormChanges.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 FORMCHANGES_H
13 #define FORMCHANGES_H
14
15 #include "FormDialogView.h"
16
17 namespace lyx {
18 namespace frontend {
19
20 class ControlChanges;
21 struct FD_changes;
22
23 /**
24  * This class provides an XForms implementation of the Merge Changes Dialog.
25  */
26 class FormChanges
27         : public FormController<ControlChanges, FormView<FD_changes> > {
28 public:
29         FormChanges(Dialog &);
30
31 private:
32         /// not needed.
33         virtual void apply() {}
34         /// Build the dialog
35         virtual void build();
36         /// update the dialog
37         virtual void update();
38
39         /// Filter the inputs
40         virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
41 };
42
43 } // namespace frontend
44 } // namespace lyx
45
46 #endif // FORMCHANGES_H