mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -04:00
interrogate objections
This commit is contained in:
parent
802933b0c2
commit
2b5d5fb9e6
@ -14,6 +14,7 @@
|
|||||||
|
|
||||||
#include "nativeWindowHandle.h"
|
#include "nativeWindowHandle.h"
|
||||||
|
|
||||||
|
TypeHandle NativeWindowHandle::_type_handle;
|
||||||
TypeHandle NativeWindowHandle::IntHandle::_type_handle;
|
TypeHandle NativeWindowHandle::IntHandle::_type_handle;
|
||||||
TypeHandle NativeWindowHandle::SubprocessHandle::_type_handle;
|
TypeHandle NativeWindowHandle::SubprocessHandle::_type_handle;
|
||||||
|
|
||||||
|
@ -180,7 +180,14 @@ public:
|
|||||||
#endif // WIN32
|
#endif // WIN32
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
static TypeHandle get_class_type() {
|
||||||
|
return _type_handle;
|
||||||
|
}
|
||||||
static void init_type() {
|
static void init_type() {
|
||||||
|
WindowHandle::init_type();
|
||||||
|
register_type(_type_handle, "NativeWindowHandle",
|
||||||
|
WindowHandle::get_class_type());
|
||||||
|
|
||||||
IntHandle::init_type();
|
IntHandle::init_type();
|
||||||
SubprocessHandle::init_type();
|
SubprocessHandle::init_type();
|
||||||
#if defined(HAVE_X11) && !defined(CPPPARSER)
|
#if defined(HAVE_X11) && !defined(CPPPARSER)
|
||||||
@ -190,7 +197,13 @@ public:
|
|||||||
WinHandle::init_type();
|
WinHandle::init_type();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
virtual TypeHandle get_type() const {
|
||||||
|
return get_class_type();
|
||||||
|
}
|
||||||
|
virtual TypeHandle force_init_type() {init_type(); return get_class_type();}
|
||||||
|
|
||||||
|
private:
|
||||||
|
static TypeHandle _type_handle;
|
||||||
};
|
};
|
||||||
|
|
||||||
#include "nativeWindowHandle.I"
|
#include "nativeWindowHandle.I"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user