Changes to org.agl.homescreen interface
[staging/HomeScreen.git] / libhomescreen / include / libhomescreen.hpp
index f92e190..f88b35f 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,8 +22,11 @@ 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);
+    void requestSurfaceIdToFullScreen(int surfaceId);
 
 private:
     LibHomeScreenHomescreen *mp_libHomeScreenHomescreen_Proxy;