From 7811487b2a4ec32948a053340bfccbf50bb71338 Mon Sep 17 00:00:00 2001 From: Angus Leeming Date: Mon, 19 Feb 2001 16:46:01 +0000 Subject: [PATCH] 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 --- src/frontends/ChangeLog | 5 +++++ src/frontends/DialogBase.h | 4 ++-- src/frontends/xforms/ChangeLog | 4 ++++ src/frontends/xforms/FormBase.h | 3 +-- 4 files changed, 12 insertions(+), 4 deletions(-) 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 *); -- 2.39.2