X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=HomeScreen%2Fsrc%2Flayouthandler.h;h=e51930bce1dbf525fca85b5d72f163fbe2833c50;hb=337319e30026b0bae453dc7363f27469fa2ab526;hp=62e4fb51119d808abca6b32ebaf43393fb17daf4;hpb=0e6231b8e8ad1f9ce2ecaada9c51fa3802a36a09;p=staging%2FHomeScreen.git diff --git a/HomeScreen/src/layouthandler.h b/HomeScreen/src/layouthandler.h index 62e4fb5..e51930b 100644 --- a/HomeScreen/src/layouthandler.h +++ b/HomeScreen/src/layouthandler.h @@ -12,22 +12,35 @@ public: explicit LayoutHandler(QObject *parent = 0); ~LayoutHandler(); - void setUpLayers(); + void setUpLayouts(); 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