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/
31 struct FD_form_copyright;
33 /** This class provides an XForms implementation of the FormCopyright Dialog.
35 class FormCopyright : public DialogBase, public noncopyable {
37 /// #FormCopyright x(LyXFunc ..., Dialogs ...);#
38 FormCopyright(LyXView *, Dialogs *);
43 static int WMHideCB(FL_FORM *, void *);
45 static void OKCB(FL_OBJECT *, long);
47 /// Create the dialog if necessary, update it and display it.
51 /// Not used but we've got to implement it.
57 FD_form_copyright * build_copyright();
58 /// Explicitly free the dialog.
61 /// Real GUI implementation.
62 FD_form_copyright * dialog_;
63 /** Which LyXFunc do we use?
64 We could modify Dialogs to have a visible LyXFunc* instead and
65 save a couple of bytes per dialog.
68 /** Which Dialogs do we belong to?
69 Used so we can get at the signals we have to connect to.