diff options
author | Marius Vlad <marius.vlad@collabora.com> | 2020-04-13 13:39:04 +0300 |
---|---|---|
committer | Marius Vlad <marius.vlad@collabora.com> | 2020-04-13 17:25:03 +0300 |
commit | 69ab2870ea1fbac6808dac791e141f3009e98724 (patch) | |
tree | 66977de488cdddaea73c0d39f127e142bafdc8be /app/eventhandler.h | |
parent | bd47464dafd7110586163bbd6dc89a30fccd6a26 (diff) |
onscreenapp: Initial clean-up in code
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Diffstat (limited to 'app/eventhandler.h')
-rw-r--r-- | app/eventhandler.h | 7 |
1 files changed, 1 insertions, 6 deletions
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 <string> #include <QVariant> #include <QPair> -#include <libhomescreen.hpp> -#include <qlibwindowmanager.h> #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<QString, QString> m_req, m_dsp; int m_dsp_sts = HIDING; }; |