Implementing app launch and app surface control workflow. Using WindowManager to...
[staging/HomeScreen.git] / HomeScreen / src / homescreencontrolinterface.h
1 #ifndef HOMESCREENCONTROLINTERFACE_H
2 #define HOMESCREENCONTROLINTERFACE_H
3
4 #include <QObject>
5 #include "include/homescreen.hpp"
6 #include "homescreen_adapter.h"
7 #include <include/appframework.hpp>
8 #include <appframework_proxy.h>
9
10 class HomeScreenControlInterface : public QObject
11 {
12     Q_OBJECT
13 public:
14     explicit HomeScreenControlInterface(QObject *parent = 0);
15     ~HomeScreenControlInterface();
16
17 signals:
18
19 signals:
20     void newRequestsToBeVisibleApp(int pid);
21
22 //from homescreen_adapter.h
23 public Q_SLOTS: // METHODS
24     void hardKeyPressed(int key);
25     void setToFullscreen(int pid);
26
27 private:
28     HomescreenAdaptor *mp_homeScreenAdaptor;
29     org::agl::appframework *mp_dBusAppFrameworkProxy;
30 };
31
32 #endif // HOMESCREENCONTROLINTERFACE_H