// -*- C++ -*-
/**
* \file FormTabular.h
- * Copyright 1995 Matthias Ettrich
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author Jürgen Vigna
*
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
*/
#ifndef FORMTABULAR_H
#define FORMTABULAR_H
+#include "FormDialogView.h"
#include <boost/scoped_ptr.hpp>
-#ifdef __GNUG__
-#pragma interface
-#endif
-
-#include "FormBase.h"
-
class InsetTabular;
class ControlTabular;
struct FD_tabular;
/** This class provides an XForms implementation of the FormTabular Dialog.
The tabular dialog allows users to set/save their tabular.
*/
-class FormTabular : public FormCB<ControlTabular, FormDB<FD_tabular> > {
+class FormTabular
+ : public FormController<ControlTabular, FormView<FD_tabular> > {
public:
- FormTabular();
+ FormTabular(Dialog &);
private:
/** Redraw the form (on receipt of a Signal indicating, for example,
virtual void build();
/// Filter the inputs
virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
-
+
///
- virtual int checkLongtableOptions(FL_OBJECT *, string &);
+ virtual int checkLongtableOptions(FL_OBJECT *, std::string &);
///
boost::scoped_ptr<FD_tabular_options> tabular_options_;
///
bool closing_;
-
+
///
int actCell_;
};