Remove Tizen.UI dependency
authorWonYoung Choi <wy80.choi@samsung.com>
Tue, 16 Aug 2016 05:40:19 +0000 (14:40 +0900)
committerWonYoung Choi <wy80.choi@samsung.com>
Tue, 16 Aug 2016 06:10:14 +0000 (15:10 +0900)
This change uses Tizen.Common.Color instead of Tizen.UI.Color.
Tizen.Applications.UIApplication class has moved to Tizen.UI.dll.

Change-Id: I52b2bca93316ebc928eb6367188b7210a412564d

Tizen.Applications/Tizen.Applications.csproj
Tizen.Applications/Tizen.Applications/Notification.cs [changed mode: 0755->0644]
Tizen.Applications/Tizen.Applications/PackageManager.cs [changed mode: 0755->0644]
Tizen.Applications/Tizen.Applications/UIApplication.cs [deleted file]
packaging/csapi-application.spec

index be2699c..513d52a 100644 (file)
     <Compile Include="Tizen.Applications\SafePackageManagerHandle.cs" />
     <Compile Include="Tizen.Applications\ServiceApplication.cs" />
     <Compile Include="Tizen.Applications\StorageType.cs" />
-    <Compile Include="Tizen.Applications\UIApplication.cs" />
     <Compile Include="Tizen.Applications\ApplicationLaunchedEventArgs.cs" />
     <Compile Include="Tizen.Applications\ApplicationManager.cs" />
     <Compile Include="Tizen.Applications\ApplicationInfoFilter.cs" />
     <Reference Include="Tizen.Internals">
       <HintPath>..\..\tizen\Tizen.Internals\bin\Debug\Tizen.Internals.dll</HintPath>
     </Reference>
-    <Reference Include="Tizen.UI">
-      <HintPath>..\..\uifw\Tizen.UI\bin\Debug\Tizen.UI.dll</HintPath>
-    </Reference>
   </ItemGroup>
   <ItemGroup>
     <ProjectReference Include="..\..\tizen\Tizen.Internals\Tizen.Internals.csproj">
       <Project>{7659ca59-410d-41a1-9841-586e88bc78c9}</Project>
       <Name>Tizen</Name>
     </ProjectReference>
-    <ProjectReference Include="..\..\uifw\Tizen.UI\Tizen.UI.csproj">
-      <Project>{d34841f9-046b-4dbf-9698-143386c24f78}</Project>
-      <Name>Tizen.UI</Name>
-    </ProjectReference>
-  </ItemGroup>
-  <ItemGroup>
-    <WCFMetadata Include="Service References\" />
   </ItemGroup>
   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
   <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
   <Target Name="AfterBuild">
   </Target>
   -->
-</Project>
+</Project>
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index 2db7a34..4f46f1a
@@ -7,10 +7,9 @@
 // you entered into with Samsung.
 
 using System;
-using System.Collections;
-using System.Collections.Generic;
 using System.Runtime.InteropServices;
-using Tizen.UI;
+
+using Tizen.System;
 
 namespace Tizen.Applications.Notifications
 {
old mode 100755 (executable)
new mode 100644 (file)
index dd54d8e..4aefb1f
@@ -485,7 +485,7 @@ namespace Tizen.Applications
                 case Interop.PackageManager.ErrorCode.PermissionDenied:
                     return new UnauthorizedAccessException(errMessage);
                 case Interop.PackageManager.ErrorCode.IoError:
-                    return new System.IO.IOException(errMessage);
+                    return new global::System.IO.IOException(errMessage);
                 default:
                     return new InvalidOperationException(errMessage);
             }
diff --git a/Tizen.Applications/Tizen.Applications/UIApplication.cs b/Tizen.Applications/Tizen.Applications/UIApplication.cs
deleted file mode 100644 (file)
index 7cef177..0000000
+++ /dev/null
@@ -1,39 +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 Tizen.UI;
-
-namespace Tizen.Applications
-{
-    /// <summary>
-    /// Represents an application that have UI screen. The UIApplication class has a default main window.
-    /// </summary>
-    public class UIApplication : CoreUIApplication
-    {
-        /// <summary>
-        /// The main window instance of the UIApplication.
-        /// </summary>
-        /// <remarks>
-        /// This window is created before OnCreate() or created event. And the UIApplication will be terminated when this window is closed.
-        /// </remarks>
-        public Window Window { get; private set; }
-
-        /// <summary>
-        /// Overrides this method if want to handle behavior before calling OnCreate().
-        /// Window property is initialized in this overrided method.
-        /// </summary>
-        protected override void OnPreCreate()
-        {
-            Window = new Window("C# UI Application");
-            Window.Closed += (s, e) =>
-            {
-                Exit();
-            };
-        }
-    }
-}
index eebf804..68a3dd0 100755 (executable)
@@ -29,7 +29,6 @@ BuildRequires: corefx-managed-32b-ref
 
 # C# API Requries
 BuildRequires: csapi-tizen
-BuildRequires: csapi-uifw
 
 %description
 Tizen Application API for C#