Add org.agl.homescreen function renderSurfaceToAreaAllowed.
[staging/HomeScreen.git] / HomeScreen / src / homescreencontrolinterface.h
index 27cf4e8..b202dc9 100644 (file)
@@ -19,7 +19,8 @@ signals:
 
     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
@@ -27,9 +28,9 @@ 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 renderSurfaceToAreaAllowed(int surfaceId, int layoutArea);
     void requestSurfaceIdToFullScreen(int surfaceId);
-
 private:
     HomescreenAdaptor *mp_homeScreenAdaptor;
     org::agl::appframework *mp_dBusAppFrameworkProxy;