// ***************************************************************************
//
//   Generated automatically by genwrapper.
//   Please DO NOT EDIT this file!
//
// ***************************************************************************

#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>

#include <osgViewer/api/X11/GraphicsHandleX11>

// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif

#include <osg/observer_ptr>
        
TYPE_NAME_ALIAS(GLXContext, osgViewer::GraphicsHandleX11::Context)

TYPE_NAME_ALIAS(GLXPbuffer, osgViewer::GraphicsHandleX11::Pbuffer)

BEGIN_VALUE_REFLECTOR(osgViewer::GraphicsHandleX11)
	I_DeclaringFile("osgViewer/api/X11/GraphicsHandleX11");
	I_Constructor0(____GraphicsHandleX11,
	               "",
	               "");
	I_Method1(void, setDisplay, IN, Display *, display,
	          Properties::NON_VIRTUAL,
	          __void__setDisplay__Display_P1,
	          "Set X11 display. ",
	          "");
	I_Method0(Display *, getDisplay,
	          Properties::NON_VIRTUAL,
	          __Display_P1__getDisplay,
	          "Get X11 display. ",
	          "");
	I_Method1(void, setContext, IN, osgViewer::GraphicsHandleX11::Context, context,
	          Properties::NON_VIRTUAL,
	          __void__setContext__Context,
	          "Set native OpenGL graphics context. ",
	          "");
	I_Method0(osgViewer::GraphicsHandleX11::Context, getContext,
	          Properties::NON_VIRTUAL,
	          __Context__getContext,
	          "Get native OpenGL graphics context. ",
	          "");
	I_SimpleProperty(osgViewer::GraphicsHandleX11::Context, Context, 
	                 __Context__getContext, 
	                 __void__setContext__Context);
	I_SimpleProperty(Display *, Display, 
	                 __Display_P1__getDisplay, 
	                 __void__setDisplay__Display_P1);
END_REFLECTOR

