]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormUrl.h
Controller-view split for Ref popup.
[lyx.git] / src / frontends / xforms / FormUrl.h
1 /* This file is part of
2  * ====================================================== 
3  *
4  *           LyX, The Document Processor
5  *
6  *           Copyright 2000-2001 The LyX Team.
7  *
8  * ======================================================
9  *
10  * \file FormUrl.h
11  * \author Angus Leeming, a.leeming@.ac.uk
12  */
13
14 #ifndef FORMURL_H
15 #define FORMURL_H
16
17 #ifdef __GNUG__
18 #pragma interface
19 #endif
20
21 #include "FormBase.h"
22
23 class ControlUrl;
24 struct FD_form_url;
25
26 /** This class provides an XForms implementation of the Url Dialog.
27  */
28 class FormUrl : public FormCB<ControlUrl, FormDB<FD_form_url> > {
29 public:
30         ///
31         FormUrl(ControlUrl &);
32
33 private:
34         /// Apply from dialog (modify or create inset)
35         virtual void apply();
36         /// Build the dialog
37         virtual void build();
38         /// Update dialog before showing it
39         virtual void update();
40         /// Filter the inputs on callback from xforms
41         FD_form_url * build_url();
42 };
43
44 #endif // FORMURL_H