From: taeyoon0.lee Date: Tue, 25 Apr 2017 05:02:32 +0000 (+0900) Subject: Revert "[Tizen] Change parameter type of GrabKeyList APIs to const reference" X-Git-Tag: accepted/tizen/unified/20170426.061802~19 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=392f45a028cca568554aceb64d91c4c729e569e7;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git Revert "[Tizen] Change parameter type of GrabKeyList APIs to const reference" This reverts commit bc0298c33edc34c96f9af471634d895fc8ad77e3. Change-Id: I0fe276a113fbe3a3b5131b4ae9db5d6842127809 --- 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 898779b..65d11e5 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