X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=HomeScreen%2Fsrc%2Fhomescreencontrolinterface.h;h=39652f1f839fded708f75850d93c031cc0540dfa;hb=43c6b242b71a35a164b8e14a54c99f2bf667b37b;hp=e34175804d5756417470d348f748f8025115fef6;hpb=d19555c038f6f1f89f08f12c88908d84b32b1bbf;p=staging%2FHomeScreen.git diff --git a/HomeScreen/src/homescreencontrolinterface.h b/HomeScreen/src/homescreencontrolinterface.h index e341758..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 @@ -14,17 +14,23 @@ public: explicit HomeScreenControlInterface(QObject *parent = 0); ~HomeScreenControlInterface(); -signals: - signals: void newRequestsToBeVisibleApp(int pid); - void newRequestsToggleFullscreen(); -//from homescreen_adapter.h + QList newRequestGetAllSurfacesOfProcess(int pid); + int newRequestGetSurfaceStatus(int surfaceId); + void newRequestRenderSurfaceToArea(int surfaceId, int layoutArea); + bool newRequestRenderSurfaceToAreaAllowed(int surfaceId, int layoutArea); + void newRequestSurfaceIdToFullScreen(int surfaceId); + +//from homescreen_adaptor.h public Q_SLOTS: // METHODS + QList getAllSurfacesOfProcess(int pid); + int getSurfaceStatus(int surfaceId); void hardKeyPressed(int key); - void toggleFullScreen(); - + 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;