// -*- 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
+class InsetTabular;
-#include "FormBase.h"
+namespace lyx {
+namespace frontend {
-class InsetTabular;
class ControlTabular;
struct FD_tabular;
struct FD_tabular_options;
/** 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 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_;
int actCell_;
};
+} // namespace frontend
+} // namespace lyx
+
#endif // FORMTABULAR_H