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