mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 05:33:33 +00:00
inherit privately from noncopyable, set c++ mode, swap init order
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1928 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
da17cc0c13
commit
3dd3381b2d
@ -1,3 +1,4 @@
|
|||||||
|
// -*- C++ -*-
|
||||||
/* This file is part of
|
/* This file is part of
|
||||||
* ======================================================
|
* ======================================================
|
||||||
*
|
*
|
||||||
@ -61,8 +62,8 @@ private:
|
|||||||
|
|
||||||
template <class Button, class Widget>
|
template <class Button, class Widget>
|
||||||
GuiBC<Button, Widget>::GuiBC(string const & cancel, string const & close)
|
GuiBC<Button, Widget>::GuiBC(string const & cancel, string const & close)
|
||||||
: ButtonControllerBase(cancel, close)
|
: ButtonControllerBase(cancel, close),
|
||||||
, okay_(0), apply_(0), restore_(0), cancel_(0)
|
okay_(0), apply_(0), cancel_(0), restore_(0)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
// -*- C++ -*-
|
||||||
/* This file is part of
|
/* This file is part of
|
||||||
* ======================================================
|
* ======================================================
|
||||||
*
|
*
|
||||||
@ -31,7 +32,7 @@
|
|||||||
* This abstract base class stripped of xforms-specific code by
|
* This abstract base class stripped of xforms-specific code by
|
||||||
* Angus Leeming <a.leeming@ic.ac.uk>
|
* Angus Leeming <a.leeming@ic.ac.uk>
|
||||||
*/
|
*/
|
||||||
class ButtonControllerBase : public boost::noncopyable
|
class ButtonControllerBase : boost::noncopyable
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
/** Constructor.
|
/** Constructor.
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
// -*- C++ -*-
|
||||||
/*
|
/*
|
||||||
* \file ButtonPolicies.h
|
* \file ButtonPolicies.h
|
||||||
* \author Allan Rae, rae@lyx.org
|
* \author Allan Rae, rae@lyx.org
|
||||||
@ -68,7 +69,7 @@
|
|||||||
|
|
||||||
The IgnorantPolicy is a special case that allows anything.
|
The IgnorantPolicy is a special case that allows anything.
|
||||||
*/
|
*/
|
||||||
class ButtonPolicy : public boost::noncopyable {
|
class ButtonPolicy : boost::noncopyable {
|
||||||
public:
|
public:
|
||||||
///
|
///
|
||||||
virtual ~ButtonPolicy() {}
|
virtual ~ButtonPolicy() {}
|
||||||
|
@ -1,3 +1,12 @@
|
|||||||
|
2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
|
||||||
|
|
||||||
|
* ButtonControllerBase.h: C++ mode, inherit privately from
|
||||||
|
noncopyable
|
||||||
|
* ButtonPolicies.h: ditto
|
||||||
|
|
||||||
|
* ButtonController.h: C++ mode, swap init order of restore_ and
|
||||||
|
cancel_
|
||||||
|
|
||||||
2001-04-06 John Levon <moz@compsoc.man.ac.uk>
|
2001-04-06 John Levon <moz@compsoc.man.ac.uk>
|
||||||
|
|
||||||
* ControlTabularCreate.h:
|
* ControlTabularCreate.h:
|
||||||
|
Loading…
Reference in New Issue
Block a user