From: Angus Leeming Date: Mon, 19 Feb 2001 16:46:01 +0000 (+0000) Subject: moved derivation from noncopyable to DialogBase from FormBase. X-Git-Tag: 1.6.10~21594 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=7811487b2a4ec32948a053340bfccbf50bb71338;p=features.git moved derivation from noncopyable to DialogBase from FormBase. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1536 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/frontends/ChangeLog b/src/frontends/ChangeLog index 664f1bca8f..020d70153e 100644 --- a/src/frontends/ChangeLog +++ b/src/frontends/ChangeLog @@ -1,3 +1,8 @@ +2001-02-19 Angus Leeming + + * DialogBase.h: derived from noncopyable, rather than deriving + xforms/FormBase from it. + 2001-02-12 John Levon * DialogBase.C: add close(), non-pure. This is diff --git a/src/frontends/DialogBase.h b/src/frontends/DialogBase.h index 126968b4c5..dec7d884f1 100644 --- a/src/frontends/DialogBase.h +++ b/src/frontends/DialogBase.h @@ -18,6 +18,7 @@ #define DIALOGBASE_H #include +#include // If we do not want to bring them in global namespace, they could be // defined inside DialogBase... (JMarc) @@ -25,7 +26,6 @@ using SigC::Connection; using SigC::slot; using SigC::Object; - #endif @@ -35,7 +35,7 @@ using SigC::Object; satisfy that request. Thus a dialog will have to "pull" the necessary details from the core of the program. */ -class DialogBase : public Object +class DialogBase : public Object, public noncopyable { public: /**@name Constructors and Deconstructors */ diff --git a/src/frontends/xforms/ChangeLog b/src/frontends/xforms/ChangeLog index 9c0ea0bbc0..ee597a0f36 100644 --- a/src/frontends/xforms/ChangeLog +++ b/src/frontends/xforms/ChangeLog @@ -1,3 +1,7 @@ +2001-02-19 Angus Leeming + + * FormBase.h: moved noncopyable derivation to DialogBase. + 2001-02-19 Juergen Vigna * FormTabular.C (build): make all input field accepted only after diff --git a/src/frontends/xforms/FormBase.h b/src/frontends/xforms/FormBase.h index 5a25fd2a10..1cf0f693b1 100644 --- a/src/frontends/xforms/FormBase.h +++ b/src/frontends/xforms/FormBase.h @@ -14,7 +14,6 @@ #include "DialogBase.h" #include "LString.h" -#include #include FORMS_H_LOCATION #include "ButtonController.h" #include "gettext.h" @@ -34,7 +33,7 @@ class LyXView; @author Angus Leeming */ -class FormBase : public DialogBase, public noncopyable { +class FormBase : public DialogBase { public: /// Callback functions static int WMHideCB(FL_FORM *, void *);