X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=HomeScreen%2Fsrc%2Fhomescreencontrolinterface.cpp;h=fae19a2ca163a643d07a0bf512cc9caed5a621e4;hb=ef35ccbf522a2aaaece7625e9886bd910e3bd8b8;hp=45c3cbd722409b1276c2e5afbff5bc980a8e0fb9;hpb=cf8cd699e91df40c3f9070019f7c561432b4b4dd;p=staging%2FHomeScreen.git diff --git a/HomeScreen/src/homescreencontrolinterface.cpp b/HomeScreen/src/homescreencontrolinterface.cpp index 45c3cbd..fae19a2 100644 --- a/HomeScreen/src/homescreencontrolinterface.cpp +++ b/HomeScreen/src/homescreencontrolinterface.cpp @@ -24,6 +24,24 @@ HomeScreenControlInterface::~HomeScreenControlInterface() delete mp_homeScreenAdaptor; } +QList HomeScreenControlInterface::getAllSurfacesOfProcess(int pid) +{ + qDebug("getAllSurfacesOfProcess %d", pid); + return newRequestGetAllSurfacesOfProcess(pid); +} + +QRect HomeScreenControlInterface::getLayoutRenderAreaForSurfaceId(int surfaceId) +{ + qDebug("getLayoutRenderAreaForSurfaceId %d", surfaceId); + return newRequestGetLayoutRenderAreaForSurfaceId(surfaceId); +} + +int HomeScreenControlInterface::getSurfaceStatus(int surfaceId) +{ + qDebug("getSurfaceStatus %d", surfaceId); + return newRequestGetSurfaceStatus(surfaceId); +} + void HomeScreenControlInterface::hardKeyPressed(int key) { int pid = -1; @@ -42,7 +60,14 @@ void HomeScreenControlInterface::hardKeyPressed(int key) } } -void HomeScreenControlInterface::setToFullscreen(int pid) +void HomeScreenControlInterface::renderSurfaceToArea(int surfaceId, const QRect &renderArea) +{ + qDebug("requestSurfaceIdToFullScreen %d", surfaceId); + newRequestRenderSurfaceToArea(surfaceId, renderArea); +} + +void HomeScreenControlInterface::requestSurfaceIdToFullScreen(int surfaceId) { - qDebug("setToFullscreen %d", pid); + qDebug("requestSurfaceIdToFullScreen %d", surfaceId); + newRequestSurfaceIdToFullScreen(surfaceId); }