summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/eglfs/qeglfsscreen.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/platforms/eglfs/qeglfsscreen.h')
-rw-r--r--src/plugins/platforms/eglfs/qeglfsscreen.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/plugins/platforms/eglfs/qeglfsscreen.h b/src/plugins/platforms/eglfs/qeglfsscreen.h
index 06cafa20c8..bf7e88bd50 100644
--- a/src/plugins/platforms/eglfs/qeglfsscreen.h
+++ b/src/plugins/platforms/eglfs/qeglfsscreen.h
@@ -52,8 +52,9 @@ QT_BEGIN_NAMESPACE
class QPlatformOpenGLContext;
class QEglFSCursor;
+class QEglFSWindow;
-class QEglFSScreen : public QPlatformScreen //huh: FullScreenScreen ;) just to follow namespace
+class QEglFSScreen : public QPlatformScreen
{
public:
QEglFSScreen(EGLDisplay display);
@@ -73,6 +74,11 @@ public:
EGLDisplay display() const { return m_dpy; }
EGLSurface primarySurface() const { return m_surface; }
+ QList<QEglFSWindow *> windows() const { return m_windows; }
+ void addWindow(QEglFSWindow *window);
+ void removeWindow(QEglFSWindow *window);
+ QEglFSWindow *rootWindow();
+
protected:
void setPrimarySurface(EGLSurface surface);
@@ -82,6 +88,7 @@ private:
EGLDisplay m_dpy;
EGLSurface m_surface;
QEglFSCursor *m_cursor;
+ QList<QEglFSWindow *> m_windows;
};
QT_END_NAMESPACE