From cf89cf77feea84a49c56e37b4cf44c1b9a736103 Mon Sep 17 00:00:00 2001 From: Jiyun Yang Date: Thu, 26 Nov 2020 15:44:08 +0900 Subject: [PATCH] Revert "[Tizen] Binder for Blend Equation" This reverts commit c942ecb80b7a0afa7b4e61422d63fcdc2dbbd080. --- dali-csharp-binder/file.list | 1 - dali-csharp-binder/src/capabilities.cpp | 63 -------------------------- dali-csharp-binder/src/devel-property-wrap.cpp | 5 -- 3 files changed, 69 deletions(-) delete mode 100644 dali-csharp-binder/src/capabilities.cpp diff --git a/dali-csharp-binder/file.list b/dali-csharp-binder/file.list index 5430d9f..1474585 100755 --- a/dali-csharp-binder/file.list +++ b/dali-csharp-binder/file.list @@ -28,7 +28,6 @@ dali_csharp_binder_common_src_files = \ ${dali_csharp_binder_dir}/src/extents.cpp \ ${dali_csharp_binder_dir}/src/text-label.cpp \ ${dali_csharp_binder_dir}/src/text-utils.cpp \ - ${dali_csharp_binder_dir}/src/capabilities.cpp \ ${dali_csharp_binder_dir}/src/capture.cpp \ ${dali_csharp_binder_dir}/src/gl-window.cpp \ ${dali_csharp_binder_dir}/src/autofill-container-wrap.cpp diff --git a/dali-csharp-binder/src/capabilities.cpp b/dali-csharp-binder/src/capabilities.cpp deleted file mode 100644 index 3bffd79..0000000 --- a/dali-csharp-binder/src/capabilities.cpp +++ /dev/null @@ -1,63 +0,0 @@ -#ifndef CSHARP_CAPABILITIES -#define CSHARP_CAPABILITIES - -/* - * Copyright (c) 2020 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" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -SWIGEXPORT bool SWIGSTDCALL CSharp_Dali_IsBlendEquationSupported( int blendEquation ) { - bool jresult; - - { - try { - jresult = Dali::Capabilities::IsBlendEquationSupported( static_cast(blendEquation) ); - } - catch (std::out_of_range & e) { - { - SWIG_CSharpException(SWIG_IndexError, const_cast(e.what())); return 0; - }; - } - catch (std::exception & e) { - { - SWIG_CSharpException(SWIG_RuntimeError, const_cast(e.what())); return 0; - }; - } - catch (Dali::DaliException e) { - { - SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0; - }; - } - catch (...) { - { - SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0; - }; - } - } - return jresult; -} - -#ifdef __cplusplus -} -#endif - -#endif \ No newline at end of file diff --git a/dali-csharp-binder/src/devel-property-wrap.cpp b/dali-csharp-binder/src/devel-property-wrap.cpp index 98ddaf9..7e43dba 100755 --- a/dali-csharp-binder/src/devel-property-wrap.cpp +++ b/dali-csharp-binder/src/devel-property-wrap.cpp @@ -74,11 +74,6 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Actor_Property_TOUCH_AREA_get() { return Dali::DevelActor::Property::TOUCH_AREA; } -SWIGEXPORT int SWIGSTDCALL CSharp_Actor_Property_BLEND_EQUATION_get() { - - return Dali::DevelActor::Property::BLEND_EQUATION; -} - SWIGEXPORT int SWIGSTDCALL CSharp_View_Property_TOOLTIP_get() { int jresult ; int result; -- 2.7.4