#include "DialogBase.h"
#include "form_copyright.h"
+#include "support/utility.hpp"
+
+#ifdef __GNUG__
+#pragma interface
+#endif
class Dialogs;
// same arguement as in Dialogs.h s/LyX/UI/
class LyXView;
+struct FD_form_copyright;
/** This class provides an XForms implementation of the FormCopyright Dialog.
*/
-class FormCopyright : public DialogBase {
+class FormCopyright : public DialogBase, public noncopyable {
public:
- /**@name Constructors and Destructors */
- //@{
/// #FormCopyright x(LyXFunc ..., Dialogs ...);#
FormCopyright(LyXView *, Dialogs *);
///
~FormCopyright();
- //@}
- /**@name Real per-instance Callback Methods */
- //@{
+ ///
static int WMHideCB(FL_FORM *, void *);
+ ///
static void OKCB(FL_OBJECT *, long);
- //@}
-
private:
- FormCopyright() {}
- FormCopyright(FormCopyright &) : DialogBase() {}
-
- /**@name Slot Methods */
- //@{
/// Create the dialog if necessary, update it and display it.
void show();
/// Hide the dialog.
void hide();
/// Not used but we've got to implement it.
void update() {}
- //@}
/// Build the dialog
void build();
/// Explicitly free the dialog.
void free();
- /**@name Private Data */
- //@{
/// Real GUI implementation.
FD_form_copyright * dialog_;
/** Which LyXFunc do we use?
Dialogs * d_;
/// Hide connection.
Connection h_;
- //@}
};
#endif
-