]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormChanges.h
The big change tracking patch. Changes from posted version :
[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 #ifdef __GNUG__
16 #pragma interface
17 #endif
18
19 #include "FormBase.h"
20
21 class ControlChanges;
22 struct FD_changes;
23
24 /**
25  * This class provides an XForms implementation of the Merge Changes Dialog.
26  */
27 class FormChanges : public FormCB<ControlChanges, FormDB<FD_changes> > {
28 public:
29         FormChanges();
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 #endif // FORMCHANGES_H