#include <QObject>
#include "include/homescreen.hpp"
-#include "homescreen_adapter.h"
+#include "homescreen_adaptor.h"
#include <include/appframework.hpp>
#include <appframework_proxy.h>
signals:
void newRequestsToBeVisibleApp(int pid);
- QRect newRequestGetLayoutRenderAreaForSurfaceId(int surfaceId);
- void newRequestRenderSurfaceToArea(int surfaceId, const QRect &renderArea);
+ QList<int> newRequestGetAllSurfacesOfProcess(int pid);
+ int newRequestGetSurfaceStatus(int surfaceId);
+ void newRequestRenderSurfaceToArea(int surfaceId, int layoutArea);
+ bool newRequestRenderSurfaceToAreaAllowed(int surfaceId, int layoutArea);
void newRequestSurfaceIdToFullScreen(int surfaceId);
-//from homescreen_adapter.h
+//from homescreen_adaptor.h
public Q_SLOTS: // METHODS
- QRect getLayoutRenderAreaForSurfaceId(int surfaceId);
+ QList<int> getAllSurfacesOfProcess(int pid);
+ int getSurfaceStatus(int surfaceId);
void hardKeyPressed(int key);
- void renderSurfaceToArea(int surfaceId, const QRect &renderArea);
+ void renderSurfaceToArea(int surfaceId, int layoutArea);
+ bool renderAppToAreaAllowed(int appCategory, int layoutArea);
void requestSurfaceIdToFullScreen(int surfaceId);
-
private:
HomescreenAdaptor *mp_homeScreenAdaptor;
org::agl::appframework *mp_dBusAppFrameworkProxy;