mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
interrogate objections
This commit is contained in:
parent
802933b0c2
commit
2b5d5fb9e6
@ -14,6 +14,7 @@
|
||||
|
||||
#include "nativeWindowHandle.h"
|
||||
|
||||
TypeHandle NativeWindowHandle::_type_handle;
|
||||
TypeHandle NativeWindowHandle::IntHandle::_type_handle;
|
||||
TypeHandle NativeWindowHandle::SubprocessHandle::_type_handle;
|
||||
|
||||
|
@ -180,7 +180,14 @@ public:
|
||||
#endif // WIN32
|
||||
|
||||
public:
|
||||
static TypeHandle get_class_type() {
|
||||
return _type_handle;
|
||||
}
|
||||
static void init_type() {
|
||||
WindowHandle::init_type();
|
||||
register_type(_type_handle, "NativeWindowHandle",
|
||||
WindowHandle::get_class_type());
|
||||
|
||||
IntHandle::init_type();
|
||||
SubprocessHandle::init_type();
|
||||
#if defined(HAVE_X11) && !defined(CPPPARSER)
|
||||
@ -190,7 +197,13 @@ public:
|
||||
WinHandle::init_type();
|
||||
#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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user