mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
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:
parent
9704a004bd
commit
7811487b2a
@ -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>
|
||||
|
||||
* DialogBase.C: add close(), non-pure. This is
|
||||
|
@ -18,6 +18,7 @@
|
||||
#define DIALOGBASE_H
|
||||
|
||||
#include <sigc++/signal_system.h>
|
||||
#include <boost/utility.hpp>
|
||||
|
||||
// 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 */
|
||||
|
@ -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>
|
||||
|
||||
* FormTabular.C (build): make all input field accepted only after
|
||||
|
@ -14,7 +14,6 @@
|
||||
|
||||
#include "DialogBase.h"
|
||||
#include "LString.h"
|
||||
#include <boost/utility.hpp>
|
||||
#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 *);
|
||||
|
Loading…
Reference in New Issue
Block a user