X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fxforms%2FFormCopyright.h;h=a11c95725d03653aa45faaa917443a7323a9bc10;hb=8a4455d459e52510b5c86dd872bcd8c65cc41903;hp=652e7798d2dbc599b642089c8788bea4f25d0903;hpb=4505b2f7b35d2d1e7f48128c41d3797dbd53fe97;p=lyx.git diff --git a/src/frontends/xforms/FormCopyright.h b/src/frontends/xforms/FormCopyright.h index 652e7798d2..a11c95725d 100644 --- a/src/frontends/xforms/FormCopyright.h +++ b/src/frontends/xforms/FormCopyright.h @@ -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 > { 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