Fixed the className() defintations to be const

This commit is contained in:
Robert Osfield 2004-02-05 12:11:06 +00:00
parent bf6f27f6d3
commit 345298badd
3 changed files with 3 additions and 3 deletions

View File

@ -86,7 +86,7 @@ public:
typedef std::vector< osg::ref_ptr<GUIEventHandler> > ChildList;
virtual const char* className() { return "CompositeGUIEventHandler"; }
virtual const char* className() const { return "CompositeGUIEventHandler"; }
virtual const CompositeGUIEventHandler* getComposite() const { return this; }

View File

@ -34,7 +34,7 @@ class OSGGA_EXPORT KeySwitchMatrixManipulator : public MatrixManipulator
{
public:
virtual const char* className() { return "KeySwitchMatrixManipulator"; }
virtual const char* className() const { return "KeySwitchMatrixManipulator"; }
/**
Add a camera manipulator with an associated name, and a key to

View File

@ -34,7 +34,7 @@ public:
StateSetManipulator();
virtual ~StateSetManipulator();
virtual const char* className() { return "StateSetManipulator"; }
virtual const char* className() const { return "StateSetManipulator"; }
/** attach a geostate to the manipulator to be used for specifying view.*/
virtual void setStateSet(osg::StateSet*);