Add agl-shell-desktop protocol
[apps/onscreenapp.git] / sample / app / eventhandler.h
index af66644..c57c806 100644 (file)
 #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;
 };