#include <QtOpenGL/qgl.h>
#ifndef QGL_H
class QGLContext{
private: inline struct QGLContextPrivate* d_func();
private: inline struct QGLContextPrivate const * d_func() const
public: QGLContext(class QGLFormat const & format, class QPaintDevice* device);
public: QGLContext(class QGLFormat const & format);
public: virtual ~QGLContext();
public: virtual bool create(class QGLContext const * shareContext = 0);
public: bool isValid() const
public: bool isSharing() const
public: void reset();
public: class QGLFormat format() const
public: class QGLFormat requestedFormat() const
public: void setFormat(class QGLFormat const & format);
public: virtual void makeCurrent();
public: virtual void doneCurrent();
public: virtual void swapBuffers() const
public: GLuint bindTexture(class QImage const & image, GLenum target = 3553, GLint format = 6408);
public: GLuint bindTexture(class QPixmap const & pixmap, GLenum target = 3553, GLint format = 6408);
public: GLuint bindTexture(class QString const & fileName);
public: void deleteTexture(GLuint tx_id);
public: static void setTextureCacheLimit(int size);
public: static int textureCacheLimit();
public: void* getProcAddress(class QString const & proc) const
public: class QPaintDevice* device() const
public: class QColor overlayTransparentColor() const
public: static class QGLContext const * currentContext();
protected: virtual bool chooseContext(class QGLContext const * shareContext = 0);
#if defined(Q_WS_X11)
protected: virtual void* tryVisual(class QGLFormat const & f, int bufDepth = 1);
protected: virtual void* chooseVisual();
#endif
protected: bool deviceIsPixmap() const
protected: bool windowCreated() const
protected: void setWindowCreated(bool on);
protected: bool initialized() const
protected: void setInitialized(bool on);
protected: void generateFontDisplayLists(class QFont const & fnt, int listBase);
protected: uint colorIndex(class QColor const & c) const
protected: void setValid(bool valid);
protected: void setDevice(class QPaintDevice* pDev);
protected: static class QGLContext* currentCtx;
private: struct QGLContextPrivate* d_ptr;
private: QGLContext(QGLContext&);
private: class QGLContext& operator =(QGLContext&);
friend struct QGLContextPrivate;
friend struct QGLPixelBuffer;
friend struct QGLPixelBufferPrivate;
friend class QGLWidget;
friend struct QGLDrawable;
friend struct QGLWidgetPrivate;
friend struct QGLGlyphCache;
friend struct QOpenGLPaintEngine;
friend struct QOpenGLPaintEnginePrivate;
};
#endif // QGL_H