X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=staging%2FHomeScreen.git;a=blobdiff_plain;f=WindowManager%2Fsrc%2Fwindowmanager.hpp;fp=WindowManager%2Fsrc%2Fwindowmanager.hpp;h=70ae31af6d70ebcf2d5422762f0eb232239c5fab;hp=d2c9c9b83ea121f516aefc3e21642dc7abf04877;hb=62bb36ac9f6764c934c0fec673de56ead50dbdf6;hpb=bd7450fb540906bfd374b3eaaa4452b461c82121 diff --git a/WindowManager/src/windowmanager.hpp b/WindowManager/src/windowmanager.hpp index d2c9c9b..70ae31a 100644 --- a/WindowManager/src/windowmanager.hpp +++ b/WindowManager/src/windowmanager.hpp @@ -23,7 +23,6 @@ #include "windowmanager_adaptor.h" - #ifdef HAVE_IVI_LAYERMANAGEMENT_API #include #endif @@ -51,6 +50,7 @@ private: #ifdef HAVE_IVI_LAYERMANAGEMENT_API t_ilm_layer* m_showLayers; + QMap m_appSurfaces; QMap m_appLayers; int getLayerRenderOrder(t_ilm_layer* id_array); @@ -60,8 +60,12 @@ private: pid_t m_pending_to_show; - void addSurfaceToAppLayer(const int surfaceID); + void addSurface(const t_ilm_surface surfaceId); + t_ilm_layer addSurfaceToAppLayer(pid_t pid, const int surfaceId); void addSurfaceToLayer(const int surfaceId, const int layerId); + + void configureHomeScreenMainSurface(const t_ilm_surface surface, const t_ilm_int width, const t_ilm_int height); + void configureAppSurface(const pid_t pid, const t_ilm_surface surface, const t_ilm_int width, const t_ilm_int height); #endif void updateScreen(); @@ -119,5 +123,4 @@ Q_SIGNALS: // SIGNALS void surfaceVisibilityChanged(int surfaceId, bool visible); }; - #endif // WINDOWMANAGER_HPP