diff options
author | Johan Klokkhammer Helsing <johan.helsing@qt.io> | 2016-04-20 10:41:20 +0200 |
---|---|---|
committer | Johan Helsing <johan.helsing@qt.io> | 2016-09-30 13:55:30 +0000 |
commit | f7896fdc6505d8c6f3b3a239884dadab034e1fb5 (patch) | |
tree | 11f73dd52db4ecf33d5289b234f72500bd3c8a91 /tests/auto/compositor/compositor/mockclient.h | |
parent | 863bf669ed0b8fce782c177dfcfa1702fc28196a (diff) |
C++ API and tests for the ivi-application extension
Note, this is only an implementation of the ivi-application extension,
not ivi-controller which contains layer management interfaces.
Task-number: QTBUG-53149
Change-Id: Ic5a31156de1768f846b714a9aee9bbf8a945cbbe
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'tests/auto/compositor/compositor/mockclient.h')
-rw-r--r-- | tests/auto/compositor/compositor/mockclient.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/auto/compositor/compositor/mockclient.h b/tests/auto/compositor/compositor/mockclient.h index 33ada638a..ed9319af8 100644 --- a/tests/auto/compositor/compositor/mockclient.h +++ b/tests/auto/compositor/compositor/mockclient.h @@ -28,6 +28,7 @@ #include <wayland-client.h> #include <wayland-xdg-shell-client-protocol.h> +#include <wayland-ivi-application-client-protocol.h> #include <QObject> #include <QImage> @@ -58,6 +59,7 @@ public: wl_surface *createSurface(); wl_shell_surface *createShellSurface(wl_surface *surface); xdg_surface *createXdgSurface(wl_surface *surface); + ivi_surface *createIviSurface(wl_surface *surface, uint iviId); wl_display *display; wl_compositor *compositor; @@ -66,12 +68,19 @@ public: wl_registry *registry; wl_shell *wlshell; xdg_shell *xdgShell; + ivi_application *iviApplication; QList<MockSeat *> m_seats; QRect geometry; int fd; + int error; + struct { + uint id; + uint code; + const wl_interface *interface; + } protocolError; private slots: void readEvents(); |