]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormToc.h
Change glob() API to accept a dir parameter.
[lyx.git] / src / frontends / xforms / FormToc.h
index bde478986109efce72a00425448e2d89ec31e7d1..1064ad5aeead774d0838a71de4b019757f24a54c 100644 (file)
@@ -1,31 +1,32 @@
 // -*- 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, a.leeming@ic.ac.uk
+ * \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"
 
+namespace lyx {
+namespace frontend {
+
 class ControlToc;
 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(ControlToc &, Dialogs &);
+       FormToc(Dialog &);
 private:
        /// not needed
        virtual void apply() {}
@@ -45,4 +46,7 @@ private:
        toc::Toc toc_;
 };
 
+} // namespace frontend
+} // namespace lyx
+
 #endif // FORMTOC_H