Add org.agl.homescreen function renderSurfaceToAreaAllowed.
[staging/HomeScreen.git] / libhomescreen / include / libhomescreen.hpp
index f92e190..6ec843f 100644 (file)
@@ -1,10 +1,20 @@
 #ifndef LIBHOMESCREEN_HPP
 #define LIBHOMESCREEN_HPP
 
+#include <list>
+
 // forward declarations
 struct _LibHomeScreenHomescreen;
 typedef struct _LibHomeScreenHomescreen LibHomeScreenHomescreen;
 
+typedef struct
+{
+    int x;
+    int y;
+    int width;
+    int height;
+} sRectangle;
+
 class LibHomeScreen
 {
 public:
@@ -12,11 +22,15 @@ public:
     ~LibHomeScreen();
 
     // these are representing the D-Bus methods:
+    std::list<int> getAllSurfacesOfProcess(int pid);
+    int getSurfaceStatus(int surfaceId);
     void hardKeyPressed(int key);
-    void toggleFullScreen();
-
+    void renderSurfaceToArea(int surfaceId, int layoutArea);
+    bool renderSurfaceToAreaAllowed(int surfaceId, int layoutArea);
+    void requestSurfaceIdToFullScreen(int surfaceId);
 private:
     LibHomeScreenHomescreen *mp_libHomeScreenHomescreen_Proxy;
 };
 
 #endif // LIBHOMESCREEN_HPP
+