diff options
author | Johan Klokkhammer Helsing <johan.helsing@qt.io> | 2019-08-23 09:25:56 +0200 |
---|---|---|
committer | Johan Klokkhammer Helsing <johan.helsing@qt.io> | 2019-08-27 12:35:33 +0200 |
commit | b6703d94d833c73dbe7fd252c4b61db455f5c2f5 (patch) | |
tree | 9a4adc7ee9f1a1b6ef165ee8189d56439bcc4e4f /tests/auto/client/shared/coreprotocol.h | |
parent | 4400d48cb6e8ab1b8676e198d4882b7a52310935 (diff) |
Client tests: Add test for a simple wl_touch tap
Change-Id: I35aec950da0ac0d10cf1fa0c4bc1f56ba232cf89
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.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/client/shared/coreprotocol.h b/tests/auto/client/shared/coreprotocol.h index 6905ab5d5..50812c296 100644 --- a/tests/auto/client/shared/coreprotocol.h +++ b/tests/auto/client/shared/coreprotocol.h @@ -316,6 +316,10 @@ class Touch : public QObject, public QtWaylandServer::wl_touch Q_OBJECT public: explicit Touch(Seat *seat) : m_seat(seat) {} + uint sendDown(Surface *surface, const QPointF &position, int id); + uint sendUp(wl_client *client, int id); + void sendFrame(wl_client *client); + Seat *m_seat = nullptr; }; |