X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fxforms%2FFormPreamble.h;h=335a1746951b189a69742e5bbe8a0a4b5a9c8b8e;hb=37e82a546392d43f787826b85481a11f2a27af15;hp=27dd6d0ed40b4a042601f6d6947410764e699add;hpb=c44d76deae691866fc734077d870e698eb607a10;p=lyx.git diff --git a/src/frontends/xforms/FormPreamble.h b/src/frontends/xforms/FormPreamble.h index 27dd6d0ed4..335a174695 100644 --- a/src/frontends/xforms/FormPreamble.h +++ b/src/frontends/xforms/FormPreamble.h @@ -1,40 +1,42 @@ +// -*- C++ -*- /** * \file FormPreamble.h - * Copyright 2001 The LyX Team. - * See the file COPYING. + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. * - * \author Edwin Leuven, leuven@fee.uva.nl + * \author Edwin Leuven + * + * Full author contact details are available in file CREDITS. */ #ifndef FORMPREAMBLE_H #define FORMPREAMBLE_H -#ifdef __GNUG__ -#pragma interface -#endif +#include "FormDialogView.h" -#include "FormBase.h" +namespace lyx { +namespace frontend { class ControlPreamble; -struct FD_form_preamble; +struct FD_preamble; /** This class provides an XForms implementation of the Preamble Dialog. */ -class FormPreamble : public FormCB > { +class FormPreamble + : public FormController > { public: /// - FormPreamble(ControlPreamble &); + FormPreamble(Dialog &); private: - /// Apply from popup + /// Apply from dialog virtual void apply(); - /// Build the popup + /// Build the dialog virtual void build(); - /// Update the popup. + /// Update the dialog virtual void update(); - - /// Fdesign generated method - FD_form_preamble * build_preamble(); }; +} // namespace frontend +} // namespace lyx #endif // FORMPREAMBLE_H