From: Seoyeon Kim Date: Tue, 19 Jun 2018 04:42:23 +0000 (+0900) Subject: [Tizen] NUI version 502 X-Git-Tag: accepted/tizen/unified/20180620.131551^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f3a47dc84bb8b9ebbfff2cccf46c94c121a3b405;p=platform%2Fcore%2Fuifw%2Fdali-csharp-binder.git [Tizen] NUI version 502 Change-Id: I7e8f1394d1c59c561dd3496aa97bf5cf60d43d0d Signed-off-by: Seoyeon Kim --- diff --git a/dali-csharp-binder/src/version-check.cpp b/dali-csharp-binder/src/version-check.cpp index c9b2ba2..2a41128 100755 --- a/dali-csharp-binder/src/version-check.cpp +++ b/dali-csharp-binder/src/version-check.cpp @@ -1,18 +1,18 @@ -/** Copyright (c) 2017 Samsung Electronics Co., Ltd. -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -* -*/ +/* Copyright (c) 2018 Samsung Electronics Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ #include "common.h" @@ -84,14 +84,22 @@ SWIGEXPORT bool SWIGSTDCALL CSharp_NUI_InternalAPIVersionCheck(int * version, in *reserved2 = 0; return true; } - else if(Dali::CORE_MICRO_VERSION <= 99) + else if(Dali::CORE_MICRO_VERSION <= 27) { - //from dali_1.3.23, nui_api_internal_version is set as 501 + //from dali_1.3.23 to dali 1.3.27, nui_api_internal_version is set as 501 *version = 501; *reserved1 = 0; *reserved2 = 0; return true; } + else if(Dali::CORE_MICRO_VERSION <= 99) + { + //from dali_1.3.28, nui_api_internal_version is set as 502 + *version = 502; + *reserved1 = 0; + *reserved2 = 0; + return true; + } else { *version = Dali::CORE_MAJOR_VERSION; diff --git a/packaging/dali-csharp-binder.spec b/packaging/dali-csharp-binder.spec index f02b7be..b870922 100755 --- a/packaging/dali-csharp-binder.spec +++ b/packaging/dali-csharp-binder.spec @@ -1,6 +1,6 @@ Name: dali-csharp-binder -Version: 1.3.28 +Version: 1.3.28+nui502 Release: 1 Summary: build dali csharp binder License: Apache-2.0 and BSD-3-Clause and MIT