]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormToc.h
doxygen fixes
[lyx.git] / src / frontends / xforms / FormToc.h
1 // -*- C++ -*-
2 /**
3  * \file xforms/FormToc.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 FORMTOC_H
11 #define FORMTOC_H
12
13 #ifdef __GNUG__
14 #pragma interface
15 #endif
16
17 #include "FormBase.h"
18 #include "buffer.h"
19
20 class ControlToc;
21 struct FD_form_toc;
22
23 /** This class provides an XForms implementation of the FormToc Dialog.
24  */
25 class FormToc : public FormCB<ControlToc, FormDB<FD_form_toc> > {
26 public:
27         ///
28         FormToc(ControlToc &);
29 private:
30         /// not needed
31         virtual void apply() {}
32         /// Build the dialog
33         virtual void build();
34         /// Update dialog before showing it
35         virtual void update();
36         /// Filter the inputs on callback from xforms
37         virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
38
39         ///
40         void updateType();
41         ///
42         void updateContents();
43
44         /// Fdesign generated method
45         FD_form_toc * build_toc();
46
47         ///
48         Buffer::SingleList toclist_;
49 };
50
51 #endif // FORMTOC_H