X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=HomeScreen%2Fsrc%2Flayouthandler.h;h=e51930bce1dbf525fca85b5d72f163fbe2833c50;hb=337319e30026b0bae453dc7363f27469fa2ab526;hp=cc5b59bc8b265792654a9a9e0f1dcadccdb21718;hpb=c32114eb2ccbe142d73c06a5992544d6eacb97d0;p=staging%2FHomeScreen.git diff --git a/HomeScreen/src/layouthandler.h b/HomeScreen/src/layouthandler.h index cc5b59b..e51930b 100644 --- a/HomeScreen/src/layouthandler.h +++ b/HomeScreen/src/layouthandler.h @@ -17,17 +17,30 @@ public: signals: public slots: + void showAppLayer(); + void hideAppLayer(); void makeMeVisible(int pid); +private: + void checkToDoQueue(); +public slots: + QList requestGetAllSurfacesOfProcess(int pid); + int requestGetSurfaceStatus(int surfaceId); + void requestRenderSurfaceToArea(int surfaceId, int layoutArea); + bool requestRenderSurfaceToAreaAllowed(int surfaceId, int layoutArea); + void requestSurfaceIdToFullScreen(int surfaceId); void setLayoutByName(QString layoutName); +protected: + void timerEvent(QTimerEvent *e); private: + int m_secondsTimerId; org::agl::windowmanager *mp_dBusWindowManagerProxy; org::agl::popup *mp_dBusPopupProxy; - QList m_visibleApps; - QList m_invisibleApps; - QList m_requestsToBeVisibleApps; - + QList m_requestsToBeVisiblePids; + QList m_visibleSurfaces; + QList m_invisibleSurfaces; + QList m_requestsToBeVisibleSurfaces; }; #endif // LAYOUTHANDLER_H