X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=HomeScreen%2Fsrc%2Fhomescreencontrolinterface.h;h=39652f1f839fded708f75850d93c031cc0540dfa;hb=ffad9fd5bed339b7ae3bd8086f1c90ce1b6dc69b;hp=27cf4e828ddfd1434da01799e802033f151451de;hpb=f15a0c90d9514d1edf77b390076ae92d7a99a0ab;p=staging%2FHomeScreen.git diff --git a/HomeScreen/src/homescreencontrolinterface.h b/HomeScreen/src/homescreencontrolinterface.h index 27cf4e8..39652f1 100644 --- a/HomeScreen/src/homescreencontrolinterface.h +++ b/HomeScreen/src/homescreencontrolinterface.h @@ -3,7 +3,7 @@ #include #include "include/homescreen.hpp" -#include "homescreen_adapter.h" +#include "homescreen_adaptor.h" #include #include @@ -19,17 +19,18 @@ signals: QList 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 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;