fix typo
[staging/HomeScreen.git] / HomeScreen / src / homescreencontrolinterface.h
index 27cf4e8..39652f1 100644 (file)
@@ -3,7 +3,7 @@
 
 #include <QObject>
 #include "include/homescreen.hpp"
-#include "homescreen_adapter.h"
+#include "homescreen_adaptor.h"
 #include <include/appframework.hpp>
 #include <appframework_proxy.h>
 
@@ -19,17 +19,18 @@ signals:
 
     QList<int> newRequestGetAllSurfacesOfProcess(int pid);
     int newRequestGetSurfaceStatus(int surfaceId);
-    void newRequestRenderSurfaceToArea(int surfaceId, const QRect &renderArea);
+    void newRequestRenderSurfaceToArea(int surfaceId, int layoutArea);
+    bool newRequestRenderSurfaceToAreaAllowed(int surfaceId, int layoutArea);
     void newRequestSurfaceIdToFullScreen(int surfaceId);
 
-//from homescreen_adapter.h
+//from homescreen_adaptor.h
 public Q_SLOTS: // METHODS
     QList<int> getAllSurfacesOfProcess(int pid);
     int getSurfaceStatus(int surfaceId);
     void hardKeyPressed(int key);
-    void renderSurfaceToArea(int surfaceId, const QRect &renderArea);
+    void renderSurfaceToArea(int surfaceId, int layoutArea);
+    bool renderAppToAreaAllowed(int appCategory, int layoutArea);
     void requestSurfaceIdToFullScreen(int surfaceId);
-
 private:
     HomescreenAdaptor *mp_homeScreenAdaptor;
     org::agl::appframework *mp_dBusAppFrameworkProxy;