blob: 9815381e5496c5f4917e0ac9795d0b19a23070ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#ifndef QXCBNATIVEINTERFACE_H
#define QXCBNATIVEINTERFACE_H
#include <QtGui/QPlatformNativeInterface>
class QWidget;
class QXcbScreen;
class QXcbNativeInterface : public QPlatformNativeInterface
{
public:
enum ResourceType {
Display,
EglDisplay,
Connection,
Screen,
GraphicsDevice
};
void *nativeResourceForWidget(const QByteArray &resourceString, QWidget *widget);
void *displayForWidget(QWidget *widget);
void *eglDisplayForWidget(QWidget *widget);
void *connectionForWidget(QWidget *widget);
void *screenForWidget(QWidget *widget);
void *graphicsDeviceForWidget(QWidget *widget);
private:
static QXcbScreen *qPlatformScreenForWidget(QWidget *widget);
};
#endif // QXCBNATIVEINTERFACE_H
|