Add org.agl.homescreen function renderSurfaceToAreaAllowed.
[staging/HomeScreen.git] / libhomescreen / include / libhomescreen.hpp
index c028617..6ec843f 100644 (file)
@@ -23,14 +23,14 @@ public:
 
     // these are representing the D-Bus methods:
     std::list<int> getAllSurfacesOfProcess(int pid);
-    sRectangle getLayoutRenderAreaForSurfaceId(int surfaceId);
     int getSurfaceStatus(int surfaceId);
     void hardKeyPressed(int key);
-    void renderSurfaceToArea(int surfaceId, const sRectangle &renderArea);
+    void renderSurfaceToArea(int surfaceId, int layoutArea);
+    bool renderSurfaceToAreaAllowed(int surfaceId, int layoutArea);
     void requestSurfaceIdToFullScreen(int surfaceId);
-
 private:
     LibHomeScreenHomescreen *mp_libHomeScreenHomescreen_Proxy;
 };
 
 #endif // LIBHOMESCREEN_HPP
+