]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ControlTabularCreate.h
include sys/time.h
[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
18 #include "ControlDialog_impl.h"
19
20 /** A controller for the TabularCreate Dialog.
21  */
22 class ControlTabularCreate : public ControlDialogBD {
23 public:
24         ///
25         ControlTabularCreate(LyXView &, Dialogs &);
26
27         typedef std::pair<unsigned int, unsigned int> rowsCols;
28
29         ///
30         rowsCols & params();
31 private:
32         /// Apply from dialog
33         virtual void apply();
34
35         /// set the params before show or update
36         virtual void setParams();
37
38         /// rows, cols params
39         rowsCols params_;
40 };
41
42 #endif // CONTROLTABULARCREATE_H