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>
25 #include <dali-toolkit/devel-api/controls/control-devel.h>
26 #include <dali/integration-api/debug.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;
789 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_Window_GetCurrentOrientation(void * jarg1) {
791 Dali::Window::WindowOrientation result;
792 Dali::Window* window = (Dali::Window*)jarg1;
794 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
799 result = Dali::DevelWindow::GetCurrentOrientation(*window);
800 } catch (std::out_of_range& e) {
802 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
804 } catch (std::exception& e) {
806 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
808 } catch (Dali::DaliException e) {
810 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
814 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
819 jresult = (int)result;
823 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetAvailableOrientations(void * jarg1, int* jarg2, int jarg3) {
824 Dali::Window* window = (Dali::Window*)jarg1;
826 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
829 int *arg2 = (int *) 0 ;
833 Dali::Vector< Dali::Window::WindowOrientation> orientations;
834 orientations.Resize( count );
835 for( int i = 0; i<count; ++i)
837 orientations[i] = static_cast< Dali::Window::WindowOrientation >(arg2[i]);
841 Dali::DevelWindow::SetAvailableOrientations(*window, orientations);
842 } catch (std::out_of_range& e) {
844 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return;
846 } catch (std::exception& e) {
848 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return;
850 } catch (Dali::DaliException e) {
852 SWIG_CSharpException(SWIG_UnknownError, e.condition); return;
856 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return;
864 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_GetNativeHandle(void * jarg1) {
866 Dali::Window *arg1 = (Dali::Window *) 0 ;
869 arg1 = (Dali::Window *)jarg1;
872 result = ((Dali::Window const *)arg1)->GetNativeHandle();
873 } catch (std::out_of_range& e) {
875 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
877 } catch (std::exception& e) {
879 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
881 } catch (Dali::DaliException e) {
883 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
887 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
892 jresult = new Dali::Any((const Dali::Any &)result);
896 /*window-devel binding*/
898 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_FocusChangedSignal(void * jarg1) {
901 Dali::Window *argp1 ;
902 Dali::Window::FocusSignalType *result = 0 ;
904 argp1 = (Dali::Window *)jarg1;
906 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
912 result = (Dali::Window::FocusSignalType*)&arg1.FocusChangedSignal();
913 } catch (std::out_of_range& e) {
915 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
917 } catch (std::exception& e) {
919 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
921 } catch (Dali::DaliException e) {
923 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
927 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
932 jresult = (void *)result;
937 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_SetAcceptFocus(void * jarg1, unsigned int jarg2) {
940 Dali::Window *argp1 ;
942 argp1 = (Dali::Window *)jarg1;
944 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
948 arg2 = jarg2 ? true : false;
951 arg1.SetAcceptFocus(arg2);
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 unsigned int SWIGSTDCALL CSharp_Dali_IsFocusAcceptable(void * jarg1) {
975 unsigned int jresult ;
977 Dali::Window *argp1 ;
980 argp1 = (Dali::Window *)jarg1;
982 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
988 result = (bool)arg1.IsFocusAcceptable();
989 } catch (std::out_of_range& e) {
991 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
993 } catch (std::exception& e) {
995 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
997 } catch (Dali::DaliException e) {
999 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1003 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1013 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Show(void * jarg1) {
1015 Dali::Window *argp1 ;
1017 argp1 = (Dali::Window *)jarg1;
1019 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1026 } catch (std::out_of_range& e) {
1028 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1030 } catch (std::exception& e) {
1032 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1034 } catch (Dali::DaliException e) {
1036 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1040 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1048 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Hide(void * jarg1) {
1050 Dali::Window *argp1 ;
1052 argp1 = (Dali::Window *)jarg1;
1054 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1061 } catch (std::out_of_range& e) {
1063 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1065 } catch (std::exception& e) {
1067 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1069 } catch (Dali::DaliException e) {
1071 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1075 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1083 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_IsVisible(void * jarg1) {
1084 unsigned int jresult ;
1086 Dali::Window *argp1 ;
1089 argp1 = (Dali::Window *)jarg1;
1091 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1097 result = (bool)arg1.IsVisible();
1098 } catch (std::out_of_range& e) {
1100 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1102 } catch (std::exception& e) {
1104 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1106 } catch (Dali::DaliException e) {
1108 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1112 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1122 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_GetSupportedAuxiliaryHintCount(void * jarg1) {
1123 unsigned int jresult ;
1125 Dali::Window *argp1 ;
1126 unsigned int result;
1128 argp1 = (Dali::Window *)jarg1;
1130 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1136 result = (unsigned int)arg1.GetSupportedAuxiliaryHintCount();
1137 } catch (std::out_of_range& e) {
1139 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1141 } catch (std::exception& e) {
1143 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1145 } catch (Dali::DaliException e) {
1147 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1151 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1161 SWIGEXPORT char * SWIGSTDCALL CSharp_Dali_GetSupportedAuxiliaryHint(void * jarg1, unsigned int jarg2) {
1165 Dali::Window *argp1 ;
1168 argp1 = (Dali::Window *)jarg1;
1170 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1174 arg2 = (unsigned int)jarg2;
1177 result = arg1.GetSupportedAuxiliaryHint(arg2);
1178 } catch (std::out_of_range& e) {
1180 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1182 } catch (std::exception& e) {
1184 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1186 } catch (Dali::DaliException e) {
1188 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1192 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1197 jresult = SWIG_csharp_string_callback((&result)->c_str());
1202 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_AddAuxiliaryHint(void * jarg1, char * jarg2, char * jarg3) {
1203 unsigned int jresult ;
1205 std::string *arg2 = 0 ;
1206 std::string *arg3 = 0 ;
1207 Dali::Window *argp1 ;
1208 unsigned int result;
1210 argp1 = (Dali::Window *)jarg1;
1212 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1217 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
1220 std::string arg2_str(jarg2);
1223 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
1226 std::string arg3_str(jarg3);
1230 result = (unsigned int)arg1.AddAuxiliaryHint((std::string const &)*arg2,(std::string const &)*arg3);
1231 } catch (std::out_of_range& e) {
1233 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1235 } catch (std::exception& e) {
1237 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1239 } catch (Dali::DaliException e) {
1241 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1245 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1256 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_RemoveAuxiliaryHint(void * jarg1, unsigned int jarg2) {
1257 unsigned int jresult ;
1260 Dali::Window *argp1 ;
1263 argp1 = (Dali::Window *)jarg1;
1265 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1269 arg2 = (unsigned int)jarg2;
1272 result = (bool)arg1.RemoveAuxiliaryHint(arg2);
1273 } catch (std::out_of_range& e) {
1275 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1277 } catch (std::exception& e) {
1279 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1281 } catch (Dali::DaliException e) {
1283 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1287 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1297 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_SetAuxiliaryHintValue(void * jarg1, unsigned int jarg2, char * jarg3) {
1298 unsigned int jresult ;
1301 std::string *arg3 = 0 ;
1302 Dali::Window *argp1 ;
1305 argp1 = (Dali::Window *)jarg1;
1307 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1311 arg2 = (unsigned int)jarg2;
1313 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
1316 std::string arg3_str(jarg3);
1320 result = (bool)arg1.SetAuxiliaryHintValue(arg2,(std::string const &)*arg3);
1321 } catch (std::out_of_range& e) {
1323 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1325 } catch (std::exception& e) {
1327 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1329 } catch (Dali::DaliException e) {
1331 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1335 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1342 //argout typemap for const std::string&
1348 SWIGEXPORT char * SWIGSTDCALL CSharp_Dali_GetAuxiliaryHintValue(void * jarg1, unsigned int jarg2) {
1352 Dali::Window *argp1 ;
1355 argp1 = (Dali::Window *)jarg1;
1357 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1361 arg2 = (unsigned int)jarg2;
1364 result = arg1.GetAuxiliaryHintValue(arg2);
1365 } catch (std::out_of_range& e) {
1367 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1369 } catch (std::exception& e) {
1371 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1373 } catch (Dali::DaliException e) {
1375 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1379 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1384 jresult = SWIG_csharp_string_callback((&result)->c_str());
1389 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_GetAuxiliaryHintId(void * jarg1, char * jarg2) {
1390 unsigned int jresult ;
1392 std::string *arg2 = 0 ;
1393 Dali::Window *argp1 ;
1394 unsigned int result;
1396 argp1 = (Dali::Window *)jarg1;
1398 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1403 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
1406 std::string arg2_str(jarg2);
1410 result = (unsigned int)arg1.GetAuxiliaryHintId((std::string const &)*arg2);
1411 } catch (std::out_of_range& e) {
1413 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1415 } catch (std::exception& e) {
1417 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1419 } catch (Dali::DaliException e) {
1421 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1425 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1432 //argout typemap for const std::string&
1438 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_SetInputRegion(void * jarg1, void * jarg2) {
1440 Dali::Rect< int > *arg2 = 0 ;
1441 Dali::Window *argp1 ;
1443 argp1 = (Dali::Window *)jarg1;
1445 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1449 arg2 = (Dali::Rect< int > *)jarg2;
1451 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Rect< int > const & type is null", 0);
1456 arg1.SetInputRegion((Dali::Rect< int > const &)*arg2);
1457 } catch (std::out_of_range& e) {
1459 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1461 } catch (std::exception& e) {
1463 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1465 } catch (Dali::DaliException e) {
1467 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1471 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1479 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_SetType(void * jarg1, int jarg2) {
1481 Dali::Window::Type arg2 ;
1482 Dali::Window *argp1 ;
1484 argp1 = (Dali::Window *)jarg1;
1486 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1490 arg2 = (Dali::Window::Type)jarg2;
1494 } catch (std::out_of_range& e) {
1496 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1498 } catch (std::exception& e) {
1500 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1502 } catch (Dali::DaliException e) {
1504 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1508 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1516 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GetType(void * jarg1) {
1519 Dali::Window *argp1 ;
1520 Dali::Window::Type result;
1522 argp1 = (Dali::Window *)jarg1;
1524 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1530 result = (Dali::Window::Type)arg1.GetType();
1531 } catch (std::out_of_range& e) {
1533 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1535 } catch (std::exception& e) {
1537 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1539 } catch (Dali::DaliException e) {
1541 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1545 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1550 jresult = (int)result;
1555 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_SetNotificationLevel(void * jarg1, int jarg2) {
1556 unsigned int jresult ;
1558 Dali::Window::NotificationLevel::Type arg2 ;
1559 Dali::Window *argp1 ;
1562 argp1 = (Dali::Window *)jarg1;
1564 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1568 arg2 = (Dali::Window::NotificationLevel::Type)jarg2;
1571 result = (bool)arg1.SetNotificationLevel(arg2);
1572 } catch (std::out_of_range& e) {
1574 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1576 } catch (std::exception& e) {
1578 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1580 } catch (Dali::DaliException e) {
1582 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1586 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1596 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GetNotificationLevel(void * jarg1) {
1599 Dali::Window *argp1 ;
1600 Dali::Window::NotificationLevel::Type result;
1602 argp1 = (Dali::Window *)jarg1;
1604 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1610 result = (Dali::Window::NotificationLevel::Type)arg1.GetNotificationLevel();
1611 } catch (std::out_of_range& e) {
1613 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1615 } catch (std::exception& e) {
1617 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1619 } catch (Dali::DaliException e) {
1621 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1625 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1630 jresult = (int)result;
1635 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_SetOpaqueState(void * jarg1, unsigned int jarg2) {
1638 Dali::Window *argp1 ;
1640 argp1 = (Dali::Window *)jarg1;
1642 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1646 arg2 = jarg2 ? true : false;
1649 arg1.SetOpaqueState(arg2);
1650 } catch (std::out_of_range& e) {
1652 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1654 } catch (std::exception& e) {
1656 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1658 } catch (Dali::DaliException e) {
1660 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1664 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1672 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_IsOpaqueState(void * jarg1) {
1673 unsigned int jresult ;
1675 Dali::Window *argp1 ;
1678 argp1 = (Dali::Window *)jarg1;
1680 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1686 result = (bool)arg1.IsOpaqueState();
1687 } catch (std::out_of_range& e) {
1689 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1691 } catch (std::exception& e) {
1693 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1695 } catch (Dali::DaliException e) {
1697 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1701 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1711 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_SetScreenOffMode(void * jarg1, int jarg2) {
1712 unsigned int jresult ;
1714 Dali::Window::ScreenOffMode::Type arg2 ;
1715 Dali::Window *argp1 ;
1718 argp1 = (Dali::Window *)jarg1;
1720 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1724 arg2 = (Dali::Window::ScreenOffMode::Type)jarg2;
1727 result = (bool)arg1.SetScreenOffMode(arg2);
1728 } catch (std::out_of_range& e) {
1730 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1732 } catch (std::exception& e) {
1734 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1736 } catch (Dali::DaliException e) {
1738 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1742 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1752 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GetScreenOffMode(void * jarg1) {
1755 Dali::Window *argp1 ;
1756 Dali::Window::ScreenOffMode::Type result;
1758 argp1 = (Dali::Window *)jarg1;
1760 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1766 result = (Dali::Window::ScreenOffMode::Type)arg1.GetScreenOffMode();
1767 } catch (std::out_of_range& e) {
1769 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1771 } catch (std::exception& e) {
1773 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1775 } catch (Dali::DaliException e) {
1777 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1781 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1786 jresult = (int)result;
1791 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_SetBrightness(void * jarg1, int jarg2) {
1792 unsigned int jresult ;
1795 Dali::Window *argp1 ;
1798 argp1 = (Dali::Window *)jarg1;
1800 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1807 result = (bool)arg1.SetBrightness(arg2);
1808 } catch (std::out_of_range& e) {
1810 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1812 } catch (std::exception& e) {
1814 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1816 } catch (Dali::DaliException e) {
1818 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1822 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1832 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GetBrightness(void * jarg1) {
1835 Dali::Window *argp1 ;
1838 argp1 = (Dali::Window *)jarg1;
1840 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1846 result = (int)arg1.GetBrightness();
1847 } catch (std::out_of_range& e) {
1849 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1851 } catch (std::exception& e) {
1853 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1855 } catch (Dali::DaliException e) {
1857 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1861 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1870 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_WindowFocusSignalType_Empty(void * jarg1) {
1871 unsigned int jresult ;
1872 Dali::Signal< void (bool) > *arg1 = (Dali::Signal< void (bool) > *) 0 ;
1875 arg1 = (Dali::Signal< void (bool) > *)jarg1;
1878 result = (bool)Dali_Signal_Sl_void_Sp_bool_SP__Sg__Empty((Dali::Signal< void (bool) > const *)arg1);
1879 } catch (std::out_of_range& e) {
1881 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1883 } catch (std::exception& e) {
1885 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1887 } catch (Dali::DaliException e) {
1889 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1893 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1903 SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_WindowFocusSignalType_GetConnectionCount(void * jarg1) {
1904 unsigned long jresult ;
1905 Dali::Signal< void (bool) > *arg1 = (Dali::Signal< void (bool) > *) 0 ;
1908 arg1 = (Dali::Signal< void (bool) > *)jarg1;
1911 result = Dali_Signal_Sl_void_Sp_bool_SP__Sg__GetConnectionCount((Dali::Signal< void (bool) > const *)arg1);
1912 } catch (std::out_of_range& e) {
1914 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1916 } catch (std::exception& e) {
1918 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1920 } catch (Dali::DaliException e) {
1922 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1926 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1931 jresult = (unsigned long)result;
1936 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WindowFocusSignalType_Connect(void * jarg1, void * jarg2) {
1937 Dali::Signal< void (bool) > *arg1 = (Dali::Signal< void (bool) > *) 0 ;
1938 void (*arg2)(bool) = (void (*)(bool)) 0 ;
1940 arg1 = (Dali::Signal< void (bool) > *)jarg1;
1941 arg2 = (void (*)(bool))jarg2;
1944 Dali_Signal_Sl_void_Sp_bool_SP__Sg__Connect(arg1,arg2);
1945 } catch (std::out_of_range& e) {
1947 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1949 } catch (std::exception& e) {
1951 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1953 } catch (Dali::DaliException e) {
1955 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1959 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1967 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WindowFocusSignalType_Disconnect(void * jarg1, void * jarg2) {
1968 Dali::Signal< void (bool) > *arg1 = (Dali::Signal< void (bool) > *) 0 ;
1969 void (*arg2)(bool) = (void (*)(bool)) 0 ;
1971 arg1 = (Dali::Signal< void (bool) > *)jarg1;
1972 arg2 = (void (*)(bool))jarg2;
1975 Dali_Signal_Sl_void_Sp_bool_SP__Sg__Disconnect(arg1,arg2);
1976 } catch (std::out_of_range& e) {
1978 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1980 } catch (std::exception& e) {
1982 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1984 } catch (Dali::DaliException e) {
1986 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1990 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1998 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WindowFocusSignalType_Emit(void * jarg1, unsigned int jarg2) {
1999 Dali::Signal< void (bool) > *arg1 = (Dali::Signal< void (bool) > *) 0 ;
2002 arg1 = (Dali::Signal< void (bool) > *)jarg1;
2003 arg2 = jarg2 ? true : false;
2006 Dali_Signal_Sl_void_Sp_bool_SP__Sg__Emit(arg1,arg2);
2007 } catch (std::out_of_range& e) {
2009 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2011 } catch (std::exception& e) {
2013 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2015 } catch (Dali::DaliException e) {
2017 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2021 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2029 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_WindowFocusSignalType() {
2031 Dali::Signal< void (bool) > *result = 0 ;
2035 result = (Dali::Signal< void (bool) > *)new Dali::Signal< void (bool) >();
2036 } catch (std::out_of_range& e) {
2038 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2040 } catch (std::exception& e) {
2042 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2044 } catch (Dali::DaliException e) {
2046 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2050 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2055 jresult = (void *)result;
2060 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_WindowFocusSignalType(void * jarg1) {
2061 Dali::Signal< void (bool) > *arg1 = (Dali::Signal< void (bool) > *) 0 ;
2063 arg1 = (Dali::Signal< void (bool) > *)jarg1;
2067 } catch (std::out_of_range& e) {
2069 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2071 } catch (std::exception& e) {
2073 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2075 } catch (Dali::DaliException e) {
2077 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2081 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2090 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_ResizedSignal(void * jarg1) {
2093 Dali::Window *argp1 ;
2094 Dali::Window::ResizedSignalType *result = 0 ;
2096 argp1 = (Dali::Window *)jarg1;
2098 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2104 result = (Dali::Window::ResizedSignalType *) &arg1.ResizedSignal();
2105 } catch (std::out_of_range& e) {
2107 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2109 } catch (std::exception& e) {
2111 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2113 } catch (Dali::DaliException e) {
2115 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2119 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2124 jresult = (void *)result;
2128 /*ResizedSignal binding*/
2129 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_ResizedSignal_Empty(void * jarg1) {
2130 unsigned int jresult ;
2131 Dali::Signal< void (Dali::Window::WindowSize) > *arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *) 0 ;
2134 arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *)jarg1;
2137 result = (bool)Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__Empty((Dali::Signal< void (Dali::Window::WindowSize) > const *)arg1);
2138 } catch (std::out_of_range& e) {
2140 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2142 } catch (std::exception& e) {
2144 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2146 } catch (Dali::DaliException e) {
2148 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2152 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2162 SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_ResizedSignal_GetConnectionCount(void * jarg1) {
2163 unsigned long jresult ;
2164 Dali::Signal< void (Dali::Window::WindowSize) > *arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *) 0 ;
2167 arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *)jarg1;
2170 result = Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__GetConnectionCount((Dali::Signal< void (Dali::Window::WindowSize) > const *)arg1);
2171 } catch (std::out_of_range& e) {
2173 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2175 } catch (std::exception& e) {
2177 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2179 } catch (Dali::DaliException e) {
2181 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2185 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2190 jresult = (unsigned long)result;
2195 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ResizedSignal_Connect(void * jarg1, void * jarg2) {
2196 Dali::Signal< void (Dali::Window::WindowSize) > *arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *) 0 ;
2197 void (*arg2)(Dali::Window::WindowSize) = (void (*)(Dali::Window::WindowSize)) 0 ;
2199 arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *)jarg1;
2200 arg2 = (void (*)(Dali::Window::WindowSize))jarg2;
2203 Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__Connect(arg1,arg2);
2204 } catch (std::out_of_range& e) {
2206 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2208 } catch (std::exception& e) {
2210 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2212 } catch (Dali::DaliException e) {
2214 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2218 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2226 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ResizedSignal_Disconnect(void * jarg1, void * jarg2) {
2227 Dali::Signal< void (Dali::Window::WindowSize) > *arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *) 0 ;
2228 void (*arg2)(Dali::Window::WindowSize) = (void (*)(Dali::Window::WindowSize)) 0 ;
2230 arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *)jarg1;
2231 arg2 = (void (*)(Dali::Window::WindowSize))jarg2;
2234 Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__Disconnect(arg1,arg2);
2235 } catch (std::out_of_range& e) {
2237 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2239 } catch (std::exception& e) {
2241 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2243 } catch (Dali::DaliException e) {
2245 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2249 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2257 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ResizedSignal_Emit(void * jarg1, void * jarg2) {
2258 Dali::Signal< void (Dali::Window::WindowSize) > *arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *) 0 ;
2259 Dali::Window::WindowSize arg2 ;
2260 Dali::Window::WindowSize *argp2 ;
2262 arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *)jarg1;
2263 argp2 = (Dali::Window::WindowSize *)jarg2;
2265 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window::WindowSize", 0);
2271 Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__Emit(arg1,arg2);
2272 } catch (std::out_of_range& e) {
2274 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2276 } catch (std::exception& e) {
2278 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2280 } catch (Dali::DaliException e) {
2282 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2286 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2294 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_ResizedSignal() {
2296 Dali::Signal< void (Dali::Window::WindowSize) > *result = 0 ;
2300 result = (Dali::Signal< void (Dali::Window::WindowSize) > *)new Dali::Signal< void (Dali::Window::WindowSize) >();
2301 } catch (std::out_of_range& e) {
2303 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2305 } catch (std::exception& e) {
2307 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2309 } catch (Dali::DaliException e) {
2311 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2315 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2320 jresult = (void *)result;
2325 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_ResizedSignal(void * jarg1) {
2326 Dali::Signal< void (Dali::Window::WindowSize) > *arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *) 0 ;
2328 arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *)jarg1;
2332 } catch (std::out_of_range& e) {
2334 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2336 } catch (std::exception& e) {
2338 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2340 } catch (Dali::DaliException e) {
2342 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2346 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2353 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetSize(void * jarg1, void * jarg2) {
2355 Dali::Window::WindowSize arg2 ;
2356 Dali::Window *argp1 ;
2357 Dali::Window::WindowSize *argp2 ;
2359 argp1 = (Dali::Window *)jarg1;
2361 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2365 argp2 = (Dali::Window::WindowSize *)jarg2;
2367 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window::WindowSize", 0);
2374 } catch (std::out_of_range& e) {
2376 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2378 } catch (std::exception& e) {
2380 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2382 } catch (Dali::DaliException e) {
2384 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2388 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2396 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_GetSize(void * jarg1) {
2399 Dali::Window *argp1 ;
2400 Dali::Window::WindowSize result;
2402 argp1 = (Dali::Window *)jarg1;
2404 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2410 result = arg1.GetSize();
2411 } catch (std::out_of_range& e) {
2413 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2415 } catch (std::exception& e) {
2417 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2419 } catch (Dali::DaliException e) {
2421 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2425 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2430 jresult = new Dali::Window::WindowSize((const Dali::Window::WindowSize &)result);
2435 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetPosition(void * jarg1, void * jarg2) {
2437 Dali::Window::WindowPosition arg2 ;
2438 Dali::Window *argp1 ;
2439 Dali::Window::WindowPosition *argp2 ;
2441 argp1 = (Dali::Window *)jarg1;
2443 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2447 argp2 = (Dali::Window::WindowPosition *)jarg2;
2449 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window::WindowPosition", 0);
2455 arg1.SetPosition(arg2);
2456 } catch (std::out_of_range& e) {
2458 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2460 } catch (std::exception& e) {
2462 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2464 } catch (Dali::DaliException e) {
2466 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2470 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2478 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_GetPosition(void * jarg1) {
2481 Dali::Window *argp1 ;
2482 Dali::Window::WindowPosition result;
2484 argp1 = (Dali::Window *)jarg1;
2486 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2492 result = arg1.GetPosition();
2493 } catch (std::out_of_range& e) {
2495 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2497 } catch (std::exception& e) {
2499 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2501 } catch (Dali::DaliException e) {
2503 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2507 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2512 jresult = new Dali::Window::WindowPosition((const Dali::Window::WindowPosition &)result);
2516 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetPositionSize(void* jarg1, void* jarg2)
2518 Dali::Window* window = (Dali::Window*)jarg1;
2520 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2524 Dali::Rect<int>* positionSize = (Dali::Rect<int>*)jarg2;
2525 if (!positionSize) {
2526 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Rect< int > const & type is null", 0);
2531 Dali::DevelWindow::SetPositionSize(*window, *positionSize);
2532 } catch (std::out_of_range& e) {
2534 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2536 } catch (std::exception& e) {
2538 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2540 } catch (Dali::DaliException e) {
2542 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2546 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2553 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetTransparency(void * jarg1, unsigned int jarg2) {
2556 Dali::Window *argp1 ;
2558 argp1 = (Dali::Window *)jarg1;
2560 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2564 arg2 = jarg2 ? true : false;
2567 arg1.SetTransparency(arg2);
2568 } catch (std::out_of_range& e) {
2570 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2572 } catch (std::exception& e) {
2574 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2576 } catch (Dali::DaliException e) {
2578 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2582 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2589 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_FeedKeyEvent(void * jarg1) {
2590 Dali::KeyEvent *arg1 = 0 ;
2592 arg1 = (Dali::KeyEvent *)jarg1;
2594 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::KeyEvent & type is null", 0);
2599 Dali::Adaptor::Get().FeedKeyEvent(*arg1);
2600 } catch (std::out_of_range& e) {
2602 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2604 } catch (std::exception& e) {
2606 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2610 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2616 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Adaptor_RenderOnce(void * /* jarg1 */) {
2618 Dali::Adaptor::Get().RenderOnce();
2619 } catch (std::out_of_range& e) {
2621 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2623 } catch (std::exception& e) {
2625 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2629 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2634 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Add(void * jarg1, void * jarg2) {
2635 Dali::Window *arg1 = (Dali::Window *) 0 ;
2637 Dali::Actor *argp2 ;
2639 arg1 = (Dali::Window *)jarg1;
2640 argp2 = (Dali::Actor *)jarg2;
2642 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Actor", 0);
2649 } catch (std::out_of_range& e) {
2651 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2653 } catch (std::exception& e) {
2655 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2657 } catch (Dali::DaliException e) {
2659 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2663 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2669 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Remove(void * jarg1, void * jarg2) {
2670 Dali::Window *arg1 = (Dali::Window *) 0 ;
2671 Dali::Actor *arg2 = 0 ;
2673 arg1 = (Dali::Window *)jarg1;
2674 arg2 = (Dali::Actor *)jarg2;
2676 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Actor & type is null", 0);
2681 (arg1)->Remove(*arg2);
2682 } catch (std::out_of_range& e) {
2684 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2686 } catch (std::exception& e) {
2688 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2690 } catch (Dali::DaliException e) {
2692 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2696 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2702 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetBackgroundColor(void * jarg1, void * jarg2) {
2703 Dali::Window *arg1 = (Dali::Window *) 0 ;
2704 Dali::Vector4 arg2 ;
2705 Dali::Vector4 *argp2 ;
2707 arg1 = (Dali::Window *)jarg1;
2708 argp2 = (Dali::Vector4 *)jarg2;
2710 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Vector4", 0);
2716 (arg1)->SetBackgroundColor(arg2);
2717 } catch (std::out_of_range& e) {
2719 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2721 } catch (std::exception& e) {
2723 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2725 } catch (Dali::DaliException e) {
2727 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2731 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2737 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_GetBackgroundColor(void * jarg1) {
2739 Dali::Window *arg1 = (Dali::Window *) 0 ;
2740 Dali::Vector4 result;
2742 arg1 = (Dali::Window *)jarg1;
2745 result = ((Dali::Window const *)arg1)->GetBackgroundColor();
2746 } catch (std::out_of_range& e) {
2748 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2750 } catch (std::exception& e) {
2752 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2754 } catch (Dali::DaliException e) {
2756 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2760 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2765 jresult = new Dali::Vector4((const Dali::Vector4 &)result);
2769 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_GetRootLayer(void * jarg1) {
2771 Dali::Window *arg1 = (Dali::Window *) 0 ;
2774 arg1 = (Dali::Window *)jarg1;
2777 result = ((Dali::Window const *)arg1)->GetRootLayer();
2778 } catch (std::out_of_range& e) {
2780 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2782 } catch (std::exception& e) {
2784 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2786 } catch (Dali::DaliException e) {
2788 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2792 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2797 jresult = new Dali::Layer((const Dali::Layer &)result);
2801 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_KeyEventSignal(void * jarg1) {
2803 Dali::Window *arg1 = (Dali::Window *) 0 ;
2804 Dali::DevelWindow::KeyEventSignalType *result = 0 ;
2806 arg1 = (Dali::Window *)jarg1;
2809 result = (Dali::DevelWindow::KeyEventSignalType *) &(Dali::DevelWindow::KeyEventSignal(*arg1));
2810 } catch (std::out_of_range& e) {
2812 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2814 } catch (std::exception& e) {
2816 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2818 } catch (Dali::DaliException e) {
2820 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2824 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2829 jresult = (void *)result;
2833 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_TouchSignal(void * jarg1) {
2835 Dali::Window *arg1 = (Dali::Window *) 0 ;
2836 Dali::DevelWindow::TouchSignalType *result = 0 ;
2838 arg1 = (Dali::Window *)jarg1;
2841 result = (Dali::DevelWindow::TouchSignalType *) &(Dali::DevelWindow::TouchSignal(*arg1));
2842 } catch (std::out_of_range& e) {
2844 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2846 } catch (std::exception& e) {
2848 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2850 } catch (Dali::DaliException e) {
2852 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2856 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2861 jresult = (void *)result;
2865 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetParent(void* jarg1, void* jarg2)
2867 Dali::Window* window = (Dali::Window*)jarg1;
2869 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2873 Dali::Window* parent = (Dali::Window*)jarg2;
2875 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2880 Dali::DevelWindow::SetParent(*window, *parent);
2881 } catch (std::out_of_range& e) {
2883 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2885 } catch (std::exception& e) {
2887 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2889 } catch (Dali::DaliException e) {
2891 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2895 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2902 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Unparent(void* jarg1)
2904 Dali::Window* window = (Dali::Window*)jarg1;
2906 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2911 Dali::DevelWindow::Unparent(*window);
2912 } catch (std::out_of_range& e) {
2914 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2916 } catch (std::exception& e) {
2918 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2920 } catch (Dali::DaliException e) {
2922 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2926 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2933 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_GetParent(void* jarg1)
2936 Dali::Window* window = (Dali::Window*)jarg1;
2937 Dali::Window result;
2939 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2944 result = Dali::DevelWindow::GetParent(*window);
2945 } catch (std::out_of_range& e) {
2947 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2949 } catch (std::exception& e) {
2951 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2953 } catch (Dali::DaliException e) {
2955 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2959 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2963 jresult = new Dali::Window((const Dali::Window &)result);
2967 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_Transition_Effect_EventSignal(void * jarg1) {
2969 Dali::Window *arg1 = (Dali::Window *) 0 ;
2970 Dali::DevelWindow::TransitionEffectEventSignalType *result = 0 ;
2972 arg1 = (Dali::Window *)jarg1;
2975 result = (Dali::DevelWindow::TransitionEffectEventSignalType *) &(Dali::DevelWindow::TransitionEffectEventSignal(*arg1));
2976 } catch (std::out_of_range& e) {
2978 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2980 } catch (std::exception& e) {
2982 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2984 } catch (Dali::DaliException e) {
2986 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2990 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2995 jresult = (void *)result;
2999 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_Window_Transition_Effect_Event_Signal_Empty(void * jarg1) {
3000 unsigned int jresult ;
3001 Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *) 0 ;
3004 arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *)jarg1;
3007 result = (bool)Dali_Signal_Window_Transition_Effect_Event_Signal_Empty((Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > const *)arg1);
3008 } catch (std::out_of_range& e) {
3010 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
3012 } catch (std::exception& e) {
3014 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
3016 } catch (Dali::DaliException e) {
3018 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
3022 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
3032 SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_Window_Transition_Effect_Event_Signal_GetConnectionCount(void * jarg1) {
3033 unsigned long jresult ;
3034 Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *) 0 ;
3037 arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *)jarg1;
3040 result = Dali_Signal_Window_Transition_Effect_Event_Signal_GetConnectionCount((Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > const *)arg1);
3041 } catch (std::out_of_range& e) {
3043 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
3045 } catch (std::exception& e) {
3047 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
3049 } catch (Dali::DaliException e) {
3051 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
3055 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
3060 jresult = (unsigned long)result;
3065 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Transition_Effect_Event_Signal_Connect(void * jarg1, void * jarg2) {
3066 Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *) 0 ;
3067 void (*arg2)(Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) = (void (*)(Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType)) 0 ;
3069 arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *)jarg1;
3070 arg2 = (void (*)(Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType))jarg2;
3073 //DALI_LOG_ERROR("CSharp_Dali_Window_Transition_Effect_Event_Signal_Connect(arg1=0x%x, arg2=0x%x) \n", arg1, arg2);
3074 Dali_Signal_Window_Transition_Effect_Event_Signal_Connect(arg1,arg2);
3075 } catch (std::out_of_range& e) {
3077 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
3079 } catch (std::exception& e) {
3081 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
3083 } catch (Dali::DaliException e) {
3085 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
3089 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
3097 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Transition_Effect_Event_Signal_Disconnect(void * jarg1, void * jarg2) {
3098 Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *) 0 ;
3099 void (*arg2)(Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) = (void (*)(Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType)) 0 ;
3101 arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *)jarg1;
3102 arg2 = (void (*)(Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType))jarg2;
3105 Dali_Signal_Window_Transition_Effect_Event_Signal_Disconnect(arg1,arg2);
3106 } catch (std::out_of_range& e) {
3108 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
3110 } catch (std::exception& e) {
3112 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
3114 } catch (Dali::DaliException e) {
3116 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
3120 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
3128 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Transition_Effect_Event_Signal_Emit(void * jarg1, void * jarg2, int jarg3, int jarg4) {
3129 Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *) 0 ;
3131 Dali::Window *argp2 ;
3133 arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *)jarg1;
3134 argp2 = (Dali::Window *)jarg2;
3136 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
3142 Dali_Signal_Window_Transition_Effect_Event_Signal_Emit(arg1,arg2, (Dali::DevelWindow::EffectState)jarg3, (Dali::DevelWindow::EffectType)jarg4);
3143 } catch (std::out_of_range& e) {
3145 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
3147 } catch (std::exception& e) {
3149 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
3151 } catch (Dali::DaliException e) {
3153 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
3157 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
3165 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_Transition_Effect_Event_Signal_new() {
3167 Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *result = 0 ;
3171 result = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *)new Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) >();
3172 } catch (std::out_of_range& e) {
3174 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
3176 } catch (std::exception& e) {
3178 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
3180 } catch (Dali::DaliException e) {
3182 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
3186 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
3191 jresult = (void *)result;
3196 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Transition_Effect_Event_Signal_delete(void * jarg1) {
3197 Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *) 0 ;
3199 arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *)jarg1;
3203 } catch (std::out_of_range& e) {
3205 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
3207 } catch (std::exception& e) {
3209 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
3211 } catch (Dali::DaliException e) {
3213 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
3217 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
3224 SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_Window_Visibility_Changed_Signal(void* jarg1) {
3225 Dali::Window* arg1 = (Dali::Window*) jarg1;
3226 Dali::DevelWindow::VisibilityChangedSignalType* result = 0;
3230 result = (Dali::DevelWindow::VisibilityChangedSignalType*) &( Dali::DevelWindow::VisibilityChangedSignal(*arg1) );
3232 catch (std::out_of_range & e) {
3234 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
3237 catch (std::exception & e) {
3239 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
3242 catch (Dali::DaliException e) {
3244 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
3249 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
3253 return (void*)result;
3256 SWIGEXPORT bool SWIGSTDCALL CSharp_Dali_Window_Visibility_Changed_Signal_Empty(void* jarg1) {
3258 Dali::DevelWindow::VisibilityChangedSignalType* arg1 = (Dali::DevelWindow::VisibilityChangedSignalType*) jarg1;
3260 if (arg1 == nullptr) {
3261 DALI_LOG_ERROR("[ERR] arg1 == nullptr");
3267 result = arg1->Empty();
3269 catch (std::out_of_range & e) {
3271 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return false;
3274 catch (std::exception & e) {
3276 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return false;
3279 catch (Dali::DaliException e) {
3281 SWIG_CSharpException(SWIG_UnknownError, e.condition); return false;
3286 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return false;
3294 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_Window_Visibility_Changed_Signal_GetConnectionCount(void* jarg1) {
3295 unsigned int result;
3296 Dali::DevelWindow::VisibilityChangedSignalType* arg1 = (Dali::DevelWindow::VisibilityChangedSignalType *) jarg1;
3298 if (arg1 == nullptr) {
3299 DALI_LOG_ERROR("[ERR] arg1 == nullptr");
3305 result = arg1->GetConnectionCount();
3307 catch (std::out_of_range & e) {
3309 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
3312 catch (std::exception & e) {
3314 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
3317 catch (Dali::DaliException e) {
3319 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
3324 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
3332 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Visibility_Changed_Signal_Connect(void* jarg1, void* jarg2) {
3333 Dali::DevelWindow::VisibilityChangedSignalType* arg1 = (Dali::DevelWindow::VisibilityChangedSignalType *)jarg1;
3334 void (*arg2)(Dali::Window, bool) = ( void (*)(Dali::Window, bool) )jarg2;
3336 if (arg1 == nullptr) {
3337 DALI_LOG_ERROR("[ERR] arg1 == nullptr");
3343 arg1->Connect(arg2);
3345 catch (std::out_of_range & e) {
3347 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return;
3350 catch (std::exception & e) {
3352 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return;
3355 catch (Dali::DaliException e) {
3357 SWIG_CSharpException(SWIG_UnknownError, e.condition); return;
3362 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return;
3370 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Visibility_Changed_Signal_Disconnect(void* jarg1, void* jarg2) {
3371 Dali::DevelWindow::VisibilityChangedSignalType* arg1 = (Dali::DevelWindow::VisibilityChangedSignalType*)jarg1;
3372 void (*arg2)(Dali::Window, bool) = (void (*)(Dali::Window, bool))jarg2;
3374 if (arg1 == nullptr) {
3375 DALI_LOG_ERROR("[ERR] arg1 == nullptr");
3381 arg1->Disconnect(arg2);
3383 catch (std::out_of_range & e) {
3385 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return;
3388 catch (std::exception & e) {
3390 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return;
3393 catch (Dali::DaliException e) {
3395 SWIG_CSharpException(SWIG_UnknownError, e.condition); return;
3400 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return;
3407 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Visibility_Changed_Signal_Emit(void* jarg1, void* jarg2, bool jarg3) {
3408 Dali::DevelWindow::VisibilityChangedSignalType* arg1 = (Dali::DevelWindow::VisibilityChangedSignalType*)jarg1;
3409 Dali::Window* arg2 = (Dali::Window*)jarg2;
3412 if (arg1 == nullptr || arg2 == nullptr) {
3413 DALI_LOG_ERROR("[ERR] arg1 == nullptr or arg2 == nullptr");
3419 arg1->Emit(*arg2, arg3);
3421 catch (std::out_of_range & e) {
3423 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return;
3426 catch (std::exception & e) {
3428 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return;
3431 catch (Dali::DaliException e) {
3433 SWIG_CSharpException(SWIG_UnknownError, e.condition); return;
3438 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return;
3445 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Visibility_Changed_Signal_delete(void* jarg1) {
3446 Dali::DevelWindow::VisibilityChangedSignalType* arg1 = (Dali::DevelWindow::VisibilityChangedSignalType*)jarg1;
3452 catch (std::out_of_range & e) {
3454 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return;
3457 catch (std::exception & e) {
3459 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return;
3462 catch (Dali::DaliException e) {
3464 SWIG_CSharpException(SWIG_UnknownError, e.condition); return;
3469 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return;