/*
- * Copyright (C) 2016 Mentor Graphics Development (Deutschland) GmbH
+ * Copyright (C) 2016, 2017 Mentor Graphics Development (Deutschland) GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
#include "windowmanager_adaptor.h"
-
#ifdef HAVE_IVI_LAYERMANAGEMENT_API
#include <ilm/ilm_control.h>
#endif
#ifdef HAVE_IVI_LAYERMANAGEMENT_API
t_ilm_layer* m_showLayers;
+ QMap<pid_t, t_ilm_surface> m_appSurfaces;
QMap<pid_t, t_ilm_layer> m_appLayers;
int getLayerRenderOrder(t_ilm_layer* id_array);
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();
void surfaceVisibilityChanged(int surfaceId, bool visible);
};
-
#endif // WINDOWMANAGER_HPP