Added initializers
This commit is contained in:
parent
fe28b26171
commit
b9c3377d88
@ -24,11 +24,12 @@ namespace osgGA {
|
|||||||
class OSGGA_EXPORT Device : public osg::Object
|
class OSGGA_EXPORT Device : public osg::Object
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
enum {
|
enum Capabilities
|
||||||
|
{
|
||||||
UNKNOWN = 0,
|
UNKNOWN = 0,
|
||||||
RECEIVE_EVENTS = 1,
|
RECEIVE_EVENTS = 1,
|
||||||
SEND_EVENTS = 2
|
SEND_EVENTS = 2
|
||||||
} Capabilities;
|
};
|
||||||
|
|
||||||
Device();
|
Device();
|
||||||
Device(const Device& es, const osg::CopyOp& copyop);
|
Device(const Device& es, const osg::CopyOp& copyop);
|
||||||
|
@ -15,15 +15,16 @@
|
|||||||
|
|
||||||
using namespace osgGA;
|
using namespace osgGA;
|
||||||
|
|
||||||
Device::Device()
|
Device::Device():
|
||||||
: osg::Object()
|
osg::Object(),
|
||||||
, _capabilities(UNKNOWN)
|
_capabilities(UNKNOWN)
|
||||||
{
|
{
|
||||||
setEventQueue(new EventQueue);
|
setEventQueue(new EventQueue);
|
||||||
}
|
}
|
||||||
|
|
||||||
Device::Device(const Device& es, const osg::CopyOp& copyop):
|
Device::Device(const Device& es, const osg::CopyOp& copyop):
|
||||||
osg::Object(es,copyop)
|
osg::Object(es,copyop),
|
||||||
|
_capabilities(es._capabilities)
|
||||||
{
|
{
|
||||||
setEventQueue(new EventQueue);
|
setEventQueue(new EventQueue);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user