summaryrefslogtreecommitdiffstats
path: root/launcher/src/homescreenhandler.h
diff options
context:
space:
mode:
authorArnaud Ferraris <arnaud.ferraris@collabora.com>2021-12-10 12:28:47 +0100
committerArnaud Ferraris <arnaud.ferraris@collabora.com>2021-12-10 12:30:39 +0100
commit20cd96660d4bfb44e0be5695f71a92d5fb53a143 (patch)
tree86d180545abb5a1c9251a7e9bae1495925bc97a0 /launcher/src/homescreenhandler.h
parent200f62d3dd9a9032a5578fd993034d57014d0f09 (diff)
Remove dependency on old application framework and wayland
As the Application FW is being reworked, drop all related dependencies in order to start with a simpler initial implementation. This commit also drops wayland-related code as it won't be needed anymore with the new framework. Bug-AGL: SPEC-4159 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com> Change-Id: Id268e1feee363c60b85411e822103259c1071a24
Diffstat (limited to 'launcher/src/homescreenhandler.h')
-rw-r--r--launcher/src/homescreenhandler.h15
1 files changed, 3 insertions, 12 deletions
diff --git a/launcher/src/homescreenhandler.h b/launcher/src/homescreenhandler.h
index 471a663..c5d46b4 100644
--- a/launcher/src/homescreenhandler.h
+++ b/launcher/src/homescreenhandler.h
@@ -19,10 +19,11 @@
#define HOMESCREENHANDLER_H
#include <QObject>
-#include <libhomescreen.hpp>
+#include <QString>
+#include <QStringList>
#include <string>
-#include "shell-desktop.h"
+#include <json.h>
using namespace std;
@@ -33,24 +34,14 @@ public:
explicit HomescreenHandler(QObject *parent = 0);
~HomescreenHandler();
- void init(int port, const char* token, QString myname);
-
Q_INVOKABLE void tapShortcut(QString application_id, QString output_name);
Q_INVOKABLE void getRunnables(void);
void onRep(struct json_object* reply_contents);
- static void* myThis;
- static void onRep_static(struct json_object* reply_contents);
-
signals:
void initAppList(QString data);
void appListUpdate(QStringList info);
-
-private:
- LibHomeScreen *mp_hs;
- Shell *aglShell;
- QString m_myname;
};
#endif // HOMESCREENHANDLER_H