app: Add the app state events
[apps/onscreenapp.git] / app / eventhandler.h
index 1fe910b..e4fbb6b 100644 (file)
@@ -23,6 +23,9 @@
 #include <QPair>
 #include "hmi-debug.h"
 
+#include <wayland-client.h>
+#include "wayland-agl-shell-desktop-client-protocol.h"
+
 #define APP_ID "onscreenapp"
 
 class QQmlApplicationEngine;
@@ -61,6 +64,7 @@ private:
     void activateWindow(const char *role, const char *area = "normal.full");
 
     QPair<QString, QString> m_req, m_dsp;
+    struct agl_shell_desktop *shell_desktop = nullptr;
     int m_dsp_sts = HIDING;
 };
 #endif // HOMESCREENHANDLER_H