]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ControlTabularCreate.h
Implemented controller-view split for TabularCreate popup.
[lyx.git] / src / frontends / controllers / ControlTabularCreate.h
1 /* This file is part of
2  * ======================================================
3  * 
4  *           LyX, The Document Processor
5  *       
6  *           Copyright 2001 The LyX Team.
7  *
8  *======================================================
9  *
10  * \file ControlTabularCreate.h
11  */
12
13 #ifndef CONTROLTABULARCREATE_H
14 #define CONTROLTABULARCREATE_H
15
16 #ifdef __GNUG__
17 #pragma interface
18 #endif
19
20 #include "ControlDialogs.h"
21
22 /** A controller for the TabularCreate Dialog.
23  */
24 class ControlTabularCreate : public ControlDialog<ControlConnectBD> {
25 public:
26         /// 
27         ControlTabularCreate(LyXView &, Dialogs &);
28         ///
29         string & params() const;
30
31 private:
32         /// Apply from dialog
33         virtual void apply();
34
35         /// set the params before show or update
36         virtual void setParams();
37         /// clean-up on hide.
38         virtual void clearParams();
39     
40         ///
41         string * params_;
42 };
43
44 #endif // CONTROLTABULARCREATE_H