-// -*- 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