]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ControlTabularCreate.h
Really dull and boring header shit
[lyx.git] / src / frontends / controllers / ControlTabularCreate.h
1 // -*- C++ -*-
2 /**
3  * \file ControlTabularCreate.h
4  * See the file COPYING.
5  *
6  * \author unknown
7  *
8  * Full author contact details are available in file CREDITS
9  */
10
11 #ifndef CONTROLTABULARCREATE_H
12 #define CONTROLTABULARCREATE_H
13
14 #include <utility>
15
16 #ifdef __GNUG__
17 #pragma interface
18 #endif
19
20 #include "ControlDialog_impl.h"
21
22 /** A controller for the TabularCreate Dialog.
23  */
24 class ControlTabularCreate : public ControlDialogBD {
25 public:
26         ///
27         ControlTabularCreate(LyXView &, Dialogs &);
28
29         typedef std::pair<unsigned int, unsigned int> rowsCols;
30
31         ///
32         rowsCols & params();
33
34 private:
35         /// Apply from dialog
36         virtual void apply();
37
38         /// set the params before show or update
39         virtual void setParams();
40
41         /// rows, cols params
42         rowsCols params_;
43 };
44
45 #endif // CONTROLTABULARCREATE_H