]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormCopyright.h
Reorganised, cleaned-up and improved documentation of controllers.
[lyx.git] / src / frontends / xforms / FormCopyright.h
index 652e7798d2dbc599b642089c8788bea4f25d0903..a11c95725d03653aa45faaa917443a7323a9bc10 100644 (file)
@@ -1,50 +1,51 @@
-// -*- C++ -*-
-/* FormCopyright.h
- * FormCopyright Interface Class
+/**
+ * \file FormCopyright.h
  * This file is part of
  * ====================================================== 
  *
  *           LyX, The Document Processor
  *
  *           Copyright 1995 Matthias Ettrich
- *           Copyright 1995-2000 The LyX Team.
+ *           Copyright 1995-2001 The LyX Team.
  *
- *           This file Copyright 2000
+ *           This file Copyright 2000-2001
  *           Allan Rae
  * ======================================================
+ *
+ * \author Allan Rae
+ * \author Angus Leeming, a.leeming@.ac.uk
  */
 
 #ifndef FORMCOPYRIGHT_H
 #define FORMCOPYRIGHT_H
 
-#include "FormBase.h"
-
 #ifdef __GNUG__
 #pragma interface
 #endif
 
+#include "FormBase.h"
+
+class ControlCopyright;
 struct FD_form_copyright;
 
 /** This class provides an XForms implementation of the FormCopyright Dialog.
  */
-class FormCopyright : public FormBaseBI {
+class FormCopyright
+       : public FormCB<ControlCopyright, FormDB<FD_form_copyright> > {
 public:
-       /// #FormCopyright x(LyXFunc ..., Dialogs ...);#
-       FormCopyright(LyXView *, Dialogs *);
        ///
-       ~FormCopyright();
+       FormCopyright(ControlCopyright &);
 
 private:
+       /// not needed.
+       virtual void apply() {}
+       /// not needed.
+       virtual void update() {}
        /// Build the dialog
        virtual void build();
-       /// Pointer to the actual instantiation of the xforms form
-       virtual FL_FORM * form() const;
+
        /// Fdesign generated method
        FD_form_copyright * build_copyright();
-
-       /// Real GUI implementation.
-       FD_form_copyright * dialog_;
 };
 
-#endif
-
+#endif // FORMCOPYRIGHT_H