summaryrefslogtreecommitdiffstats
path: root/sample/app/eventhandler.h
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2020-04-10 16:49:02 +0300
committerMarius Vlad <marius.vlad@collabora.com>2020-04-13 17:25:03 +0300
commit85a1f5f0305fda98d7077bab78070456bcd680ac (patch)
tree612d33db9be1aed8b36702c248eb3495defb7658 /sample/app/eventhandler.h
parent4bf86cf93bda1228acef694329e2a58bf58cf528 (diff)
Add agl-shell-desktop protocol
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Diffstat (limited to 'sample/app/eventhandler.h')
-rw-r--r--sample/app/eventhandler.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sample/app/eventhandler.h b/sample/app/eventhandler.h
index af66644..c57c806 100644
--- a/sample/app/eventhandler.h
+++ b/sample/app/eventhandler.h
@@ -21,8 +21,14 @@
#include <string>
#include <QVariant>
+#if 0
#include <qlibhomescreen.h>
#include <qlibwindowmanager.h>
+#endif
+
+#include <wayland-client.h>
+#include "wayland-agl-shell-desktop-client-protocol.h"
+
#include "hmi-debug.h"
#define ROLE_NAME "onstestapp"
@@ -51,8 +57,11 @@ signals:
void signalOnReplyShowWindow(QVariant val);
private:
+#if 0
QLibHomeScreen *mp_hs;
QLibWindowmanager* mp_wm;
+#endif
+ struct agl_shell_desktop *shell_desktop = nullptr;
QQuickWindow *mp_qw;
};