3 * FormCopyright Interface Class
5 * ======================================================
7 * LyX, The Document Processor
9 * Copyright 1995 Matthias Ettrich
10 * Copyright 1995-2000 The LyX Team.
12 * This file Copyright 2000
14 * ======================================================
17 #ifndef FORMCOPYRIGHT_H
18 #define FORMCOPYRIGHT_H
20 #include "DialogBase.h"
21 #include "form_copyright.h"
24 // same arguement as in Dialogs.h s/LyX/UI/
27 /** This class provides an XForms implementation of the FormCopyright Dialog.
29 class FormCopyright : public DialogBase {
31 /**@name Constructors and Destructors */
33 /// #FormCopyright x(LyXFunc ..., Dialogs ...);#
34 FormCopyright(LyXView *, Dialogs *);
39 /**@name Real per-instance Callback Methods */
41 static int WMHideCB(FL_FORM *, void *);
42 static void OKCB(FL_OBJECT *, long);
47 FormCopyright(FormCopyright &) : DialogBase() {}
49 /**@name Slot Methods */
51 /// Create the dialog if necessary, update it and display it.
55 /// Not used but we've got to implement it.
62 FD_form_copyright * build_copyright();
63 /// Explicitly free the dialog.
66 /**@name Private Data */
68 /// Real GUI implementation.
69 FD_form_copyright * dialog_;
70 /** Which LyXFunc do we use?
71 We could modify Dialogs to have a visible LyXFunc* instead and
72 save a couple of bytes per dialog.
75 /** Which Dialogs do we belong to?
76 Used so we can get at the signals we have to connect to.