summaryrefslogtreecommitdiffstats
path: root/src/plugins/gfxdrivers/eglnullws/eglnullwswindowsurface.h
blob: 7e5d2fa80d3cc54c56493be1aea7dbe029c824d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef EGLNULLWSWINDOWSURFACE_H
#define EGLNULLWSWINDOWSURFACE_H

#include <private/qglwindowsurface_qws_p.h>

class EGLNullWSWindowSurface : public QWSGLWindowSurface
{
public:
    EGLNullWSWindowSurface(QWidget *widget);
    EGLNullWSWindowSurface();
    virtual ~EGLNullWSWindowSurface();

    virtual QString key() const;
    virtual QPaintDevice *paintDevice();
    virtual bool isValid() const;
    virtual QImage image() const;

private:
    QWidget *widget;
};

#endif // EGLNULLWSWINDOWSURFACE_H