From 337319e30026b0bae453dc7363f27469fa2ab526 Mon Sep 17 00:00:00 2001 From: "Bocklage, Jens" Date: Fri, 11 Nov 2016 10:49:52 +0100 Subject: Add org.agl.homescreen function renderSurfaceToAreaAllowed. This function can be used to request, if it is allowed to render a surface in a layout area in preparation of the real renderSurfaceToArea command. This call will not change anything, it is only a request. Signed-off-by: Bocklage, Jens --- libhomescreen/include/libhomescreen.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libhomescreen/include/libhomescreen.hpp') diff --git a/libhomescreen/include/libhomescreen.hpp b/libhomescreen/include/libhomescreen.hpp index f88b35f..6ec843f 100644 --- a/libhomescreen/include/libhomescreen.hpp +++ b/libhomescreen/include/libhomescreen.hpp @@ -26,10 +26,11 @@ public: int getSurfaceStatus(int surfaceId); void hardKeyPressed(int key); void renderSurfaceToArea(int surfaceId, int layoutArea); + bool renderSurfaceToAreaAllowed(int surfaceId, int layoutArea); void requestSurfaceIdToFullScreen(int surfaceId); - private: LibHomeScreenHomescreen *mp_libHomeScreenHomescreen_Proxy; }; #endif // LIBHOMESCREEN_HPP + -- cgit 1.2.3-korg