X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=HomeScreen%2Fsrc%2Fhomescreencontrolinterface.h;h=39652f1f839fded708f75850d93c031cc0540dfa;hb=b214897817addb565c0252ba5eb1cde174ed799c;hp=fb772db2082314ba2a296da37725fb3667e28c59;hpb=ef35ccbf522a2aaaece7625e9886bd910e3bd8b8;p=staging%2FHomeScreen.git diff --git a/HomeScreen/src/homescreencontrolinterface.h b/HomeScreen/src/homescreencontrolinterface.h index fb772db..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 @@ -18,20 +18,19 @@ signals: void newRequestsToBeVisibleApp(int pid); QList newRequestGetAllSurfacesOfProcess(int pid); - QRect newRequestGetLayoutRenderAreaForSurfaceId(int surfaceId); 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); - QRect getLayoutRenderAreaForSurfaceId(int surfaceId); 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;