diff options
author | Paul Olav Tvete <paul.tvete@theqtcompany.com> | 2016-05-25 15:35:01 +0200 |
---|---|---|
committer | Jani Heikkinen <jani.heikkinen@qt.io> | 2016-05-25 15:42:18 +0000 |
commit | 51dcf7c46170b272ed7a63f9dfe1169e90041be8 (patch) | |
tree | 8f8d55fb7f14c2b8216a218dd466c5f29c0dfc32 /src/compositor/compositor_api/qwaylandtouch.h | |
parent | 2c1606d13eb04ab9058cfaed2296628fe1ce4ebd (diff) |
Compile with a namespaced build
Change-Id: I839b3bc2f4fbf67bd381bd82fdaf19f7eb096454
Reviewed-by: Giulio Camuffo <giulio.camuffo@kdab.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Reviewed-by: Johan Helsing <johan.helsing@qt.io>
Diffstat (limited to 'src/compositor/compositor_api/qwaylandtouch.h')
-rw-r--r-- | src/compositor/compositor_api/qwaylandtouch.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/compositor/compositor_api/qwaylandtouch.h b/src/compositor/compositor_api/qwaylandtouch.h index b93b6d21d..06a484de0 100644 --- a/src/compositor/compositor_api/qwaylandtouch.h +++ b/src/compositor/compositor_api/qwaylandtouch.h @@ -42,6 +42,8 @@ #include <QtCore/QObject> #include <QtGui/QTouchEvent> +struct wl_resource; + QT_BEGIN_NAMESPACE class QWaylandTouch; @@ -68,7 +70,7 @@ public: virtual void addClient(QWaylandClient *client, uint32_t id, uint32_t version); - struct wl_resource *focusResource() const; + wl_resource *focusResource() const; QWaylandView *mouseFocus() const; private: |