interrogate objections

This commit is contained in:
David Rose 2009-10-01 00:48:48 +00:00
parent 802933b0c2
commit 2b5d5fb9e6
2 changed files with 14 additions and 0 deletions

View File

@ -14,6 +14,7 @@
#include "nativeWindowHandle.h"
TypeHandle NativeWindowHandle::_type_handle;
TypeHandle NativeWindowHandle::IntHandle::_type_handle;
TypeHandle NativeWindowHandle::SubprocessHandle::_type_handle;

View File

@ -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"