]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ControlTabularCreate.h
Add a buffer_path arg to InsetGraphicsMailer's params2string, string2params.
[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 "Dialog.h"
16 #include <utility>
17
18 /** A controller for the TabularCreate Dialog.
19  */
20 class ControlTabularCreate : public Dialog::Controller {
21 public:
22         ///
23         ControlTabularCreate(Dialog &);
24         ///
25         virtual bool initialiseParams(string const & data);
26         /// clean-up on hide.
27         virtual void clearParams();
28         ///
29         virtual void dispatchParams();
30         ///
31         virtual bool isBufferDependent() const { return true; }
32
33         ///
34         typedef std::pair<unsigned int, unsigned int> rowsCols;
35         ///
36         rowsCols & params() { return params_; }
37
38 private:
39         /// rows, cols params
40         rowsCols params_;
41 };
42
43 #endif // CONTROLTABULARCREATE_H