1 /** Copyright (c) 2019 Samsung Electronics Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
7 * http://www.apache.org/licenses/LICENSE-2.0
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
22 #include <dali/devel-api/adaptor-framework/window-devel.h>
23 #include <dali/public-api/adaptor-framework/window.h>
24 #include <dali/integration-api/adaptor-framework/adaptor.h>
26 #include <dali-toolkit/devel-api/controls/control-devel.h>
28 /* Callback for returning strings to C# without leaking memory */
29 typedef char * (SWIGSTDCALL* SWIG_CSharpStringHelperCallback)(const char *);
30 extern SWIG_CSharpStringHelperCallback SWIG_csharp_string_callback;
34 SWIGINTERN bool Dali_Signal_Sl_void_Sp_bool_SP__Sg__Empty(Dali::Signal< void (bool) > const *self){
37 SWIGINTERN std::size_t Dali_Signal_Sl_void_Sp_bool_SP__Sg__GetConnectionCount(Dali::Signal< void (bool) > const *self){
38 return self->GetConnectionCount();
40 SWIGINTERN void Dali_Signal_Sl_void_Sp_bool_SP__Sg__Connect(Dali::Signal< void (bool) > *self,void (*func)(bool)){
41 self->Connect( func );
43 SWIGINTERN void Dali_Signal_Sl_void_Sp_bool_SP__Sg__Disconnect(Dali::Signal< void (bool) > *self,void (*func)(bool)){
44 self->Disconnect( func );
46 SWIGINTERN void Dali_Signal_Sl_void_Sp_bool_SP__Sg__Emit(Dali::Signal< void (bool) > *self,bool arg){
51 SWIGINTERN bool Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__Empty(Dali::Signal< void (Dali::Window::WindowSize) > const *self){
54 SWIGINTERN std::size_t Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__GetConnectionCount(Dali::Signal< void (Dali::Window::WindowSize) > const *self){
55 return self->GetConnectionCount();
57 SWIGINTERN void Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__Connect(Dali::Signal< void (Dali::Window::WindowSize) > *self,void (*func)(Dali::Window::WindowSize)){
58 self->Connect( func );
60 SWIGINTERN void Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__Disconnect(Dali::Signal< void (Dali::Window::WindowSize) > *self,void (*func)(Dali::Window::WindowSize)){
61 self->Disconnect( func );
63 SWIGINTERN void Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__Emit(Dali::Signal< void (Dali::Window::WindowSize) > *self,Dali::Window::WindowSize arg){
68 SWIGINTERN bool Dali_Signal_Window_Transition_Effect_Event_Signal_Empty(Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > const *self){
71 SWIGINTERN std::size_t Dali_Signal_Window_Transition_Effect_Event_Signal_GetConnectionCount(Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > const *self){
72 return self->GetConnectionCount();
74 SWIGINTERN void Dali_Signal_Window_Transition_Effect_Event_Signal_Connect(Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *self, void (*func)(Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType)){
75 self->Connect( func );
77 SWIGINTERN void Dali_Signal_Window_Transition_Effect_Event_Signal_Disconnect(Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *self,void (*func)(Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType)){
78 self->Disconnect( func );
80 SWIGINTERN void Dali_Signal_Window_Transition_Effect_Event_Signal_Emit(Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *self,Dali::Window arg, Dali::DevelWindow::EffectState state, Dali::DevelWindow::EffectType type){
81 self->Emit( arg, state, type );
90 SWIGEXPORT Dali::BaseHandle * SWIGSTDCALL CSharp_Dali_Window_SWIGUpcast(Dali::Window *jarg1) {
91 return (Dali::BaseHandle *)jarg1;
94 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_New__SWIG_0(void * jarg1, char * jarg2, unsigned int jarg3) {
96 Dali::PositionSize arg1 ;
97 std::string *arg2 = 0 ;
99 Dali::PositionSize *argp1 ;
102 argp1 = (Dali::PositionSize *)jarg1;
105 arg1 = Dali::PositionSize(0, 0, 0, 0);
112 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
115 std::string arg2_str(jarg2);
117 arg3 = jarg3 ? true : false;
120 result = Dali::Window::New(arg1,(std::string const &)*arg2,arg3);
121 } catch (std::out_of_range& e) {
123 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
125 } catch (std::exception& e) {
127 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
129 } catch (Dali::DaliException e) {
131 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
135 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
140 jresult = new Dali::Window((const Dali::Window &)result);
142 //argout typemap for const std::string&
148 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_New__SWIG_1(void * jarg1, char * jarg2) {
150 Dali::PositionSize arg1 ;
151 std::string *arg2 = 0 ;
152 Dali::PositionSize *argp1 ;
155 argp1 = (Dali::PositionSize *)jarg1;
157 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::PositionSize", 0);
162 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
165 std::string arg2_str(jarg2);
169 result = Dali::Window::New(arg1,(std::string const &)*arg2);
170 } catch (std::out_of_range& e) {
172 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
174 } catch (std::exception& e) {
176 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
178 } catch (Dali::DaliException e) {
180 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
184 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
189 jresult = new Dali::Window((const Dali::Window &)result);
191 //argout typemap for const std::string&
197 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_New__SWIG_2(void * jarg1, char * jarg2, char * jarg3, unsigned int jarg4) {
199 Dali::PositionSize arg1 ;
200 std::string *arg2 = 0 ;
201 std::string *arg3 = 0 ;
203 Dali::PositionSize *argp1 ;
206 argp1 = (Dali::PositionSize *)jarg1;
208 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::PositionSize", 0);
213 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
216 std::string arg2_str(jarg2);
219 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
222 std::string arg3_str(jarg3);
224 arg4 = jarg4 ? true : false;
227 result = Dali::Window::New(arg1,(std::string const &)*arg2,(std::string const &)*arg3,arg4);
228 } catch (std::out_of_range& e) {
230 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
232 } catch (std::exception& e) {
234 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
236 } catch (Dali::DaliException e) {
238 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
242 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
247 jresult = new Dali::Window((const Dali::Window &)result);
253 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_New__SWIG_3(void * jarg1, char * jarg2, char * jarg3) {
255 Dali::PositionSize arg1 ;
256 std::string *arg2 = 0 ;
257 std::string *arg3 = 0 ;
258 Dali::PositionSize *argp1 ;
261 argp1 = (Dali::PositionSize *)jarg1;
263 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::PositionSize", 0);
268 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
271 std::string arg2_str(jarg2);
274 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
277 std::string arg3_str(jarg3);
281 result = Dali::Window::New(arg1,(std::string const &)*arg2,(std::string const &)*arg3);
282 } catch (std::out_of_range& e) {
284 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
286 } catch (std::exception& e) {
288 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
290 } catch (Dali::DaliException e) {
292 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
296 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
301 jresult = new Dali::Window((const Dali::Window &)result);
307 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_Window__SWIG_0() {
309 Dali::Window *result = 0 ;
313 result = (Dali::Window *)new Dali::Window();
314 } catch (std::out_of_range& e) {
316 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
318 } catch (std::exception& e) {
320 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
322 } catch (Dali::DaliException e) {
324 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
328 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
333 jresult = (void *)result;
338 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_Window(void * jarg1) {
339 Dali::Window *arg1 = (Dali::Window *) 0 ;
341 arg1 = (Dali::Window *)jarg1;
345 } catch (std::out_of_range& e) {
347 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
349 } catch (std::exception& e) {
351 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
353 } catch (Dali::DaliException e) {
355 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
359 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
367 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_Window__SWIG_1(void * jarg1) {
369 Dali::Window *arg1 = 0 ;
370 Dali::Window *result = 0 ;
372 arg1 = (Dali::Window *)jarg1;
374 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Window const & type is null", 0);
379 result = (Dali::Window *)new Dali::Window((Dali::Window const &)*arg1);
380 } catch (std::out_of_range& e) {
382 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
384 } catch (std::exception& e) {
386 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
388 } catch (Dali::DaliException e) {
390 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
394 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
399 jresult = (void *)result;
404 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_Assign(void * jarg1, void * jarg2) {
406 Dali::Window *arg1 = (Dali::Window *) 0 ;
407 Dali::Window *arg2 = 0 ;
408 Dali::Window *result = 0 ;
410 arg1 = (Dali::Window *)jarg1;
411 arg2 = (Dali::Window *)jarg2;
413 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Window const & type is null", 0);
418 result = (Dali::Window *) &(arg1)->operator =((Dali::Window const &)*arg2);
419 } catch (std::out_of_range& e) {
421 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
423 } catch (std::exception& e) {
425 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
427 } catch (Dali::DaliException e) {
429 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
433 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
438 jresult = (void *)result;
443 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_ShowIndicator(void * jarg1, int jarg2) {
444 Dali::Window *arg1 = (Dali::Window *) 0 ;
445 Dali::Window::IndicatorVisibleMode arg2 ;
447 arg1 = (Dali::Window *)jarg1;
448 arg2 = (Dali::Window::IndicatorVisibleMode)jarg2;
451 (arg1)->ShowIndicator(arg2);
452 } catch (std::out_of_range& e) {
454 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
456 } catch (std::exception& e) {
458 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
460 } catch (Dali::DaliException e) {
462 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
466 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
474 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetIndicatorBgOpacity(void * jarg1, int jarg2) {
475 Dali::Window *arg1 = (Dali::Window *) 0 ;
476 Dali::Window::IndicatorBgOpacity arg2 ;
478 arg1 = (Dali::Window *)jarg1;
479 arg2 = (Dali::Window::IndicatorBgOpacity)jarg2;
482 (arg1)->SetIndicatorBgOpacity(arg2);
483 } catch (std::out_of_range& e) {
485 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
487 } catch (std::exception& e) {
489 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
491 } catch (Dali::DaliException e) {
493 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
497 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
505 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_RotateIndicator(void * jarg1, int jarg2) {
506 Dali::Window *arg1 = (Dali::Window *) 0 ;
507 Dali::Window::WindowOrientation arg2 ;
509 arg1 = (Dali::Window *)jarg1;
510 arg2 = (Dali::Window::WindowOrientation)jarg2;
513 (arg1)->RotateIndicator(arg2);
514 } catch (std::out_of_range& e) {
516 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
518 } catch (std::exception& e) {
520 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
522 } catch (Dali::DaliException e) {
524 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
528 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
536 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetClass(void * jarg1, char * jarg2, char * jarg3) {
537 Dali::Window *arg1 = (Dali::Window *) 0 ;
541 arg1 = (Dali::Window *)jarg1;
543 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
546 (&arg2)->assign(jarg2);
548 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
551 (&arg3)->assign(jarg3);
554 (arg1)->SetClass(arg2,arg3);
555 } catch (std::out_of_range& e) {
557 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
559 } catch (std::exception& e) {
561 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
563 } catch (Dali::DaliException e) {
565 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
569 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
577 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Raise(void * jarg1) {
578 Dali::Window *arg1 = (Dali::Window *) 0 ;
580 arg1 = (Dali::Window *)jarg1;
584 } catch (std::out_of_range& e) {
586 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
588 } catch (std::exception& e) {
590 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
592 } catch (Dali::DaliException e) {
594 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
598 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
606 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Lower(void * jarg1) {
607 Dali::Window *arg1 = (Dali::Window *) 0 ;
609 arg1 = (Dali::Window *)jarg1;
613 } catch (std::out_of_range& e) {
615 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
617 } catch (std::exception& e) {
619 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
621 } catch (Dali::DaliException e) {
623 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
627 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
635 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Activate(void * jarg1) {
636 Dali::Window *arg1 = (Dali::Window *) 0 ;
638 arg1 = (Dali::Window *)jarg1;
642 } catch (std::out_of_range& e) {
644 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
646 } catch (std::exception& e) {
648 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
650 } catch (Dali::DaliException e) {
652 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
656 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
664 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_AddAvailableOrientation(void * jarg1, int jarg2) {
665 Dali::Window *arg1 = (Dali::Window *) 0 ;
666 Dali::Window::WindowOrientation arg2 ;
668 arg1 = (Dali::Window *)jarg1;
669 arg2 = (Dali::Window::WindowOrientation)jarg2;
672 (arg1)->AddAvailableOrientation(arg2);
673 } catch (std::out_of_range& e) {
675 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
677 } catch (std::exception& e) {
679 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
681 } catch (Dali::DaliException e) {
683 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
687 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
695 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_RemoveAvailableOrientation(void * jarg1, int jarg2) {
696 Dali::Window *arg1 = (Dali::Window *) 0 ;
697 Dali::Window::WindowOrientation arg2 ;
699 arg1 = (Dali::Window *)jarg1;
700 arg2 = (Dali::Window::WindowOrientation)jarg2;
703 (arg1)->RemoveAvailableOrientation(arg2);
704 } catch (std::out_of_range& e) {
706 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
708 } catch (std::exception& e) {
710 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
712 } catch (Dali::DaliException e) {
714 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
718 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
726 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetPreferredOrientation(void * jarg1, int jarg2) {
727 Dali::Window *arg1 = (Dali::Window *) 0 ;
728 Dali::Window::WindowOrientation arg2 ;
730 arg1 = (Dali::Window *)jarg1;
731 arg2 = (Dali::Window::WindowOrientation)jarg2;
734 (arg1)->SetPreferredOrientation(arg2);
735 } catch (std::out_of_range& e) {
737 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
739 } catch (std::exception& e) {
741 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
743 } catch (Dali::DaliException e) {
745 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
749 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
757 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_Window_GetPreferredOrientation(void * jarg1) {
759 Dali::Window *arg1 = (Dali::Window *) 0 ;
760 Dali::Window::WindowOrientation result;
762 arg1 = (Dali::Window *)jarg1;
765 result = (Dali::Window::WindowOrientation)(arg1)->GetPreferredOrientation();
766 } catch (std::out_of_range& e) {
768 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
770 } catch (std::exception& e) {
772 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
774 } catch (Dali::DaliException e) {
776 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
780 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
785 jresult = (int)result;
790 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_GetNativeHandle(void * jarg1) {
792 Dali::Window *arg1 = (Dali::Window *) 0 ;
795 arg1 = (Dali::Window *)jarg1;
798 result = ((Dali::Window const *)arg1)->GetNativeHandle();
799 } catch (std::out_of_range& e) {
801 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
803 } catch (std::exception& e) {
805 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
807 } catch (Dali::DaliException e) {
809 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
813 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
818 jresult = new Dali::Any((const Dali::Any &)result);
822 /*window-devel binding*/
824 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_FocusChangedSignal(void * jarg1) {
827 Dali::Window *argp1 ;
828 Dali::Window::FocusSignalType *result = 0 ;
830 argp1 = (Dali::Window *)jarg1;
832 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
838 result = (Dali::Window::FocusSignalType*)&arg1.FocusChangedSignal();
839 } catch (std::out_of_range& e) {
841 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
843 } catch (std::exception& e) {
845 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
847 } catch (Dali::DaliException e) {
849 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
853 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
858 jresult = (void *)result;
863 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_SetAcceptFocus(void * jarg1, unsigned int jarg2) {
866 Dali::Window *argp1 ;
868 argp1 = (Dali::Window *)jarg1;
870 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
874 arg2 = jarg2 ? true : false;
877 arg1.SetAcceptFocus(arg2);
878 } catch (std::out_of_range& e) {
880 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
882 } catch (std::exception& e) {
884 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
886 } catch (Dali::DaliException e) {
888 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
892 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
900 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_IsFocusAcceptable(void * jarg1) {
901 unsigned int jresult ;
903 Dali::Window *argp1 ;
906 argp1 = (Dali::Window *)jarg1;
908 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
914 result = (bool)arg1.IsFocusAcceptable();
915 } catch (std::out_of_range& e) {
917 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
919 } catch (std::exception& e) {
921 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
923 } catch (Dali::DaliException e) {
925 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
929 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
939 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Show(void * jarg1) {
941 Dali::Window *argp1 ;
943 argp1 = (Dali::Window *)jarg1;
945 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
952 } catch (std::out_of_range& e) {
954 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
956 } catch (std::exception& e) {
958 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
960 } catch (Dali::DaliException e) {
962 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
966 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
974 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Hide(void * jarg1) {
976 Dali::Window *argp1 ;
978 argp1 = (Dali::Window *)jarg1;
980 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
987 } catch (std::out_of_range& e) {
989 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
991 } catch (std::exception& e) {
993 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
995 } catch (Dali::DaliException e) {
997 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1001 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1009 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_IsVisible(void * jarg1) {
1010 unsigned int jresult ;
1012 Dali::Window *argp1 ;
1015 argp1 = (Dali::Window *)jarg1;
1017 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1023 result = (bool)arg1.IsVisible();
1024 } catch (std::out_of_range& e) {
1026 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1028 } catch (std::exception& e) {
1030 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1032 } catch (Dali::DaliException e) {
1034 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1038 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1048 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_GetSupportedAuxiliaryHintCount(void * jarg1) {
1049 unsigned int jresult ;
1051 Dali::Window *argp1 ;
1052 unsigned int result;
1054 argp1 = (Dali::Window *)jarg1;
1056 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1062 result = (unsigned int)arg1.GetSupportedAuxiliaryHintCount();
1063 } catch (std::out_of_range& e) {
1065 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1067 } catch (std::exception& e) {
1069 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1071 } catch (Dali::DaliException e) {
1073 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1077 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1087 SWIGEXPORT char * SWIGSTDCALL CSharp_Dali_GetSupportedAuxiliaryHint(void * jarg1, unsigned int jarg2) {
1091 Dali::Window *argp1 ;
1094 argp1 = (Dali::Window *)jarg1;
1096 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1100 arg2 = (unsigned int)jarg2;
1103 result = arg1.GetSupportedAuxiliaryHint(arg2);
1104 } catch (std::out_of_range& e) {
1106 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1108 } catch (std::exception& e) {
1110 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1112 } catch (Dali::DaliException e) {
1114 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1118 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1123 jresult = SWIG_csharp_string_callback((&result)->c_str());
1128 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_AddAuxiliaryHint(void * jarg1, char * jarg2, char * jarg3) {
1129 unsigned int jresult ;
1131 std::string *arg2 = 0 ;
1132 std::string *arg3 = 0 ;
1133 Dali::Window *argp1 ;
1134 unsigned int result;
1136 argp1 = (Dali::Window *)jarg1;
1138 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1143 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
1146 std::string arg2_str(jarg2);
1149 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
1152 std::string arg3_str(jarg3);
1156 result = (unsigned int)arg1.AddAuxiliaryHint((std::string const &)*arg2,(std::string const &)*arg3);
1157 } catch (std::out_of_range& e) {
1159 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1161 } catch (std::exception& e) {
1163 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1165 } catch (Dali::DaliException e) {
1167 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1171 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1182 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_RemoveAuxiliaryHint(void * jarg1, unsigned int jarg2) {
1183 unsigned int jresult ;
1186 Dali::Window *argp1 ;
1189 argp1 = (Dali::Window *)jarg1;
1191 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1195 arg2 = (unsigned int)jarg2;
1198 result = (bool)arg1.RemoveAuxiliaryHint(arg2);
1199 } catch (std::out_of_range& e) {
1201 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1203 } catch (std::exception& e) {
1205 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1207 } catch (Dali::DaliException e) {
1209 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1213 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1223 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_SetAuxiliaryHintValue(void * jarg1, unsigned int jarg2, char * jarg3) {
1224 unsigned int jresult ;
1227 std::string *arg3 = 0 ;
1228 Dali::Window *argp1 ;
1231 argp1 = (Dali::Window *)jarg1;
1233 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1237 arg2 = (unsigned int)jarg2;
1239 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
1242 std::string arg3_str(jarg3);
1246 result = (bool)arg1.SetAuxiliaryHintValue(arg2,(std::string const &)*arg3);
1247 } catch (std::out_of_range& e) {
1249 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1251 } catch (std::exception& e) {
1253 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1255 } catch (Dali::DaliException e) {
1257 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1261 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1268 //argout typemap for const std::string&
1274 SWIGEXPORT char * SWIGSTDCALL CSharp_Dali_GetAuxiliaryHintValue(void * jarg1, unsigned int jarg2) {
1278 Dali::Window *argp1 ;
1281 argp1 = (Dali::Window *)jarg1;
1283 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1287 arg2 = (unsigned int)jarg2;
1290 result = arg1.GetAuxiliaryHintValue(arg2);
1291 } catch (std::out_of_range& e) {
1293 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1295 } catch (std::exception& e) {
1297 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1299 } catch (Dali::DaliException e) {
1301 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1305 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1310 jresult = SWIG_csharp_string_callback((&result)->c_str());
1315 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_GetAuxiliaryHintId(void * jarg1, char * jarg2) {
1316 unsigned int jresult ;
1318 std::string *arg2 = 0 ;
1319 Dali::Window *argp1 ;
1320 unsigned int result;
1322 argp1 = (Dali::Window *)jarg1;
1324 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1329 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
1332 std::string arg2_str(jarg2);
1336 result = (unsigned int)arg1.GetAuxiliaryHintId((std::string const &)*arg2);
1337 } catch (std::out_of_range& e) {
1339 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1341 } catch (std::exception& e) {
1343 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1345 } catch (Dali::DaliException e) {
1347 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1351 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1358 //argout typemap for const std::string&
1364 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_SetInputRegion(void * jarg1, void * jarg2) {
1366 Dali::Rect< int > *arg2 = 0 ;
1367 Dali::Window *argp1 ;
1369 argp1 = (Dali::Window *)jarg1;
1371 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1375 arg2 = (Dali::Rect< int > *)jarg2;
1377 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Rect< int > const & type is null", 0);
1382 arg1.SetInputRegion((Dali::Rect< int > const &)*arg2);
1383 } catch (std::out_of_range& e) {
1385 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1387 } catch (std::exception& e) {
1389 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1391 } catch (Dali::DaliException e) {
1393 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1397 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1405 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_SetType(void * jarg1, int jarg2) {
1407 Dali::Window::Type arg2 ;
1408 Dali::Window *argp1 ;
1410 argp1 = (Dali::Window *)jarg1;
1412 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1416 arg2 = (Dali::Window::Type)jarg2;
1420 } catch (std::out_of_range& e) {
1422 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1424 } catch (std::exception& e) {
1426 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1428 } catch (Dali::DaliException e) {
1430 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1434 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1442 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GetType(void * jarg1) {
1445 Dali::Window *argp1 ;
1446 Dali::Window::Type result;
1448 argp1 = (Dali::Window *)jarg1;
1450 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1456 result = (Dali::Window::Type)arg1.GetType();
1457 } catch (std::out_of_range& e) {
1459 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1461 } catch (std::exception& e) {
1463 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1465 } catch (Dali::DaliException e) {
1467 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1471 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1476 jresult = (int)result;
1481 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_SetNotificationLevel(void * jarg1, int jarg2) {
1482 unsigned int jresult ;
1484 Dali::Window::NotificationLevel::Type arg2 ;
1485 Dali::Window *argp1 ;
1488 argp1 = (Dali::Window *)jarg1;
1490 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1494 arg2 = (Dali::Window::NotificationLevel::Type)jarg2;
1497 result = (bool)arg1.SetNotificationLevel(arg2);
1498 } catch (std::out_of_range& e) {
1500 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1502 } catch (std::exception& e) {
1504 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1506 } catch (Dali::DaliException e) {
1508 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1512 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1522 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GetNotificationLevel(void * jarg1) {
1525 Dali::Window *argp1 ;
1526 Dali::Window::NotificationLevel::Type result;
1528 argp1 = (Dali::Window *)jarg1;
1530 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1536 result = (Dali::Window::NotificationLevel::Type)arg1.GetNotificationLevel();
1537 } catch (std::out_of_range& e) {
1539 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1541 } catch (std::exception& e) {
1543 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1545 } catch (Dali::DaliException e) {
1547 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1551 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1556 jresult = (int)result;
1561 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_SetOpaqueState(void * jarg1, unsigned int jarg2) {
1564 Dali::Window *argp1 ;
1566 argp1 = (Dali::Window *)jarg1;
1568 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1572 arg2 = jarg2 ? true : false;
1575 arg1.SetOpaqueState(arg2);
1576 } catch (std::out_of_range& e) {
1578 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1580 } catch (std::exception& e) {
1582 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1584 } catch (Dali::DaliException e) {
1586 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1590 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1598 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_IsOpaqueState(void * jarg1) {
1599 unsigned int jresult ;
1601 Dali::Window *argp1 ;
1604 argp1 = (Dali::Window *)jarg1;
1606 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1612 result = (bool)arg1.IsOpaqueState();
1613 } catch (std::out_of_range& e) {
1615 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1617 } catch (std::exception& e) {
1619 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1621 } catch (Dali::DaliException e) {
1623 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1627 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1637 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_SetScreenOffMode(void * jarg1, int jarg2) {
1638 unsigned int jresult ;
1640 Dali::Window::ScreenOffMode::Type arg2 ;
1641 Dali::Window *argp1 ;
1644 argp1 = (Dali::Window *)jarg1;
1646 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1650 arg2 = (Dali::Window::ScreenOffMode::Type)jarg2;
1653 result = (bool)arg1.SetScreenOffMode(arg2);
1654 } catch (std::out_of_range& e) {
1656 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1658 } catch (std::exception& e) {
1660 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1662 } catch (Dali::DaliException e) {
1664 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1668 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1678 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GetScreenOffMode(void * jarg1) {
1681 Dali::Window *argp1 ;
1682 Dali::Window::ScreenOffMode::Type result;
1684 argp1 = (Dali::Window *)jarg1;
1686 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1692 result = (Dali::Window::ScreenOffMode::Type)arg1.GetScreenOffMode();
1693 } catch (std::out_of_range& e) {
1695 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1697 } catch (std::exception& e) {
1699 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1701 } catch (Dali::DaliException e) {
1703 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1707 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1712 jresult = (int)result;
1717 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_SetBrightness(void * jarg1, int jarg2) {
1718 unsigned int jresult ;
1721 Dali::Window *argp1 ;
1724 argp1 = (Dali::Window *)jarg1;
1726 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1733 result = (bool)arg1.SetBrightness(arg2);
1734 } catch (std::out_of_range& e) {
1736 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1738 } catch (std::exception& e) {
1740 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1742 } catch (Dali::DaliException e) {
1744 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1748 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1758 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GetBrightness(void * jarg1) {
1761 Dali::Window *argp1 ;
1764 argp1 = (Dali::Window *)jarg1;
1766 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1772 result = (int)arg1.GetBrightness();
1773 } catch (std::out_of_range& e) {
1775 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1777 } catch (std::exception& e) {
1779 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1781 } catch (Dali::DaliException e) {
1783 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1787 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1796 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_WindowFocusSignalType_Empty(void * jarg1) {
1797 unsigned int jresult ;
1798 Dali::Signal< void (bool) > *arg1 = (Dali::Signal< void (bool) > *) 0 ;
1801 arg1 = (Dali::Signal< void (bool) > *)jarg1;
1804 result = (bool)Dali_Signal_Sl_void_Sp_bool_SP__Sg__Empty((Dali::Signal< void (bool) > const *)arg1);
1805 } catch (std::out_of_range& e) {
1807 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1809 } catch (std::exception& e) {
1811 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1813 } catch (Dali::DaliException e) {
1815 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1819 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1829 SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_WindowFocusSignalType_GetConnectionCount(void * jarg1) {
1830 unsigned long jresult ;
1831 Dali::Signal< void (bool) > *arg1 = (Dali::Signal< void (bool) > *) 0 ;
1834 arg1 = (Dali::Signal< void (bool) > *)jarg1;
1837 result = Dali_Signal_Sl_void_Sp_bool_SP__Sg__GetConnectionCount((Dali::Signal< void (bool) > const *)arg1);
1838 } catch (std::out_of_range& e) {
1840 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1842 } catch (std::exception& e) {
1844 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1846 } catch (Dali::DaliException e) {
1848 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1852 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1857 jresult = (unsigned long)result;
1862 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WindowFocusSignalType_Connect(void * jarg1, void * jarg2) {
1863 Dali::Signal< void (bool) > *arg1 = (Dali::Signal< void (bool) > *) 0 ;
1864 void (*arg2)(bool) = (void (*)(bool)) 0 ;
1866 arg1 = (Dali::Signal< void (bool) > *)jarg1;
1867 arg2 = (void (*)(bool))jarg2;
1870 Dali_Signal_Sl_void_Sp_bool_SP__Sg__Connect(arg1,arg2);
1871 } catch (std::out_of_range& e) {
1873 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1875 } catch (std::exception& e) {
1877 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1879 } catch (Dali::DaliException e) {
1881 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1885 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1893 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WindowFocusSignalType_Disconnect(void * jarg1, void * jarg2) {
1894 Dali::Signal< void (bool) > *arg1 = (Dali::Signal< void (bool) > *) 0 ;
1895 void (*arg2)(bool) = (void (*)(bool)) 0 ;
1897 arg1 = (Dali::Signal< void (bool) > *)jarg1;
1898 arg2 = (void (*)(bool))jarg2;
1901 Dali_Signal_Sl_void_Sp_bool_SP__Sg__Disconnect(arg1,arg2);
1902 } catch (std::out_of_range& e) {
1904 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1906 } catch (std::exception& e) {
1908 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1910 } catch (Dali::DaliException e) {
1912 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1916 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1924 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WindowFocusSignalType_Emit(void * jarg1, unsigned int jarg2) {
1925 Dali::Signal< void (bool) > *arg1 = (Dali::Signal< void (bool) > *) 0 ;
1928 arg1 = (Dali::Signal< void (bool) > *)jarg1;
1929 arg2 = jarg2 ? true : false;
1932 Dali_Signal_Sl_void_Sp_bool_SP__Sg__Emit(arg1,arg2);
1933 } catch (std::out_of_range& e) {
1935 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1937 } catch (std::exception& e) {
1939 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1941 } catch (Dali::DaliException e) {
1943 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1947 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1955 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_WindowFocusSignalType() {
1957 Dali::Signal< void (bool) > *result = 0 ;
1961 result = (Dali::Signal< void (bool) > *)new Dali::Signal< void (bool) >();
1962 } catch (std::out_of_range& e) {
1964 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1966 } catch (std::exception& e) {
1968 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1970 } catch (Dali::DaliException e) {
1972 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1976 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1981 jresult = (void *)result;
1986 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_WindowFocusSignalType(void * jarg1) {
1987 Dali::Signal< void (bool) > *arg1 = (Dali::Signal< void (bool) > *) 0 ;
1989 arg1 = (Dali::Signal< void (bool) > *)jarg1;
1993 } catch (std::out_of_range& e) {
1995 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1997 } catch (std::exception& e) {
1999 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2001 } catch (Dali::DaliException e) {
2003 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2007 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2016 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_ResizedSignal(void * jarg1) {
2019 Dali::Window *argp1 ;
2020 Dali::Window::ResizedSignalType *result = 0 ;
2022 argp1 = (Dali::Window *)jarg1;
2024 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2030 result = (Dali::Window::ResizedSignalType *) &arg1.ResizedSignal();
2031 } catch (std::out_of_range& e) {
2033 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2035 } catch (std::exception& e) {
2037 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2039 } catch (Dali::DaliException e) {
2041 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2045 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2050 jresult = (void *)result;
2054 /*ResizedSignal binding*/
2055 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_ResizedSignal_Empty(void * jarg1) {
2056 unsigned int jresult ;
2057 Dali::Signal< void (Dali::Window::WindowSize) > *arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *) 0 ;
2060 arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *)jarg1;
2063 result = (bool)Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__Empty((Dali::Signal< void (Dali::Window::WindowSize) > const *)arg1);
2064 } catch (std::out_of_range& e) {
2066 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2068 } catch (std::exception& e) {
2070 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2072 } catch (Dali::DaliException e) {
2074 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2078 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2088 SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_ResizedSignal_GetConnectionCount(void * jarg1) {
2089 unsigned long jresult ;
2090 Dali::Signal< void (Dali::Window::WindowSize) > *arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *) 0 ;
2093 arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *)jarg1;
2096 result = Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__GetConnectionCount((Dali::Signal< void (Dali::Window::WindowSize) > const *)arg1);
2097 } catch (std::out_of_range& e) {
2099 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2101 } catch (std::exception& e) {
2103 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2105 } catch (Dali::DaliException e) {
2107 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2111 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2116 jresult = (unsigned long)result;
2121 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ResizedSignal_Connect(void * jarg1, void * jarg2) {
2122 Dali::Signal< void (Dali::Window::WindowSize) > *arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *) 0 ;
2123 void (*arg2)(Dali::Window::WindowSize) = (void (*)(Dali::Window::WindowSize)) 0 ;
2125 arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *)jarg1;
2126 arg2 = (void (*)(Dali::Window::WindowSize))jarg2;
2129 Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__Connect(arg1,arg2);
2130 } catch (std::out_of_range& e) {
2132 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2134 } catch (std::exception& e) {
2136 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2138 } catch (Dali::DaliException e) {
2140 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2144 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2152 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ResizedSignal_Disconnect(void * jarg1, void * jarg2) {
2153 Dali::Signal< void (Dali::Window::WindowSize) > *arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *) 0 ;
2154 void (*arg2)(Dali::Window::WindowSize) = (void (*)(Dali::Window::WindowSize)) 0 ;
2156 arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *)jarg1;
2157 arg2 = (void (*)(Dali::Window::WindowSize))jarg2;
2160 Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__Disconnect(arg1,arg2);
2161 } catch (std::out_of_range& e) {
2163 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2165 } catch (std::exception& e) {
2167 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2169 } catch (Dali::DaliException e) {
2171 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2175 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2183 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ResizedSignal_Emit(void * jarg1, void * jarg2) {
2184 Dali::Signal< void (Dali::Window::WindowSize) > *arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *) 0 ;
2185 Dali::Window::WindowSize arg2 ;
2186 Dali::Window::WindowSize *argp2 ;
2188 arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *)jarg1;
2189 argp2 = (Dali::Window::WindowSize *)jarg2;
2191 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window::WindowSize", 0);
2197 Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__Emit(arg1,arg2);
2198 } catch (std::out_of_range& e) {
2200 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2202 } catch (std::exception& e) {
2204 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2206 } catch (Dali::DaliException e) {
2208 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2212 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2220 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_ResizedSignal() {
2222 Dali::Signal< void (Dali::Window::WindowSize) > *result = 0 ;
2226 result = (Dali::Signal< void (Dali::Window::WindowSize) > *)new Dali::Signal< void (Dali::Window::WindowSize) >();
2227 } catch (std::out_of_range& e) {
2229 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2231 } catch (std::exception& e) {
2233 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2235 } catch (Dali::DaliException e) {
2237 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2241 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2246 jresult = (void *)result;
2251 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_ResizedSignal(void * jarg1) {
2252 Dali::Signal< void (Dali::Window::WindowSize) > *arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *) 0 ;
2254 arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *)jarg1;
2258 } catch (std::out_of_range& e) {
2260 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2262 } catch (std::exception& e) {
2264 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2266 } catch (Dali::DaliException e) {
2268 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2272 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2279 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetSize(void * jarg1, void * jarg2) {
2281 Dali::Window::WindowSize arg2 ;
2282 Dali::Window *argp1 ;
2283 Dali::Window::WindowSize *argp2 ;
2285 argp1 = (Dali::Window *)jarg1;
2287 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2291 argp2 = (Dali::Window::WindowSize *)jarg2;
2293 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window::WindowSize", 0);
2300 } catch (std::out_of_range& e) {
2302 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2304 } catch (std::exception& e) {
2306 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2308 } catch (Dali::DaliException e) {
2310 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2314 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2322 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_GetSize(void * jarg1) {
2325 Dali::Window *argp1 ;
2326 Dali::Window::WindowSize result;
2328 argp1 = (Dali::Window *)jarg1;
2330 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2336 result = arg1.GetSize();
2337 } catch (std::out_of_range& e) {
2339 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2341 } catch (std::exception& e) {
2343 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2345 } catch (Dali::DaliException e) {
2347 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2351 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2356 jresult = new Dali::Window::WindowSize((const Dali::Window::WindowSize &)result);
2361 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetPosition(void * jarg1, void * jarg2) {
2363 Dali::Window::WindowPosition arg2 ;
2364 Dali::Window *argp1 ;
2365 Dali::Window::WindowPosition *argp2 ;
2367 argp1 = (Dali::Window *)jarg1;
2369 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2373 argp2 = (Dali::Window::WindowPosition *)jarg2;
2375 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window::WindowPosition", 0);
2381 arg1.SetPosition(arg2);
2382 } catch (std::out_of_range& e) {
2384 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2386 } catch (std::exception& e) {
2388 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2390 } catch (Dali::DaliException e) {
2392 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2396 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2404 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_GetPosition(void * jarg1) {
2407 Dali::Window *argp1 ;
2408 Dali::Window::WindowPosition result;
2410 argp1 = (Dali::Window *)jarg1;
2412 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2418 result = arg1.GetPosition();
2419 } catch (std::out_of_range& e) {
2421 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2423 } catch (std::exception& e) {
2425 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2427 } catch (Dali::DaliException e) {
2429 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2433 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2438 jresult = new Dali::Window::WindowPosition((const Dali::Window::WindowPosition &)result);
2442 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetPositionSize(void* jarg1, void* jarg2)
2444 Dali::Window* window = (Dali::Window*)jarg1;
2446 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2450 Dali::Rect<int>* positionSize = (Dali::Rect<int>*)jarg2;
2451 if (!positionSize) {
2452 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Rect< int > const & type is null", 0);
2457 Dali::DevelWindow::SetPositionSize(*window, *positionSize);
2458 } catch (std::out_of_range& e) {
2460 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2462 } catch (std::exception& e) {
2464 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2466 } catch (Dali::DaliException e) {
2468 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2472 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2479 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetTransparency(void * jarg1, unsigned int jarg2) {
2482 Dali::Window *argp1 ;
2484 argp1 = (Dali::Window *)jarg1;
2486 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2490 arg2 = jarg2 ? true : false;
2493 arg1.SetTransparency(arg2);
2494 } catch (std::out_of_range& e) {
2496 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2498 } catch (std::exception& e) {
2500 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2502 } catch (Dali::DaliException e) {
2504 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2508 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2515 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_FeedKeyEvent(void * jarg1) {
2516 Dali::KeyEvent *arg1 = 0 ;
2518 arg1 = (Dali::KeyEvent *)jarg1;
2520 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::KeyEvent & type is null", 0);
2525 Dali::Adaptor::Get().FeedKeyEvent(*arg1);
2526 } catch (std::out_of_range& e) {
2528 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2530 } catch (std::exception& e) {
2532 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2536 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2542 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Adaptor_RenderOnce(void * /* jarg1 */) {
2544 Dali::Adaptor::Get().RenderOnce();
2545 } catch (std::out_of_range& e) {
2547 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2549 } catch (std::exception& e) {
2551 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2555 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2560 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Add(void * jarg1, void * jarg2) {
2561 Dali::Window *arg1 = (Dali::Window *) 0 ;
2563 Dali::Actor *argp2 ;
2565 arg1 = (Dali::Window *)jarg1;
2566 argp2 = (Dali::Actor *)jarg2;
2568 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Actor", 0);
2575 } catch (std::out_of_range& e) {
2577 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2579 } catch (std::exception& e) {
2581 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2583 } catch (Dali::DaliException e) {
2585 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2589 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2595 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Remove(void * jarg1, void * jarg2) {
2596 Dali::Window *arg1 = (Dali::Window *) 0 ;
2597 Dali::Actor *arg2 = 0 ;
2599 arg1 = (Dali::Window *)jarg1;
2600 arg2 = (Dali::Actor *)jarg2;
2602 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Actor & type is null", 0);
2607 (arg1)->Remove(*arg2);
2608 } catch (std::out_of_range& e) {
2610 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2612 } catch (std::exception& e) {
2614 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2616 } catch (Dali::DaliException e) {
2618 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2622 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2628 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetBackgroundColor(void * jarg1, void * jarg2) {
2629 Dali::Window *arg1 = (Dali::Window *) 0 ;
2630 Dali::Vector4 arg2 ;
2631 Dali::Vector4 *argp2 ;
2633 arg1 = (Dali::Window *)jarg1;
2634 argp2 = (Dali::Vector4 *)jarg2;
2636 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Vector4", 0);
2642 (arg1)->SetBackgroundColor(arg2);
2643 } catch (std::out_of_range& e) {
2645 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2647 } catch (std::exception& e) {
2649 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2651 } catch (Dali::DaliException e) {
2653 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2657 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2663 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_GetBackgroundColor(void * jarg1) {
2665 Dali::Window *arg1 = (Dali::Window *) 0 ;
2666 Dali::Vector4 result;
2668 arg1 = (Dali::Window *)jarg1;
2671 result = ((Dali::Window const *)arg1)->GetBackgroundColor();
2672 } catch (std::out_of_range& e) {
2674 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2676 } catch (std::exception& e) {
2678 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2680 } catch (Dali::DaliException e) {
2682 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2686 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2691 jresult = new Dali::Vector4((const Dali::Vector4 &)result);
2695 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_GetRootLayer(void * jarg1) {
2697 Dali::Window *arg1 = (Dali::Window *) 0 ;
2700 arg1 = (Dali::Window *)jarg1;
2703 result = ((Dali::Window const *)arg1)->GetRootLayer();
2704 } catch (std::out_of_range& e) {
2706 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2708 } catch (std::exception& e) {
2710 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2712 } catch (Dali::DaliException e) {
2714 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2718 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2723 jresult = new Dali::Layer((const Dali::Layer &)result);
2727 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_KeyEventSignal(void * jarg1) {
2729 Dali::Window *arg1 = (Dali::Window *) 0 ;
2730 Dali::DevelWindow::KeyEventSignalType *result = 0 ;
2732 arg1 = (Dali::Window *)jarg1;
2735 result = (Dali::DevelWindow::KeyEventSignalType *) &(Dali::DevelWindow::KeyEventSignal(*arg1));
2736 } catch (std::out_of_range& e) {
2738 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2740 } catch (std::exception& e) {
2742 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2744 } catch (Dali::DaliException e) {
2746 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2750 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2755 jresult = (void *)result;
2759 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_TouchSignal(void * jarg1) {
2761 Dali::Window *arg1 = (Dali::Window *) 0 ;
2762 Dali::DevelWindow::TouchSignalType *result = 0 ;
2764 arg1 = (Dali::Window *)jarg1;
2767 result = (Dali::DevelWindow::TouchSignalType *) &(Dali::DevelWindow::TouchSignal(*arg1));
2768 } catch (std::out_of_range& e) {
2770 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2772 } catch (std::exception& e) {
2774 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2776 } catch (Dali::DaliException e) {
2778 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2782 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2787 jresult = (void *)result;
2791 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetParent(void* jarg1, void* jarg2)
2793 Dali::Window* window = (Dali::Window*)jarg1;
2795 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2799 Dali::Window* parent = (Dali::Window*)jarg2;
2801 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2806 Dali::DevelWindow::SetParent(*window, *parent);
2807 } catch (std::out_of_range& e) {
2809 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2811 } catch (std::exception& e) {
2813 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2815 } catch (Dali::DaliException e) {
2817 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2821 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2828 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Unparent(void* jarg1)
2830 Dali::Window* window = (Dali::Window*)jarg1;
2832 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2837 Dali::DevelWindow::Unparent(*window);
2838 } catch (std::out_of_range& e) {
2840 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2842 } catch (std::exception& e) {
2844 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2846 } catch (Dali::DaliException e) {
2848 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2852 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2859 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_GetParent(void* jarg1)
2862 Dali::Window* window = (Dali::Window*)jarg1;
2863 Dali::Window result;
2865 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2870 result = Dali::DevelWindow::GetParent(*window);
2871 } catch (std::out_of_range& e) {
2873 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2875 } catch (std::exception& e) {
2877 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2879 } catch (Dali::DaliException e) {
2881 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2885 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2889 jresult = new Dali::Window((const Dali::Window &)result);
2893 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_Transition_Effect_EventSignal(void * jarg1) {
2895 Dali::Window *arg1 = (Dali::Window *) 0 ;
2896 Dali::DevelWindow::TransitionEffectEventSignalType *result = 0 ;
2898 arg1 = (Dali::Window *)jarg1;
2901 result = (Dali::DevelWindow::TransitionEffectEventSignalType *) &(Dali::DevelWindow::TransitionEffectEventSignal(*arg1));
2902 } catch (std::out_of_range& e) {
2904 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2906 } catch (std::exception& e) {
2908 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2910 } catch (Dali::DaliException e) {
2912 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2916 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2921 jresult = (void *)result;
2925 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_Window_Transition_Effect_Event_Signal_Empty(void * jarg1) {
2926 unsigned int jresult ;
2927 Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *) 0 ;
2930 arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *)jarg1;
2933 result = (bool)Dali_Signal_Window_Transition_Effect_Event_Signal_Empty((Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > const *)arg1);
2934 } catch (std::out_of_range& e) {
2936 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2938 } catch (std::exception& e) {
2940 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2942 } catch (Dali::DaliException e) {
2944 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2948 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2958 SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_Window_Transition_Effect_Event_Signal_GetConnectionCount(void * jarg1) {
2959 unsigned long jresult ;
2960 Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *) 0 ;
2963 arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *)jarg1;
2966 result = Dali_Signal_Window_Transition_Effect_Event_Signal_GetConnectionCount((Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > const *)arg1);
2967 } catch (std::out_of_range& e) {
2969 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2971 } catch (std::exception& e) {
2973 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2975 } catch (Dali::DaliException e) {
2977 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2981 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2986 jresult = (unsigned long)result;
2991 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Transition_Effect_Event_Signal_Connect(void * jarg1, void * jarg2) {
2992 Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *) 0 ;
2993 void (*arg2)(Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) = (void (*)(Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType)) 0 ;
2995 arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *)jarg1;
2996 arg2 = (void (*)(Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType))jarg2;
2999 //DALI_LOG_ERROR("CSharp_Dali_Window_Transition_Effect_Event_Signal_Connect(arg1=0x%x, arg2=0x%x) \n", arg1, arg2);
3000 Dali_Signal_Window_Transition_Effect_Event_Signal_Connect(arg1,arg2);
3001 } catch (std::out_of_range& e) {
3003 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
3005 } catch (std::exception& e) {
3007 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
3009 } catch (Dali::DaliException e) {
3011 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
3015 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
3023 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Transition_Effect_Event_Signal_Disconnect(void * jarg1, void * jarg2) {
3024 Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *) 0 ;
3025 void (*arg2)(Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) = (void (*)(Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType)) 0 ;
3027 arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *)jarg1;
3028 arg2 = (void (*)(Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType))jarg2;
3031 Dali_Signal_Window_Transition_Effect_Event_Signal_Disconnect(arg1,arg2);
3032 } catch (std::out_of_range& e) {
3034 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
3036 } catch (std::exception& e) {
3038 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
3040 } catch (Dali::DaliException e) {
3042 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
3046 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
3054 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Transition_Effect_Event_Signal_Emit(void * jarg1, void * jarg2, int jarg3, int jarg4) {
3055 Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *) 0 ;
3057 Dali::Window *argp2 ;
3059 arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *)jarg1;
3060 argp2 = (Dali::Window *)jarg2;
3062 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
3068 Dali_Signal_Window_Transition_Effect_Event_Signal_Emit(arg1,arg2, (Dali::DevelWindow::EffectState)jarg3, (Dali::DevelWindow::EffectType)jarg4);
3069 } catch (std::out_of_range& e) {
3071 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
3073 } catch (std::exception& e) {
3075 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
3077 } catch (Dali::DaliException e) {
3079 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
3083 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
3091 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_Transition_Effect_Event_Signal_new() {
3093 Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *result = 0 ;
3097 result = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *)new Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) >();
3098 } catch (std::out_of_range& e) {
3100 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
3102 } catch (std::exception& e) {
3104 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
3106 } catch (Dali::DaliException e) {
3108 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
3112 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
3117 jresult = (void *)result;
3122 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Transition_Effect_Event_Signal_delete(void * jarg1) {
3123 Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *) 0 ;
3125 arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *)jarg1;
3129 } catch (std::out_of_range& e) {
3131 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
3133 } catch (std::exception& e) {
3135 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
3137 } catch (Dali::DaliException e) {
3139 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
3143 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;