protect cppparser
This commit is contained in:
parent
d48310ad07
commit
366d56a74b
|
|
@ -74,7 +74,7 @@ get_handle() const {
|
|||
}
|
||||
#endif // HAVE_X11
|
||||
|
||||
#ifdef WIN32
|
||||
#if defined(WIN32) && !defined(CPPPARSER)
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Function: NativeWindowHandle::WinHandle::Constructor
|
||||
// Access: Public
|
||||
|
|
@ -85,7 +85,7 @@ WinHandle(HWND handle) : _handle(handle) {
|
|||
}
|
||||
#endif // WIN32
|
||||
|
||||
#ifdef WIN32
|
||||
#if defined(WIN32) && !defined(CPPPARSER)
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Function: NativeWindowHandle::WinHandle::get_handle
|
||||
// Access: Public
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ TypeHandle NativeWindowHandle::SubprocessHandle::_type_handle;
|
|||
#if defined(HAVE_X11) && !defined(CPPPARSER)
|
||||
TypeHandle NativeWindowHandle::X11Handle::_type_handle;
|
||||
#endif
|
||||
#ifdef WIN32
|
||||
#if defined(WIN32) && !defined(CPPPARSER)
|
||||
TypeHandle NativeWindowHandle::WinHandle::_type_handle;
|
||||
#endif
|
||||
|
||||
|
|
@ -69,7 +69,7 @@ make_x11(Window window) {
|
|||
}
|
||||
#endif // HAVE_X11
|
||||
|
||||
#ifdef WIN32
|
||||
#if defined(WIN32) && !defined(CPPPARSER)
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Function: NativeWindowHandle::make_win
|
||||
// Access: Published, Static
|
||||
|
|
@ -140,7 +140,7 @@ output(ostream &out) const {
|
|||
}
|
||||
#endif // HAVE_X11
|
||||
|
||||
#ifdef WIN32
|
||||
#if defined(WIN32) && !defined(CPPPARSER)
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Function: NativeWindowHandle::WinHandle::get_int_handle
|
||||
// Access: Public, Virtual
|
||||
|
|
@ -154,7 +154,7 @@ get_int_handle() const {
|
|||
}
|
||||
#endif // WIN32
|
||||
|
||||
#ifdef WIN32
|
||||
#if defined(WIN32) && !defined(CPPPARSER)
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Function: NativeWindowHandle::WinHandle::output
|
||||
// Access: Public
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ public:
|
|||
static PT(WindowHandle) make_x11(Window window);
|
||||
#endif // HAVE_X11
|
||||
|
||||
#ifdef WIN32
|
||||
#if defined(WIN32) && !defined(CPPPARSER)
|
||||
static PT(WindowHandle) make_win(HWND window);
|
||||
#endif // WIN32
|
||||
|
||||
|
|
@ -149,7 +149,7 @@ public:
|
|||
#endif // HAVE_X11
|
||||
|
||||
|
||||
#ifdef WIN32
|
||||
#if defined(WIN32) && !defined(CPPPARSER)
|
||||
class EXPCL_PANDA_DISPLAY WinHandle : public OSHandle {
|
||||
public:
|
||||
INLINE WinHandle(HWND handle);
|
||||
|
|
@ -187,7 +187,7 @@ public:
|
|||
#if defined(HAVE_X11) && !defined(CPPPARSER)
|
||||
X11Handle::init_type();
|
||||
#endif
|
||||
#ifdef WIN32
|
||||
#if defined(WIN32) && !defined(CPPPARSER)
|
||||
WinHandle::init_type();
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue