From 9e76cf1b66b40a0e502c667dbbf53164261956b5 Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Thu, 9 Apr 2020 17:23:47 +0300 Subject: onscreenapp, ontestapp: Initial conversion to agl-compositor Add agl-shell-desktop protocol and the ability to launch apps. Signed-off-by: Marius Vlad --- app/eventhandler.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'app/eventhandler.h') diff --git a/app/eventhandler.h b/app/eventhandler.h index bb75d9b..1fe910b 100644 --- a/app/eventhandler.h +++ b/app/eventhandler.h @@ -21,8 +21,6 @@ #include #include #include -#include -#include #include "hmi-debug.h" #define APP_ID "onscreenapp" @@ -35,14 +33,13 @@ class EventHandler : public QObject public: explicit EventHandler(QObject *parent = 0); ~EventHandler(); + EventHandler(const EventHandler&) = delete; EventHandler& operator=(const EventHandler&) = delete; void init(int port, const char* token); - void onRep(struct json_object* reply_contents); static void* myThis; - static void onRep_static(struct json_object* reply_contents); Q_INVOKABLE void deactivateWindow(); Q_INVOKABLE void onScreenReply(const QString &ons_title, const QString &btn_name); @@ -63,8 +60,6 @@ private: void setDisplayStatus(int sts) {m_dsp_sts = sts;} void activateWindow(const char *role, const char *area = "normal.full"); - LibHomeScreen *mp_hs; - QLibWindowmanager* mp_wm; QPair m_req, m_dsp; int m_dsp_sts = HIDING; }; -- cgit 1.2.3-korg