From: minho.sun Date: Tue, 1 Aug 2017 01:52:13 +0000 (+0900) Subject: [Tizen] VisualFactory.Get() is set as obsolete X-Git-Tag: preview1-00180^2~112 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=70778e8e9e6a804986c0e990a3ec6a21ddfaeca3;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git [Tizen] VisualFactory.Get() is set as obsolete This reverts commit 6b5b93ee29819caa2cb1290eeeadeee529af6bb0. Change-Id: If8fdbed509c9936834e20c13f85da1aed9c05240 --- diff --git a/packaging/csapi-nui.spec b/packaging/csapi-nui.spec index 3a6e032..3f444eb 100755 --- a/packaging/csapi-nui.spec +++ b/packaging/csapi-nui.spec @@ -5,7 +5,7 @@ Release: 1 Group: Development/Libraries License: Apache-2.0 and BSD-3-Clause and MIT URL: https://www.tizen.org -Source0: %{name}-%{version}-pre1.tar.gz +Source0: %{name}-%{version}.tar.gz Source1: %{name}.manifest AutoReqProv: no diff --git a/src/Tizen.NUI/Tizen.NUI.csproj b/src/Tizen.NUI/Tizen.NUI.csproj index 1ba9baf..4b2d09f 100755 --- a/src/Tizen.NUI/Tizen.NUI.csproj +++ b/src/Tizen.NUI/Tizen.NUI.csproj @@ -1,7 +1,7 @@  - 0.2.49-pre1 + 0.2.49 Samsung Electronics © Samsung Electronics Co., Ltd All Rights Reserved diff --git a/src/Tizen.NUI/src/public/VisualFactory.cs b/src/Tizen.NUI/src/public/VisualFactory.cs index 5d40948..b1e1d73 100755 --- a/src/Tizen.NUI/src/public/VisualFactory.cs +++ b/src/Tizen.NUI/src/public/VisualFactory.cs @@ -13,6 +13,7 @@ * limitations under the License. * */ +using System; namespace Tizen.NUI { @@ -66,11 +67,8 @@ namespace Tizen.NUI } - /// - /// Create or retrieve VisualFactory singleton. - /// - /// A handle to the VisualFactory control. - private static VisualFactory Get() + [Obsolete("Please do not use! this will be deprecated, please use VisualFactory.Instance instead")] + public static VisualFactory Get() { VisualFactory ret = new VisualFactory(NDalicPINVOKE.VisualFactory_Get(), true); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();