X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fxforms%2FFormCredits.h;h=aff26344bb7fc4526a7b102560ab5864a3aaf1a3;hb=b9d61343fc76a681b0264d65703ef2119647df56;hp=feced9e3185a61bcc383f8412e61a1b07f94d6ef;hpb=b66c83b542877ec814afffcb4c5585448a5d1b1b;p=lyx.git diff --git a/src/frontends/xforms/FormCredits.h b/src/frontends/xforms/FormCredits.h index feced9e318..aff26344bb 100644 --- a/src/frontends/xforms/FormCredits.h +++ b/src/frontends/xforms/FormCredits.h @@ -1,41 +1,42 @@ +// -*- C++ -*- /** * \file FormCredits.h * Copyright 2001 The LyX Team. * See the file COPYING. * * \author Edwin Leuven, leuven@fee.uva.nl + * \author Angus Leeming, a.leeming@.ac.uk */ #ifndef FORMCREDITS_H #define FORMCREDITS_H -#include "FormBase.h" - #ifdef __GNUG__ #pragma interface #endif +#include "FormBase.h" + +class ControlCredits; struct FD_form_credits; /** This class provides an XForms implementation of the FormCredits Dialog. */ -class FormCredits : public FormBaseBI { +class FormCredits : public FormCB > { public: - /// #FormCopyright x(LyXFunc ..., Dialogs ...);# - FormCredits(LyXView *, Dialogs *); /// - ~FormCredits(); + FormCredits(ControlCredits &); 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_credits * build_credits(); - - /// Real GUI implementation. - FD_form_credits * dialog_; }; #endif