]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/controllers/ControlTabularCreate.h
Add a buffer_path arg to InsetGraphicsMailer's params2string, string2params.
[lyx.git] / src / frontends / controllers / ControlTabularCreate.h
index 0261d11fe266cfe390b979f881481ae94dc39593..ad15d77c924f19ea7515df21bac0e22f85966024 100644 (file)
 #ifndef CONTROLTABULARCREATE_H
 #define CONTROLTABULARCREATE_H
 
+#include "Dialog.h"
 #include <utility>
 
-
-#include "ControlDialog_impl.h"
-
 /** A controller for the TabularCreate Dialog.
  */
-class ControlTabularCreate : public ControlDialogBD {
+class ControlTabularCreate : public Dialog::Controller {
 public:
        ///
-       ControlTabularCreate(LyXView &, Dialogs &);
+       ControlTabularCreate(Dialog &);
+       ///
+       virtual bool initialiseParams(string const & data);
+       /// clean-up on hide.
+       virtual void clearParams();
+       ///
+       virtual void dispatchParams();
+       ///
+       virtual bool isBufferDependent() const { return true; }
 
+       ///
        typedef std::pair<unsigned int, unsigned int> rowsCols;
-
        ///
-       rowsCols & params();
-private:
-       /// Apply from dialog
-       virtual void apply();
-
-       /// set the params before show or update
-       virtual void setParams();
+       rowsCols & params() { return params_; }
 
+private:
        /// rows, cols params
        rowsCols params_;
 };