From 3c49b031d758537d727e9eeda8fad956b888cc68 Mon Sep 17 00:00:00 2001 From: "minho.sun" Date: Thu, 9 Feb 2017 10:56:34 +0900 Subject: [PATCH] Revert "[Tizen] Change parameter type of GrabKeyList APIs to const reference" This reverts commit 00be30f6b03a074de2ca9600d4232868512f91f8. Change-Id: I0cac9f559ba484b407804ecd3c3484364973ceee --- adaptors/ecore/wayland/key-grab-ecore-wl.cpp | 4 ++-- adaptors/tizen/key-grab.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/adaptors/ecore/wayland/key-grab-ecore-wl.cpp b/adaptors/ecore/wayland/key-grab-ecore-wl.cpp index 85f92c3..12ad210 100755 --- a/adaptors/ecore/wayland/key-grab-ecore-wl.cpp +++ b/adaptors/ecore/wayland/key-grab-ecore-wl.cpp @@ -82,7 +82,7 @@ bool UngrabKey( Window window, Dali::KEY daliKey ) 0, 0 ); } -Dali::Vector GrabKeyList( Window window, const Dali::Vector& daliKeyVector, const Dali::Vector& grabModeVector) +Dali::Vector GrabKeyList( Window window, const Dali::Vector daliKeyVector, const Dali::Vector grabModeVector) { Dali::Vector resultVector; Eina_List *keyList = NULL, *grabList = NULL, *l = NULL, *m = NULL; @@ -152,7 +152,7 @@ Dali::Vector GrabKeyList( Window window, const Dali::Vector& da return resultVector; } -Dali::Vector UngrabKeyList( Window window, const Dali::Vector& daliKeyVector ) +Dali::Vector UngrabKeyList( Window window, const Dali::Vector daliKeyVector ) { Dali::Vector resultVector; Eina_List *keyList = NULL, *ungrabList = NULL, *l = NULL, *m = NULL; diff --git a/adaptors/tizen/key-grab.h b/adaptors/tizen/key-grab.h index ff310e5..931f9aa 100755 --- a/adaptors/tizen/key-grab.h +++ b/adaptors/tizen/key-grab.h @@ -128,7 +128,7 @@ DALI_IMPORT_API bool UngrabKey( Window window, Dali::KEY daliKey ); * @param[in] grabModeVector The Dali::Vector of grab modes for the keys * @return Dali::Vector Size is zero when error occurs, true/false if the grab succeeds/fails. */ -DALI_IMPORT_API Dali::Vector GrabKeyList( Window window, const Dali::Vector& daliKeyVector, const Dali::Vector& grabModeVector); +DALI_IMPORT_API Dali::Vector GrabKeyList( Window window, const Dali::Vector daliKeyVector, const Dali::Vector grabModeVector); /** @@ -144,7 +144,7 @@ DALI_IMPORT_API Dali::Vector GrabKeyList( Window window, const Dali::Vecto * @note If this function is called between key down and up events of a grabbed key, * an application doesn't receive the key up event. */ -DALI_IMPORT_API Dali::Vector UngrabKeyList( Window window, const Dali::Vector& daliKeyVector ); +DALI_IMPORT_API Dali::Vector UngrabKeyList( Window window, const Dali::Vector daliKeyVector ); } // namespace KeyGrab -- 2.7.4