Code Review
/
apps
/
launcher.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Remove dependency on old application framework and wayland
[apps/launcher.git]
/
launcher
/
src
/
homescreenhandler.h
diff --git
a/launcher/src/homescreenhandler.h
b/launcher/src/homescreenhandler.h
index
ac490ce
..
c5d46b4
100644
(file)
--- a/
launcher/src/homescreenhandler.h
+++ b/
launcher/src/homescreenhandler.h
@@
-19,10
+19,11
@@
#define HOMESCREENHANDLER_H
#include <QObject>
#define HOMESCREENHANDLER_H
#include <QObject>
-#include <libhomescreen.hpp>
+#include <QString>
+#include <QStringList>
#include <string>
#include <string>
-#include
"shell-desktop.h"
+#include
<json.h>
using namespace std;
using namespace std;
@@
-33,24
+34,14
@@
public:
explicit HomescreenHandler(QObject *parent = 0);
~HomescreenHandler();
explicit HomescreenHandler(QObject *parent = 0);
~HomescreenHandler();
- void init(int port, const char* token, QString myname);
-
- Q_INVOKABLE void tapShortcut(QString application_id);
+ Q_INVOKABLE void tapShortcut(QString application_id, QString output_name);
Q_INVOKABLE void getRunnables(void);
void onRep(struct json_object* reply_contents);
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);
signals:
void initAppList(QString data);
void appListUpdate(QStringList info);
-
-private:
- LibHomeScreen *mp_hs;
- Shell *aglShell;
- QString m_myname;
};
#endif // HOMESCREENHANDLER_H
};
#endif // HOMESCREENHANDLER_H