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"
30 struct FD_form_copyright;
32 /** This class provides an XForms implementation of the FormCopyright Dialog.
34 class FormCopyright : public DialogBase, public noncopyable {
36 /// #FormCopyright x(LyXFunc ..., Dialogs ...);#
37 FormCopyright(LyXView *, Dialogs *);
42 static int WMHideCB(FL_FORM *, void *);
44 static void OKCB(FL_OBJECT *, long);
46 /// Create the dialog if necessary, update it and display it.
50 /// Not used but we've got to implement it.
56 FD_form_copyright * build_copyright();
58 /// Real GUI implementation.
59 FD_form_copyright * dialog_;
60 /** Which LyXFunc do we use?
61 We could modify Dialogs to have a visible LyXFunc* instead and
62 save a couple of bytes per dialog.
65 /** Which Dialogs do we belong to?
66 Used so we can get at the signals we have to connect to.