blob: e34175804d5756417470d348f748f8025115fef6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#ifndef HOMESCREENCONTROLINTERFACE_H
#define HOMESCREENCONTROLINTERFACE_H
#include <QObject>
#include "include/homescreen.hpp"
#include "homescreen_adapter.h"
#include <include/appframework.hpp>
#include <appframework_proxy.h>
class HomeScreenControlInterface : public QObject
{
Q_OBJECT
public:
explicit HomeScreenControlInterface(QObject *parent = 0);
~HomeScreenControlInterface();
signals:
signals:
void newRequestsToBeVisibleApp(int pid);
void newRequestsToggleFullscreen();
//from homescreen_adapter.h
public Q_SLOTS: // METHODS
void hardKeyPressed(int key);
void toggleFullScreen();
private:
HomescreenAdaptor *mp_homeScreenAdaptor;
org::agl::appframework *mp_dBusAppFrameworkProxy;
};
#endif // HOMESCREENCONTROLINTERFACE_H
|