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
This commit is contained in:
Angus Leeming 2001-02-19 16:46:01 +00:00
parent 9704a004bd
commit 7811487b2a
4 changed files with 12 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
* DialogBase.h: derived from noncopyable, rather than deriving
xforms/FormBase from it.
2001-02-12 John Levon <moz@compsoc.man.ac.uk> 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
* DialogBase.C: add close(), non-pure. This is * DialogBase.C: add close(), non-pure. This is

View File

@ -18,6 +18,7 @@
#define DIALOGBASE_H #define DIALOGBASE_H
#include <sigc++/signal_system.h> #include <sigc++/signal_system.h>
#include <boost/utility.hpp>
// If we do not want to bring them in global namespace, they could be // If we do not want to bring them in global namespace, they could be
// defined inside DialogBase... (JMarc) // defined inside DialogBase... (JMarc)
@ -25,7 +26,6 @@
using SigC::Connection; using SigC::Connection;
using SigC::slot; using SigC::slot;
using SigC::Object; using SigC::Object;
#endif #endif
@ -35,7 +35,7 @@ using SigC::Object;
satisfy that request. Thus a dialog will have to "pull" the necessary satisfy that request. Thus a dialog will have to "pull" the necessary
details from the core of the program. details from the core of the program.
*/ */
class DialogBase : public Object class DialogBase : public Object, public noncopyable
{ {
public: public:
/**@name Constructors and Deconstructors */ /**@name Constructors and Deconstructors */

View File

@ -1,3 +1,7 @@
2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
* FormBase.h: moved noncopyable derivation to DialogBase.
2001-02-19 Juergen Vigna <jug@sad.it> 2001-02-19 Juergen Vigna <jug@sad.it>
* FormTabular.C (build): make all input field accepted only after * FormTabular.C (build): make all input field accepted only after

View File

@ -14,7 +14,6 @@
#include "DialogBase.h" #include "DialogBase.h"
#include "LString.h" #include "LString.h"
#include <boost/utility.hpp>
#include FORMS_H_LOCATION #include FORMS_H_LOCATION
#include "ButtonController.h" #include "ButtonController.h"
#include "gettext.h" #include "gettext.h"
@ -34,7 +33,7 @@ class LyXView;
@author Angus Leeming @author Angus Leeming
*/ */
class FormBase : public DialogBase, public noncopyable { class FormBase : public DialogBase {
public: public:
/// Callback functions /// Callback functions
static int WMHideCB(FL_FORM *, void *); static int WMHideCB(FL_FORM *, void *);