Use std::vector instead of std::list.
[staging/HomeScreen.git] / SampleHomeScreenInterfaceApp / src / sampleclass.hpp
index 9293843..fd00afe 100644 (file)
@@ -2,7 +2,7 @@
 #define SAMPLECLASS_HPP
 
 #include "libhomescreen.hpp"
-#include <list>
+#include <vector>
 
 class SampleClass
 {
@@ -10,10 +10,11 @@ public:
     SampleClass();
     ~SampleClass();
 
-    std::list<int> getAllSurfacesOfProcess(int pid);
+    std::vector<int> getAllSurfacesOfProcess(int pid);
     int getSurfaceStatus(int surfaceId);
     void hardKeyPressed(int key);
     void renderSurfaceToArea(int surfaceId, int layoutArea);
+    bool renderAppToAreaAllowed(int appCategory, int layoutArea);
     void requestSurfaceIdToFullScreen(int surfaceId);
 
 private: