2 * Copyright (c) 2017 Samsung Electronics Co., Ltd.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
19 #include <dali/devel-api/adaptor-framework/input-method-options.h>
22 #include <dali-csharp-binder/common/common.h>
29 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_InputMethodOptions() {
31 Dali::InputMethodOptions *result = 0 ;
35 result = (Dali::InputMethodOptions *)new Dali::InputMethodOptions();
36 } CALL_CATCH_EXCEPTION(0);
39 jresult = (void *)result;
44 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_InputMethodOptions_IsPassword(void * jarg1) {
45 unsigned int jresult ;
46 Dali::InputMethodOptions *arg1 = (Dali::InputMethodOptions *) 0 ;
49 arg1 = (Dali::InputMethodOptions *)jarg1;
52 result = (bool)(arg1)->IsPassword();
53 } CALL_CATCH_EXCEPTION(0);
61 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_InputMethodOptions_ApplyProperty(void * jarg1, void * jarg2) {
62 Dali::InputMethodOptions *arg1 = (Dali::InputMethodOptions *) 0 ;
63 Dali::Property::Map *arg2 = 0 ;
65 arg1 = (Dali::InputMethodOptions *)jarg1;
66 arg2 = (Dali::Property::Map *)jarg2;
68 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Property::Map const & type is null", 0);
73 (arg1)->ApplyProperty((Dali::Property::Map const &)*arg2);
74 } CALL_CATCH_EXCEPTION();
80 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_InputMethodOptions_RetrieveProperty(void * jarg1, void * jarg2) {
81 Dali::InputMethodOptions *arg1 = (Dali::InputMethodOptions *) 0 ;
82 Dali::Property::Map *arg2 = 0 ;
84 arg1 = (Dali::InputMethodOptions *)jarg1;
85 arg2 = (Dali::Property::Map *)jarg2;
87 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Property::Map & type is null", 0);
92 (arg1)->RetrieveProperty(*arg2);
93 } CALL_CATCH_EXCEPTION();
99 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_InputMethodOptions(void * jarg1) {
100 Dali::InputMethodOptions *arg1 = (Dali::InputMethodOptions *) 0 ;
102 arg1 = (Dali::InputMethodOptions *)jarg1;
106 } CALL_CATCH_EXCEPTION();