Use std::vector instead of std::list.
[staging/HomeScreen.git] / libhomescreen / include / libhomescreen.hpp
index c028617..6baa805 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef LIBHOMESCREEN_HPP
 #define LIBHOMESCREEN_HPP
 
-#include <list>
+#include <vector>
 
 // forward declarations
 struct _LibHomeScreenHomescreen;
@@ -22,15 +22,15 @@ public:
     ~LibHomeScreen();
 
     // these are representing the D-Bus methods:
-    std::list<int> getAllSurfacesOfProcess(int pid);
-    sRectangle getLayoutRenderAreaForSurfaceId(int surfaceId);
+    std::vector<int> getAllSurfacesOfProcess(int pid);
     int getSurfaceStatus(int surfaceId);
     void hardKeyPressed(int key);
-    void renderSurfaceToArea(int surfaceId, const sRectangle &renderArea);
+    void renderSurfaceToArea(int surfaceId, int layoutArea);
+    bool renderAppToAreaAllowed(int appCategory, int layoutArea);
     void requestSurfaceIdToFullScreen(int surfaceId);
-
 private:
     LibHomeScreenHomescreen *mp_libHomeScreenHomescreen_Proxy;
 };
 
 #endif // LIBHOMESCREEN_HPP
+