]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormRef.h
doxygen fixes
[lyx.git] / src / frontends / xforms / FormRef.h
1 // -*- C++ -*-
2 /**
3  * \file xforms/FormRef.h
4  * Copyright 2000-2001 the LyX Team
5  * Read the file COPYING
6  *
7  * \author Angus Leeming, a.leeming@ic.ac.uk
8  */
9
10 #ifndef FORMREF_H
11 #define FORMREF_H
12
13 #ifdef __GNUG__
14 #pragma interface
15 #endif
16
17 #include "FormBase.h"
18
19 class ControlRef;
20 struct FD_form_ref;
21
22 /** This class provides an XForms implementation of the FormRef Dialog.
23  */
24 class FormRef : public FormCB<ControlRef, FormDB<FD_form_ref> > {
25 public:
26         ///
27         FormRef(ControlRef &);
28
29 private:
30         /// Set the Params variable for the Controller.
31         virtual void apply();
32         /// Build the dialog
33         virtual void build();
34         /// Filter the inputs on callback from xforms
35         virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
36         /// Update dialog before showing it
37         virtual void update();
38
39         ///
40         void updateBrowser(std::vector<string> const &) const;
41
42         /// Fdesign generated method
43         FD_form_ref * build_ref();
44
45         ///
46         bool at_ref_;
47         /// 
48         std::vector<string> refs_;
49 };
50
51 #endif // FORMREF_H