summaryrefslogtreecommitdiffstats
path: root/tests/auto/client/mocksurface.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/client/mocksurface.h')
-rw-r--r--tests/auto/client/mocksurface.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/auto/client/mocksurface.h b/tests/auto/client/mocksurface.h
index 49260f51b..f2a2f4eb3 100644
--- a/tests/auto/client/mocksurface.h
+++ b/tests/auto/client/mocksurface.h
@@ -54,6 +54,9 @@ public:
~Surface();
Compositor *compositor() const { return m_compositor; }
+ static Surface *fromResource(struct ::wl_resource *resource);
+ void map();
+ bool isMapped() const;
QSharedPointer<MockSurface> mockSurface() const { return m_mockSurface; }
@@ -74,8 +77,8 @@ private:
Compositor *m_compositor;
QSharedPointer<MockSurface> m_mockSurface;
-
- wl_list m_frameCallbackList;
+ QList<wl_resource *> m_frameCallbackList;
+ bool m_mapped;
};
}