aboutsummaryrefslogtreecommitdiffstats
path: root/homescreen/src/homescreenhandler.h
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2021-11-04 14:35:55 -0400
committerScott Murray <scott.murray@konsulko.com>2021-11-04 14:44:37 -0400
commit2b7ca7a6eeb79e03507abb7a16b0503591d2b064 (patch)
treed372e518e3eae711d9c867de1c1731154d069400 /homescreen/src/homescreenhandler.h
parent187fffa9f0a05359678887f30b58091cf7c5fc47 (diff)
Initial rework to run without the app framework
Changes: - Remove application framework build scripts, and update the application qmake file to just build a "homescreen" binary and support installing it to /usr/bin. - Remove voice API related code. Some of the associated QML and images for the UI have been retained in case equivalent functionality is re-added in the future. - Remove or stub out various app framework API access for the homescreen and launcher bindings, and comment out usage of the Qt wrappers from libqtappfw (e.g. Bluetooth). The aim is to provide a replacement library or libraries for the latter that provide the same functionality. - Remove the old homescreen API documentation and do an initial update of the build instructions in README.md. Bug-AGL: SPEC-4121 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Iab979c8e1341f2da0384f88f163a977b03664600
Diffstat (limited to 'homescreen/src/homescreenhandler.h')
-rw-r--r--homescreen/src/homescreenhandler.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/homescreen/src/homescreenhandler.h b/homescreen/src/homescreenhandler.h
index 790c4fd..6dbf31b 100644
--- a/homescreen/src/homescreenhandler.h
+++ b/homescreen/src/homescreenhandler.h
@@ -19,7 +19,6 @@
#include <QObject>
-#include <libhomescreen.hpp>
#include "applicationlauncher.h"
#include "shell.h"
@@ -34,22 +33,24 @@ public:
explicit HomescreenHandler(Shell *aglShell, ApplicationLauncher *launcher = 0, QObject *parent = 0);
~HomescreenHandler();
- void init(int port, const char* token);
+ void init(void);
Q_INVOKABLE void tapShortcut(QString application_id);
+#if 0
void onRep(struct json_object* reply_contents);
void onEv(const string& event, struct json_object* event_contents);
-
+#endif
static void* myThis;
+#if 0
static void onRep_static(struct json_object* reply_contents);
static void onEv_static(const string& event, struct json_object* event_contents);
+#endif
signals:
void showNotification(QString application_id, QString icon_path, QString text);
void showInformation(QString info);
private:
- LibHomeScreen *mp_hs;
ApplicationLauncher *mp_launcher;
Shell *aglShell;
};