Add cglContextForContext to QCocoaNativeInterface.
[profile/ivi/qtbase.git] / src / plugins / platforms / cocoa / qcocoanativeinterface.h
index 6f99dc4..e4b52b9 100644 (file)
@@ -56,8 +56,11 @@ class QCocoaNativeInterface : public QPlatformNativeInterface
 public:
     QCocoaNativeInterface();
 
+    void *nativeResourceForContext(const QByteArray &resourceString, QOpenGLContext *context);
     void *nativeResourceForWindow(const QByteArray &resourceString, QWindow *window);
 
+    static void *cglContextForContext(QOpenGLContext *context);
+
 public Q_SLOTS:
     void onAppFocusWindowChanged(QWindow *window);