X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=launcher%2Fsrc%2Fhomescreenhandler.h;h=616f8167f6ab2b543e8ff8ddce5a30c2d1717a12;hb=9495545c38d5e72014cba05f8ea79c98ed3321a1;hp=09b68481cbb90db3e6a03dba74357f51afacdbbf;hpb=5560ed2ad3247dd7ffb73402fd435cd79f62f8a5;p=apps%2Flauncher.git diff --git a/launcher/src/homescreenhandler.h b/launcher/src/homescreenhandler.h index 09b6848..616f816 100644 --- a/launcher/src/homescreenhandler.h +++ b/launcher/src/homescreenhandler.h @@ -19,9 +19,13 @@ #define HOMESCREENHANDLER_H #include -#include +#include +#include #include -#include + +#include + +#include "applaunch_interface.h" using namespace std; @@ -32,24 +36,17 @@ public: explicit HomescreenHandler(QObject *parent = 0); ~HomescreenHandler(); - void init(int port, const char* token, QLibWindowmanager *qwm, QString myname); - Q_INVOKABLE void tapShortcut(QString application_id); 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; - QLibWindowmanager *mp_qwm; - QString m_myname; + org::automotivelinux::AppLaunch *applaunch_iface; }; #endif // HOMESCREENHANDLER_H