From: sinikang Date: Mon, 6 Mar 2017 10:04:02 +0000 (+0900) Subject: Change return-type from List to IEnumerable X-Git-Tag: submit/trunk/20170823.075128~78^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=34a71944866e146ba03f6f6ee7e923039c6db992;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git Change return-type from List to IEnumerable Change-Id: Idf1aa798fd6d335f87b75945a5790693d44c340d --- diff --git a/packaging/csapi-telephony.spec b/packaging/csapi-telephony.spec index 9d143cf..37c525a 100644 --- a/packaging/csapi-telephony.spec +++ b/packaging/csapi-telephony.spec @@ -1,6 +1,6 @@ Name: csapi-telephony Summary: Tizen Telephony API for C# -Version: 1.0.8 +Version: 1.0.9 Release: 1 Group: Development/Libraries License: Apache-2.0 diff --git a/src/Tizen.Telephony/Tizen.Telephony/Call.cs b/src/Tizen.Telephony/Tizen.Telephony/Call.cs index 7a4c1ea..77b6fc1 100644 --- a/src/Tizen.Telephony/Tizen.Telephony/Call.cs +++ b/src/Tizen.Telephony/Tizen.Telephony/Call.cs @@ -91,7 +91,7 @@ namespace Tizen.Telephony /// Incase of Privileges are not defined /// Incase of Telephony is not supported> /// Incase of Out of Memory> - public List GetCallHandleList() + public IEnumerable GetCallHandleList() { uint count; _callList = new IntPtr(); diff --git a/src/Tizen.Telephony/Tizen.Telephony/SlotHandle.cs b/src/Tizen.Telephony/Tizen.Telephony/SlotHandle.cs old mode 100755 new mode 100644 index 51f462e..a93b281 --- a/src/Tizen.Telephony/Tizen.Telephony/SlotHandle.cs +++ b/src/Tizen.Telephony/Tizen.Telephony/SlotHandle.cs @@ -58,7 +58,7 @@ namespace Tizen.Telephony /// 1. Operation Not Supported /// 2. Operation Failed /// - public void SetNotificationId(List list) + public void SetNotificationId(IEnumerable list) { try { @@ -85,7 +85,7 @@ namespace Tizen.Telephony /// 1. Operation Not Supported /// 2. Operation Failed /// - public void RemoveNotificationId(List list) + public void RemoveNotificationId(IEnumerable list) { foreach (ChangeNotificationEventArgs.Notification n in list) { diff --git a/src/Tizen.Telephony/Tizen.Telephony/Telephony.cs b/src/Tizen.Telephony/Tizen.Telephony/Telephony.cs old mode 100755 new mode 100644 index 7c8b239..ed433a6 --- a/src/Tizen.Telephony/Tizen.Telephony/Telephony.cs +++ b/src/Tizen.Telephony/Tizen.Telephony/Telephony.cs @@ -156,7 +156,7 @@ namespace Tizen.Telephony /// 2. If the operation is not supported on device /// 3. If the Operation Failed /// - public static List Init() + public static IEnumerable Init() { //DeInitialize Previous Handles if present if (_isInitialized)