// -*- C++ -*-
/**
- * \file xforms/FormToc.h
+ * \file FormToc.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author Angus Leeming
*
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
*/
#ifndef FORMTOC_H
#define FORMTOC_H
-#ifdef __GNUG__
-#pragma interface
-#endif
-#include "FormBase.h"
+#include "FormDialogView.h"
#include "toc.h"
class ControlToc;
/** This class provides an XForms implementation of the FormToc Dialog.
*/
-class FormToc : public FormCB<ControlToc, FormDB<FD_toc> > {
+class FormToc : public FormController<ControlToc, FormView<FD_toc> > {
public:
///
- FormToc();
+ FormToc(Dialog &);
private:
/// not needed
virtual void apply() {}
void updateContents();
///
- toc::Toc toc_;
+ lyx::toc::Toc toc_;
};
#endif // FORMTOC_H