#include <QtOpenGL/qglcolormap.h> #ifndef QGLCOLORMAP_H class QGLColormap{ /* Some contents are skipped to improve readability */ private: struct QGLColormapData{ public: struct QBasicAtomic ref; public: class QVector < unsigned int >* cells; public: Qt::HANDLE cmapHandle; }; /* ... */ }; #endif // QGLCOLORMAP_H