X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fxforms%2FFormUrl.h;h=23c984d75ffff884c9e6d1fff6259233507b5c82;hb=3e39bef2c13125023f3b72532d90575bbe307335;hp=add9278ce7757805cc4bb700c6cb8086bbce7845;hpb=ba01a232eaea8162ca7980b552f21ab3b7689744;p=lyx.git diff --git a/src/frontends/xforms/FormUrl.h b/src/frontends/xforms/FormUrl.h index add9278ce7..23c984d75f 100644 --- a/src/frontends/xforms/FormUrl.h +++ b/src/frontends/xforms/FormUrl.h @@ -1,12 +1,10 @@ // -*- C++ -*- -/* This file is part of - * ====================================================== +/** + * \file xforms/FormUrl.h + * Copyright 2000-2001 the LyX Team + * Read the file COPYING * - * LyX, The Document Processor - * - * Copyright 2000 The LyX Team. - * - * ====================================================== + * \author Angus Leeming, a.leeming@ic.ac.uk */ #ifndef FORMURL_H @@ -16,34 +14,27 @@ #pragma interface #endif -#include "FormInset.h" +#include "FormBase.h" + +class ControlUrl; struct FD_form_url; -/** This class provides an XForms implementation of the FormUrl Dialog. +/** This class provides an XForms implementation of the Url Dialog. */ -class FormUrl : public FormCommand { +class FormUrl : public FormCB > { public: /// - FormUrl(LyXView *, Dialogs *); - /// - ~FormUrl(); + FormUrl(ControlUrl &); + private: + /// Apply from dialog (modify or create inset) + virtual void apply(); /// Build the dialog virtual void build(); /// Update dialog before showing it - virtual void update(bool switched = false); - /// Apply from dialog (modify or create inset) - virtual void apply(); - /// Pointer to the actual instantiation of the xform's form - virtual FL_FORM * form() const; - /// + virtual void update(); + /// Filter the inputs on callback from xforms FD_form_url * build_url(); - /// - int minh; - /// - int minw; - /// Real GUI implementation. - FD_form_url * dialog_; }; -#endif +#endif // FORMURL_H