]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormBranch.h
Wrap most of the frontend code up inside namespace lyx::frontend.
[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 #include "FormDialogView.h"
16
17 namespace lyx {
18 namespace frontend {
19
20 class ControlBranch;
21 struct FD_branch;
22
23 /** This class provides an XForms implementation of the Branch Dialog.
24  */
25 class FormBranch : public FormController<ControlBranch, FormView<FD_branch> > {
26 public:
27         /// Constructor
28         FormBranch(Dialog &);
29 private:
30         ///
31         virtual void apply();
32         /// Build the dialog
33         virtual void build();
34         /// Update dialog before showing it
35         virtual void update();
36 };
37
38 } // namespace frontend
39 } // namespace lyx
40
41 #endif // FORMBRANCH_H