]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormUrl.h
patch from Angus
[lyx.git] / src / frontends / xforms / FormUrl.h
1 // -*- C++ -*-
2 /* This file is part of
3  * ====================================================== 
4  *
5  *           LyX, The Document Processor
6  *
7  *           Copyright 2000 The LyX Team.
8  *
9  * ======================================================
10  */
11
12 #ifndef FORMURL_H
13 #define FORMURL_H
14
15 #ifdef __GNUG__
16 #pragma interface
17 #endif
18
19 #include "FormCommand.h"
20 struct FD_form_url;
21
22 /** This class provides an XForms implementation of the FormUrl Dialog.
23  */
24 class FormUrl : public FormCommand, public noncopyable {
25 public:
26         /**@name Constructors and Destructors */
27         //@{
28         ///
29         FormUrl(LyXView *, Dialogs *);
30         ///
31         ~FormUrl();
32         //@}
33
34 private:
35         /**@name Slot Methods */
36         //@{
37         ///
38         virtual void update();
39         /// Apply from dialog
40         void apply();
41         ///
42         virtual void input( long ) {};
43         /// Build the dialog
44         void build();
45         ///
46         virtual FL_FORM * const form() const;
47         ///
48         FD_form_url * build_url();
49         //@}
50
51         /// Real GUI implementation.
52         FD_form_url * dialog_;
53 };
54
55 #endif