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 <boost/smart_ptr.hpp>
26 #include "FormBaseDeprecated.h"
28 struct FD_form_copyright;
30 /** This class provides an XForms implementation of the FormCopyright Dialog.
32 class FormCopyright : public FormBaseBI {
34 /// #FormCopyright x(LyXFunc ..., Dialogs ...);#
35 FormCopyright(LyXView *, Dialogs *);
37 /// Pointer to the actual instantiation of the ButtonController.
38 virtual xformsBC & bc();
41 /// Pointer to the actual instantiation of the xforms form
42 virtual FL_FORM * form() const;
43 /// Fdesign generated method
44 FD_form_copyright * build_copyright();
46 /// Real GUI implementation.
47 boost::scoped_ptr<FD_form_copyright> dialog_;
48 /// The ButtonController
49 ButtonController<OkCancelPolicy, xformsBC> bc_;
54 xformsBC & FormCopyright::bc()