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"
22 #include "support/utility.hpp"
29 // same arguement as in Dialogs.h s/LyX/UI/
32 /** This class provides an XForms implementation of the FormCopyright Dialog.
34 class FormCopyright : public DialogBase, public noncopyable {
36 /**@name Constructors and Destructors */
38 /// #FormCopyright x(LyXFunc ..., Dialogs ...);#
39 FormCopyright(LyXView *, Dialogs *);
44 /**@name Real per-instance Callback Methods */
46 static int WMHideCB(FL_FORM *, void *);
47 static void OKCB(FL_OBJECT *, long);
51 /**@name Slot Methods */
53 /// Create the dialog if necessary, update it and display it.
57 /// Not used but we've got to implement it.
64 FD_form_copyright * build_copyright();
65 /// Explicitly free the dialog.
68 /**@name Private Data */
70 /// Real GUI implementation.
71 FD_form_copyright * dialog_;
72 /** Which LyXFunc do we use?
73 We could modify Dialogs to have a visible LyXFunc* instead and
74 save a couple of bytes per dialog.
77 /** Which Dialogs do we belong to?
78 Used so we can get at the signals we have to connect to.