]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormTabularCreate.h
More pref work from Angus
[lyx.git] / src / frontends / xforms / FormTabularCreate.h
1 // -*- C++ -*-
2 /* This file is part of
3  * ======================================================
4  * 
5  *           LyX, The Document Processor
6  *       
7  *          Copyright 1995 Matthias Ettrich
8  *          Copyright 1995-2000 The LyX Team.
9  *
10  *======================================================*/
11 /* FormTabularCreate.h
12  * FormTabularCreate Interface Class
13  */
14
15 #ifndef FORMTABULARCREATE_H
16 #define FORMTABULARCREATE_H
17
18 #include "FormBase.h"
19
20 #ifdef __GNUG__
21 #pragma interface
22 #endif
23
24 class LyXView;
25 class Dialogs;
26 struct FD_form_tabular_create;
27
28 /** This class provides an XForms implementation of the FormTabularCreate
29     Dialog.
30  */
31 class FormTabularCreate : public FormBaseBD {
32 public:
33         /// #FormTabularCreate x(LyXView ..., Dialogs ...);#
34         FormTabularCreate(LyXView *, Dialogs *);
35         ///
36         ~FormTabularCreate();
37
38 private:
39         /// Connect signals etc.
40         virtual void connect();
41
42         /// Apply from dialog
43         virtual void apply();
44         /// Pointer to the actual instantiation of the xform's form
45         virtual FL_FORM * form() const;
46         /// Build the dialog
47         virtual void build();
48
49         ///
50         FD_form_tabular_create * build_tabular_create();
51         
52         /// Real GUI implementation.
53         FD_form_tabular_create * dialog_;
54 };
55
56 #endif