summaryrefslogtreecommitdiffstats
path: root/tests/auto/client/shared/coreprotocol.h
diff options
context:
space:
mode:
authorJohan Klokkhammer Helsing <johan.helsing@qt.io>2018-12-13 09:58:50 +0100
committerJohan Helsing <johan.helsing@qt.io>2019-01-30 15:02:31 +0000
commit0ff8a6b14d2668ced57e83219b541cb9b70caae2 (patch)
tree11e466c7b01ec38ed1012d8094d53688a07aa0c2 /tests/auto/client/shared/coreprotocol.h
parent276b15fa355ce3a2e92b307d340f2367ccac1843 (diff)
Add client test for data device
Change-Id: Id89ec40a3f484808385401829a09a43781a1bed7 Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'tests/auto/client/shared/coreprotocol.h')
-rw-r--r--tests/auto/client/shared/coreprotocol.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/client/shared/coreprotocol.h b/tests/auto/client/shared/coreprotocol.h
index da171c202..11b35eb4d 100644
--- a/tests/auto/client/shared/coreprotocol.h
+++ b/tests/auto/client/shared/coreprotocol.h
@@ -42,6 +42,7 @@ class Keyboard;
class CursorRole;
class ShmPool;
class ShmBuffer;
+class DataDevice;
class Buffer : public QObject, public QtWaylandServer::wl_buffer
{
@@ -249,6 +250,9 @@ public:
Keyboard* m_keyboard = nullptr;
QVector<Keyboard *> m_oldKeyboards;
+ DataDevice *dataDevice() { return m_dataDevice.data(); }
+ QScopedPointer<DataDevice> m_dataDevice;
+
uint m_capabilities = 0;
protected: