]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormChanges.h
Introduce LFUN_PRINT.
[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 class ControlChanges;
18 struct FD_changes;
19
20 /**
21  * This class provides an XForms implementation of the Merge Changes Dialog.
22  */
23 class FormChanges
24         : public FormController<ControlChanges, FormView<FD_changes> > {
25 public:
26         FormChanges(Dialog &);
27
28 private:
29         /// not needed.
30         virtual void apply() {}
31         /// Build the dialog
32         virtual void build();
33         /// update the dialog
34         virtual void update();
35
36         /// Filter the inputs
37         virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
38 };
39
40 #endif // FORMCHANGES_H