]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormBranch.h
The 'Branches' mega-patch.
[lyx.git] / src / frontends / xforms / FormBranch.h
1 // -*- C++ -*-
2 /**
3  * \file FormBranch.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Martin Vermeer
8  *
9  * Full author contact details are available in file CREDITS
10  */
11
12 #ifndef FORMBRANCH_H
13 #define FORMBRANCH_H
14
15
16 #include "FormDialogView.h"
17
18
19 class ControlBranch;
20 struct FD_branch;
21
22 /** This class provides an XForms implementation of the Branch Dialog.
23  */
24 class FormBranch : public FormController<ControlBranch, FormView<FD_branch> > {
25 public:
26         /// Constructor
27         FormBranch(Dialog &);
28 private:
29         /// 
30         virtual void apply();
31         /// Build the dialog
32         virtual void build();
33         /// Update dialog before showing it
34         virtual void update();
35 };
36
37 #endif // FORMBRANCH_H