homescreenhandler: Add the ability to specify the output based on the
[apps/launcher.git] / launcher / src / homescreenhandler.h
index 09b6848..471a663 100644 (file)
@@ -21,7 +21,8 @@
 #include <QObject>
 #include <libhomescreen.hpp>
 #include <string>
-#include <qlibwindowmanager.h>
+
+#include "shell-desktop.h"
 
 using namespace std;
 
@@ -32,9 +33,9 @@ public:
     explicit HomescreenHandler(QObject *parent = 0);
     ~HomescreenHandler();
 
-    void init(int port, const char* token, QLibWindowmanager *qwm, QString myname);
+    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);
@@ -48,7 +49,7 @@ signals:
 
 private:
     LibHomeScreen *mp_hs;
-    QLibWindowmanager *mp_qwm;
+    Shell *aglShell;
     QString m_myname;
 };