X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fgnome%2FFormCopyright.h;h=a21b48d51c51af27136c4c2c205abc1a69f65d53;hb=797d87b4513088a66b17c7ac653b84e36ea80458;hp=6d807f7c0fb841f92d3ed38af4d065108732481f;hpb=612a097878de07556b76f7445a5564320987ff97;p=features.git diff --git a/src/frontends/gnome/FormCopyright.h b/src/frontends/gnome/FormCopyright.h index 6d807f7c0f..a21b48d51c 100644 --- a/src/frontends/gnome/FormCopyright.h +++ b/src/frontends/gnome/FormCopyright.h @@ -16,6 +16,7 @@ #include "DialogBase.h" #include +#include "support/utility.hpp" class Dialogs; // same arguement as in Dialogs.h s/LyX/UI/ @@ -23,31 +24,20 @@ class LyXView; /** This class provides an GTK-- 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(); - //@} - 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() {} - //@} - //@{ /// Real GUI implementation. Gnome::About * dialog_; /** Which LyXFunc do we use? @@ -63,7 +53,6 @@ private: Connection h_; /// Destroy connection. Connection destroy_; - //@} }; #endif