#include <QObject>
#include "include/homescreen.hpp"
-#include "homescreen_adapter.h"
+#include "homescreen_adaptor.h"
#include <include/appframework.hpp>
#include <appframework_proxy.h>
QList<int> newRequestGetAllSurfacesOfProcess(int pid);
int newRequestGetSurfaceStatus(int surfaceId);
- void newRequestRenderSurfaceToArea(int surfaceId, const QRect &renderArea);
+ 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
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;