From: WonYoung Choi Date: Tue, 16 Aug 2016 05:40:19 +0000 (+0900) Subject: Remove Tizen.UI dependency X-Git-Tag: submit/trunk/20170823.075128~121^2~132 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b421194f5dd02af2303b3451d567e440df98d6f4;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git Remove Tizen.UI dependency This change uses Tizen.Common.Color instead of Tizen.UI.Color. Tizen.Applications.UIApplication class has moved to Tizen.UI.dll. Change-Id: I52b2bca93316ebc928eb6367188b7210a412564d --- diff --git a/Tizen.Applications/Tizen.Applications.csproj b/Tizen.Applications/Tizen.Applications.csproj index be2699c..513d52a 100644 --- a/Tizen.Applications/Tizen.Applications.csproj +++ b/Tizen.Applications/Tizen.Applications.csproj @@ -104,7 +104,6 @@ - @@ -136,9 +135,6 @@ ..\..\tizen\Tizen.Internals\bin\Debug\Tizen.Internals.dll - - ..\..\uifw\Tizen.UI\bin\Debug\Tizen.UI.dll - @@ -149,13 +145,6 @@ {7659ca59-410d-41a1-9841-586e88bc78c9} Tizen - - {d34841f9-046b-4dbf-9698-143386c24f78} - Tizen.UI - - - - - + \ No newline at end of file diff --git a/Tizen.Applications/Tizen.Applications/Notification.cs b/Tizen.Applications/Tizen.Applications/Notification.cs old mode 100755 new mode 100644 index 2db7a34..4f46f1a --- a/Tizen.Applications/Tizen.Applications/Notification.cs +++ b/Tizen.Applications/Tizen.Applications/Notification.cs @@ -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 { diff --git a/Tizen.Applications/Tizen.Applications/PackageManager.cs b/Tizen.Applications/Tizen.Applications/PackageManager.cs old mode 100755 new mode 100644 index dd54d8e..4aefb1f --- a/Tizen.Applications/Tizen.Applications/PackageManager.cs +++ b/Tizen.Applications/Tizen.Applications/PackageManager.cs @@ -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 index 7cef177..0000000 --- a/Tizen.Applications/Tizen.Applications/UIApplication.cs +++ /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 -{ - /// - /// Represents an application that have UI screen. The UIApplication class has a default main window. - /// - public class UIApplication : CoreUIApplication - { - /// - /// The main window instance of the UIApplication. - /// - /// - /// This window is created before OnCreate() or created event. And the UIApplication will be terminated when this window is closed. - /// - public Window Window { get; private set; } - - /// - /// Overrides this method if want to handle behavior before calling OnCreate(). - /// Window property is initialized in this overrided method. - /// - protected override void OnPreCreate() - { - Window = new Window("C# UI Application"); - Window.Closed += (s, e) => - { - Exit(); - }; - } - } -} diff --git a/packaging/csapi-application.spec b/packaging/csapi-application.spec index eebf804..68a3dd0 100755 --- a/packaging/csapi-application.spec +++ b/packaging/csapi-application.spec @@ -29,7 +29,6 @@ BuildRequires: corefx-managed-32b-ref # C# API Requries BuildRequires: csapi-tizen -BuildRequires: csapi-uifw %description Tizen Application API for C#