summaryrefslogtreecommitdiffstats
path: root/tests/auto/compositor/mockclient.h
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2012-04-06 13:35:43 +0200
committerJørgen Lind <jorgen.lind@nokia.com>2012-04-10 18:54:33 +0200
commita72e662b4e5c45988bbe06d587e167901b5606da (patch)
tree74f4aa9e6338ac62b90403bcd914065d8f08a8b0 /tests/auto/compositor/mockclient.h
parent585a1080cc755c0c7820a06ecfd059f75af60bfd (diff)
Update wayland_sha1 and implement buffer_pool interface
Change-Id: I0628a7655a6deb061a5d0b6c6304c89d8655cf11 Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'tests/auto/compositor/mockclient.h')
-rw-r--r--tests/auto/compositor/mockclient.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/auto/compositor/mockclient.h b/tests/auto/compositor/mockclient.h
index 2f2f665cd..e6be12fe7 100644
--- a/tests/auto/compositor/mockclient.h
+++ b/tests/auto/compositor/mockclient.h
@@ -39,6 +39,7 @@
**
****************************************************************************/
+#include "string.h"
#include "wayland-client.h"
#include <QObject>
@@ -51,7 +52,8 @@ public:
ShmBuffer(const QSize &size, wl_shm *shm);
~ShmBuffer();
- wl_buffer *handle;
+ struct wl_buffer *handle;
+ struct wl_shm_pool *shm_pool;
QImage image;
};