X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=HomeScreen%2Fsrc%2Flayouthandler.h;h=e3c0246884f9aa61816f85f4928c7256c631f21b;hb=57e18aeaf2a9ae292af7559580f8154527fc04f5;hp=e51930bce1dbf525fca85b5d72f163fbe2833c50;hpb=337319e30026b0bae453dc7363f27469fa2ab526;p=staging%2FHomeScreen.git diff --git a/HomeScreen/src/layouthandler.h b/HomeScreen/src/layouthandler.h index e51930b..e3c0246 100644 --- a/HomeScreen/src/layouthandler.h +++ b/HomeScreen/src/layouthandler.h @@ -12,24 +12,28 @@ public: explicit LayoutHandler(QObject *parent = 0); ~LayoutHandler(); - void setUpLayouts(); - signals: public slots: - void showAppLayer(); + void showAppLayer(int pid); void hideAppLayer(); void makeMeVisible(int pid); private: void checkToDoQueue(); public slots: - QList requestGetAllSurfacesOfProcess(int pid); + // 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); + // this will receive the surfaceVisibilityChanged signal of the windowmanager + void requestSurfaceVisibilityChanged(int surfaceId, bool visible); + +Q_SIGNALS: // SIGNALS + void surfaceVisibilityChanged(int surfaceId, bool visible); + protected: void timerEvent(QTimerEvent *e); private: