+// -*- C++ -*-
/* This file is part of
* ======================================================
*
template <class Button, class Widget>
GuiBC<Button, Widget>::GuiBC(string const & cancel, string const & close)
- : ButtonControllerBase(cancel, close)
- , okay_(0), apply_(0), restore_(0), cancel_(0)
+ : ButtonControllerBase(cancel, close),
+ okay_(0), apply_(0), cancel_(0), restore_(0)
{}
+// -*- C++ -*-
/* This file is part of
* ======================================================
*
* This abstract base class stripped of xforms-specific code by
* Angus Leeming <a.leeming@ic.ac.uk>
*/
-class ButtonControllerBase : public boost::noncopyable
+class ButtonControllerBase : boost::noncopyable
{
public:
/** Constructor.
+// -*- C++ -*-
/*
* \file ButtonPolicies.h
* \author Allan Rae, rae@lyx.org
The IgnorantPolicy is a special case that allows anything.
*/
-class ButtonPolicy : public boost::noncopyable {
+class ButtonPolicy : boost::noncopyable {
public:
///
virtual ~ButtonPolicy() {}
+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>
* ControlTabularCreate.h: