diff options
Diffstat (limited to 'launcher/src/applicationhandler.h')
-rw-r--r-- | launcher/src/applicationhandler.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/launcher/src/applicationhandler.h b/launcher/src/applicationhandler.h new file mode 100644 index 0000000..5a5508e --- /dev/null +++ b/launcher/src/applicationhandler.h @@ -0,0 +1,36 @@ +#ifndef APPLICATIONHANDLER_H +#define APPLICATIONHANDLER_H + +#include <QObject> +#include <QDebug> +#include <string> + +#include "launcher.h" + +using namespace std; + +class ApplicationHandler : public QObject +{ + Q_OBJECT +public: + explicit ApplicationHandler(QObject *parent = 0, Launcher *launcher = 0); + ~ApplicationHandler(); + + //void init(int port, const char* token, QLibWindowmanager *qwm, QString myname); + //Q_INVOKABLE void tapShortcut(QString application_id); + Q_INVOKABLE size_t 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: + QString m_myname; + Launcher *m_launcher; +}; + +#endif // APPLICATIONHANDLER_H |