]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormToc.h
Introduce LFUN_PRINT.
[lyx.git] / src / frontends / xforms / FormToc.h
index 5a756c54ec70ff1f5845687cc2cb6080223f7b5a..7e55c9e2ab96d43ea86c24712461f71cfd6aac1a 100644 (file)
@@ -1,20 +1,19 @@
 // -*- C++ -*-
 /**
- * \file xforms/FormToc.h
- * Copyright 2000-2001 the LyX Team
- * Read the file COPYING
+ * \file FormToc.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- * \author Angus Leeming <leeming@lyx.org>
+ * \author Angus Leeming
+ *
+ * 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;
@@ -22,10 +21,10 @@ struct FD_toc;
 
 /** 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() {}
@@ -42,7 +41,7 @@ private:
        void updateContents();
 
        ///
-       toc::Toc toc_;
+       lyx::toc::Toc toc_;
 };
 
 #endif // FORMTOC_H