]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ControlTabularCreate.h
ws fixes, formatting and some other small changes
[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 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