Remove unwanted Interop code for http header and remove Interop.Libc.cs
authoryuvaraj.s <yuvaraj.s@samsung.com>
Tue, 14 Jun 2016 09:34:24 +0000 (15:04 +0530)
committeryuvaraj.s <yuvaraj.s@samsung.com>
Wed, 15 Jun 2016 09:59:18 +0000 (15:29 +0530)
Change-Id: I9011a456c407f77b21defbdcef75ffb256ab5945
Signed-off-by: yuvaraj.s <yuvaraj.s@samsung.com>
Tizen.Content.Download/Interop/Interop.Download.cs
Tizen.Content.Download/Interop/Interop.Libc.cs [deleted file]
Tizen.Content.Download/Tizen.Content.Download.csproj
tct-download-tizen-tests/bin/tct-download-tizen-tests.exe [changed mode: 0755->0644]
tct-download-tizen-tests/lib/Tizen.Content.Download.dll
tct-download-tizen-tests/org.test.tizen.download.tpk

index e4b52d3..6e252c7 100644 (file)
@@ -51,10 +51,6 @@ internal static partial class Interop
         internal static extern int GetTempFilePath(int requestId, out string tempPath);
         [DllImport(Libraries.Download, EntryPoint = "download_add_http_header_field")]
         internal static extern int AddHttpHeaderField(int requestId, string field, string value);
-        [DllImport(Libraries.Download, EntryPoint = "download_get_http_header_field")]
-        internal static extern int GetHttpHeaderField(int requestId, string field, out string value);
-        [DllImport(Libraries.Download, EntryPoint = "download_get_http_header_field_list")]
-        internal static extern int GetHttpHeaderFieldList(int requestId, out IntPtr field, out int length);
         [DllImport(Libraries.Download, EntryPoint = "download_get_downloaded_file_path")]
         internal static extern int GetDownloadedPath(int requestId, out string downloadedPath);
         [DllImport(Libraries.Download, EntryPoint = "download_get_mime_type")]
diff --git a/Tizen.Content.Download/Interop/Interop.Libc.cs b/Tizen.Content.Download/Interop/Interop.Libc.cs
deleted file mode 100644 (file)
index 674ca1d..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright 2016 by Samsung Electronics, Inc.,
-//
-// This software is the confidential and proprietary information
-// of Samsung Electronics, Inc. ("Confidential Information"). You
-// shall not disclose such Confidential Information and shall use
-// it only in accordance with the terms of the license agreement
-// you entered into with Samsung.
-
-using System;
-using System.Runtime.InteropServices;
-
-internal static partial class Interop
-{
-    internal static partial class Libc
-    {
-        [DllImport(Libraries.Libc, EntryPoint = "free", CallingConvention = CallingConvention.Cdecl)]
-        internal static extern int Free(IntPtr ptr);
-    }
-}
index d7ed449..4f87693 100644 (file)
@@ -64,7 +64,6 @@
     <Compile Include="Tizen.Content.Download\ProgressChangedEventArgs.cs" />\r
     <Compile Include="Tizen.Content.Download\DownloadErrorFactory.cs" />\r
     <Compile Include="Interop\Interop.Download.cs" />\r
-    <Compile Include="Interop\Interop.Libc.cs" />\r
     <Compile Include="Interop\Interop.Libraries.cs" />\r
     <Compile Include="Properties\AssemblyInfo.cs" />\r
   </ItemGroup>\r
@@ -79,4 +78,4 @@
   <Target Name="AfterBuild">\r
   </Target>\r
   -->\r
-</Project>
\ No newline at end of file
+</Project>\r
old mode 100755 (executable)
new mode 100644 (file)
index b053beb..d86a23a
Binary files a/tct-download-tizen-tests/bin/tct-download-tizen-tests.exe and b/tct-download-tizen-tests/bin/tct-download-tizen-tests.exe differ
index 893071f..b9195c5 100644 (file)
Binary files a/tct-download-tizen-tests/lib/Tizen.Content.Download.dll and b/tct-download-tizen-tests/lib/Tizen.Content.Download.dll differ
index c891909..c3be4b7 100644 (file)
Binary files a/tct-download-tizen-tests/org.test.tizen.download.tpk and b/tct-download-tizen-tests/org.test.tizen.download.tpk differ