X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=HomeScreen%2Fsrc%2Fhomescreencontrolinterface.h;h=b202dc91f5bb872852f2a4620a4728f63f1834ba;hb=337319e30026b0bae453dc7363f27469fa2ab526;hp=e34175804d5756417470d348f748f8025115fef6;hpb=d19555c038f6f1f89f08f12c88908d84b32b1bbf;p=staging%2FHomeScreen.git diff --git a/HomeScreen/src/homescreencontrolinterface.h b/HomeScreen/src/homescreencontrolinterface.h index e341758..b202dc9 100644 --- a/HomeScreen/src/homescreencontrolinterface.h +++ b/HomeScreen/src/homescreencontrolinterface.h @@ -14,17 +14,23 @@ public: explicit HomeScreenControlInterface(QObject *parent = 0); ~HomeScreenControlInterface(); -signals: - signals: void newRequestsToBeVisibleApp(int pid); - void newRequestsToggleFullscreen(); + + 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_adapter.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 renderSurfaceToAreaAllowed(int surfaceId, int layoutArea); + void requestSurfaceIdToFullScreen(int surfaceId); private: HomescreenAdaptor *mp_homeScreenAdaptor; org::agl::appframework *mp_dBusAppFrameworkProxy;