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/adaptors/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){
72 SWIGEXPORT Dali::BaseHandle * SWIGSTDCALL CSharp_Dali_Window_SWIGUpcast(Dali::Window *jarg1) {
73 return (Dali::BaseHandle *)jarg1;
76 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_New__SWIG_0(void * jarg1, char * jarg2, unsigned int jarg3) {
78 Dali::PositionSize arg1 ;
79 std::string *arg2 = 0 ;
81 Dali::PositionSize *argp1 ;
84 argp1 = (Dali::PositionSize *)jarg1;
87 arg1 = Dali::PositionSize(0, 0, 0, 0);
94 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
97 std::string arg2_str(jarg2);
99 arg3 = jarg3 ? true : false;
102 result = Dali::Window::New(arg1,(std::string const &)*arg2,arg3);
103 } catch (std::out_of_range& e) {
105 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
107 } catch (std::exception& e) {
109 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
111 } catch (Dali::DaliException e) {
113 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
117 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
122 jresult = new Dali::Window((const Dali::Window &)result);
124 //argout typemap for const std::string&
130 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_New__SWIG_1(void * jarg1, char * jarg2) {
132 Dali::PositionSize arg1 ;
133 std::string *arg2 = 0 ;
134 Dali::PositionSize *argp1 ;
137 argp1 = (Dali::PositionSize *)jarg1;
139 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::PositionSize", 0);
144 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
147 std::string arg2_str(jarg2);
151 result = Dali::Window::New(arg1,(std::string const &)*arg2);
152 } catch (std::out_of_range& e) {
154 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
156 } catch (std::exception& e) {
158 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
160 } catch (Dali::DaliException e) {
162 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
166 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
171 jresult = new Dali::Window((const Dali::Window &)result);
173 //argout typemap for const std::string&
179 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_New__SWIG_2(void * jarg1, char * jarg2, char * jarg3, unsigned int jarg4) {
181 Dali::PositionSize arg1 ;
182 std::string *arg2 = 0 ;
183 std::string *arg3 = 0 ;
185 Dali::PositionSize *argp1 ;
188 argp1 = (Dali::PositionSize *)jarg1;
190 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::PositionSize", 0);
195 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
198 std::string arg2_str(jarg2);
201 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
204 std::string arg3_str(jarg3);
206 arg4 = jarg4 ? true : false;
209 result = Dali::Window::New(arg1,(std::string const &)*arg2,(std::string const &)*arg3,arg4);
210 } catch (std::out_of_range& e) {
212 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
214 } catch (std::exception& e) {
216 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
218 } catch (Dali::DaliException e) {
220 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
224 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
229 jresult = new Dali::Window((const Dali::Window &)result);
235 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_New__SWIG_3(void * jarg1, char * jarg2, char * jarg3) {
237 Dali::PositionSize arg1 ;
238 std::string *arg2 = 0 ;
239 std::string *arg3 = 0 ;
240 Dali::PositionSize *argp1 ;
243 argp1 = (Dali::PositionSize *)jarg1;
245 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::PositionSize", 0);
250 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
253 std::string arg2_str(jarg2);
256 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
259 std::string arg3_str(jarg3);
263 result = Dali::Window::New(arg1,(std::string const &)*arg2,(std::string const &)*arg3);
264 } catch (std::out_of_range& e) {
266 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
268 } catch (std::exception& e) {
270 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
272 } catch (Dali::DaliException e) {
274 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
278 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
283 jresult = new Dali::Window((const Dali::Window &)result);
289 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_Window__SWIG_0() {
291 Dali::Window *result = 0 ;
295 result = (Dali::Window *)new Dali::Window();
296 } catch (std::out_of_range& e) {
298 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
300 } catch (std::exception& e) {
302 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
304 } catch (Dali::DaliException e) {
306 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
310 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
315 jresult = (void *)result;
320 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_Window(void * jarg1) {
321 Dali::Window *arg1 = (Dali::Window *) 0 ;
323 arg1 = (Dali::Window *)jarg1;
327 } catch (std::out_of_range& e) {
329 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
331 } catch (std::exception& e) {
333 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
335 } catch (Dali::DaliException e) {
337 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
341 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
349 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_Window__SWIG_1(void * jarg1) {
351 Dali::Window *arg1 = 0 ;
352 Dali::Window *result = 0 ;
354 arg1 = (Dali::Window *)jarg1;
356 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Window const & type is null", 0);
361 result = (Dali::Window *)new Dali::Window((Dali::Window const &)*arg1);
362 } catch (std::out_of_range& e) {
364 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
366 } catch (std::exception& e) {
368 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
370 } catch (Dali::DaliException e) {
372 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
376 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
381 jresult = (void *)result;
386 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_Assign(void * jarg1, void * jarg2) {
388 Dali::Window *arg1 = (Dali::Window *) 0 ;
389 Dali::Window *arg2 = 0 ;
390 Dali::Window *result = 0 ;
392 arg1 = (Dali::Window *)jarg1;
393 arg2 = (Dali::Window *)jarg2;
395 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Window const & type is null", 0);
400 result = (Dali::Window *) &(arg1)->operator =((Dali::Window const &)*arg2);
401 } catch (std::out_of_range& e) {
403 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
405 } catch (std::exception& e) {
407 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
409 } catch (Dali::DaliException e) {
411 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
415 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
420 jresult = (void *)result;
425 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_ShowIndicator(void * jarg1, int jarg2) {
426 Dali::Window *arg1 = (Dali::Window *) 0 ;
427 Dali::Window::IndicatorVisibleMode arg2 ;
429 arg1 = (Dali::Window *)jarg1;
430 arg2 = (Dali::Window::IndicatorVisibleMode)jarg2;
433 (arg1)->ShowIndicator(arg2);
434 } catch (std::out_of_range& e) {
436 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
438 } catch (std::exception& e) {
440 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
442 } catch (Dali::DaliException e) {
444 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
448 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
456 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetIndicatorBgOpacity(void * jarg1, int jarg2) {
457 Dali::Window *arg1 = (Dali::Window *) 0 ;
458 Dali::Window::IndicatorBgOpacity arg2 ;
460 arg1 = (Dali::Window *)jarg1;
461 arg2 = (Dali::Window::IndicatorBgOpacity)jarg2;
464 (arg1)->SetIndicatorBgOpacity(arg2);
465 } catch (std::out_of_range& e) {
467 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
469 } catch (std::exception& e) {
471 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
473 } catch (Dali::DaliException e) {
475 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
479 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
487 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_RotateIndicator(void * jarg1, int jarg2) {
488 Dali::Window *arg1 = (Dali::Window *) 0 ;
489 Dali::Window::WindowOrientation arg2 ;
491 arg1 = (Dali::Window *)jarg1;
492 arg2 = (Dali::Window::WindowOrientation)jarg2;
495 (arg1)->RotateIndicator(arg2);
496 } catch (std::out_of_range& e) {
498 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
500 } catch (std::exception& e) {
502 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
504 } catch (Dali::DaliException e) {
506 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
510 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
518 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetClass(void * jarg1, char * jarg2, char * jarg3) {
519 Dali::Window *arg1 = (Dali::Window *) 0 ;
523 arg1 = (Dali::Window *)jarg1;
525 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
528 (&arg2)->assign(jarg2);
530 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
533 (&arg3)->assign(jarg3);
536 (arg1)->SetClass(arg2,arg3);
537 } catch (std::out_of_range& e) {
539 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
541 } catch (std::exception& e) {
543 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
545 } catch (Dali::DaliException e) {
547 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
551 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
559 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Raise(void * jarg1) {
560 Dali::Window *arg1 = (Dali::Window *) 0 ;
562 arg1 = (Dali::Window *)jarg1;
566 } catch (std::out_of_range& e) {
568 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
570 } catch (std::exception& e) {
572 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
574 } catch (Dali::DaliException e) {
576 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
580 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
588 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Lower(void * jarg1) {
589 Dali::Window *arg1 = (Dali::Window *) 0 ;
591 arg1 = (Dali::Window *)jarg1;
595 } catch (std::out_of_range& e) {
597 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
599 } catch (std::exception& e) {
601 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
603 } catch (Dali::DaliException e) {
605 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
609 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
617 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Activate(void * jarg1) {
618 Dali::Window *arg1 = (Dali::Window *) 0 ;
620 arg1 = (Dali::Window *)jarg1;
624 } catch (std::out_of_range& e) {
626 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
628 } catch (std::exception& e) {
630 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
632 } catch (Dali::DaliException e) {
634 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
638 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
646 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_AddAvailableOrientation(void * jarg1, int jarg2) {
647 Dali::Window *arg1 = (Dali::Window *) 0 ;
648 Dali::Window::WindowOrientation arg2 ;
650 arg1 = (Dali::Window *)jarg1;
651 arg2 = (Dali::Window::WindowOrientation)jarg2;
654 (arg1)->AddAvailableOrientation(arg2);
655 } catch (std::out_of_range& e) {
657 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
659 } catch (std::exception& e) {
661 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
663 } catch (Dali::DaliException e) {
665 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
669 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
677 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_RemoveAvailableOrientation(void * jarg1, int jarg2) {
678 Dali::Window *arg1 = (Dali::Window *) 0 ;
679 Dali::Window::WindowOrientation arg2 ;
681 arg1 = (Dali::Window *)jarg1;
682 arg2 = (Dali::Window::WindowOrientation)jarg2;
685 (arg1)->RemoveAvailableOrientation(arg2);
686 } catch (std::out_of_range& e) {
688 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
690 } catch (std::exception& e) {
692 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
694 } catch (Dali::DaliException e) {
696 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
700 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
708 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetPreferredOrientation(void * jarg1, int jarg2) {
709 Dali::Window *arg1 = (Dali::Window *) 0 ;
710 Dali::Window::WindowOrientation arg2 ;
712 arg1 = (Dali::Window *)jarg1;
713 arg2 = (Dali::Window::WindowOrientation)jarg2;
716 (arg1)->SetPreferredOrientation(arg2);
717 } catch (std::out_of_range& e) {
719 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
721 } catch (std::exception& e) {
723 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
725 } catch (Dali::DaliException e) {
727 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
731 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
739 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_Window_GetPreferredOrientation(void * jarg1) {
741 Dali::Window *arg1 = (Dali::Window *) 0 ;
742 Dali::Window::WindowOrientation result;
744 arg1 = (Dali::Window *)jarg1;
747 result = (Dali::Window::WindowOrientation)(arg1)->GetPreferredOrientation();
748 } catch (std::out_of_range& e) {
750 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
752 } catch (std::exception& e) {
754 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
756 } catch (Dali::DaliException e) {
758 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
762 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
767 jresult = (int)result;
772 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_GetNativeHandle(void * jarg1) {
774 Dali::Window *arg1 = (Dali::Window *) 0 ;
777 arg1 = (Dali::Window *)jarg1;
780 result = ((Dali::Window const *)arg1)->GetNativeHandle();
781 } catch (std::out_of_range& e) {
783 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
785 } catch (std::exception& e) {
787 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
789 } catch (Dali::DaliException e) {
791 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
795 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
800 jresult = new Dali::Any((const Dali::Any &)result);
804 /*window-devel binding*/
806 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_FocusChangedSignal(void * jarg1) {
809 Dali::Window *argp1 ;
810 Dali::Window::FocusSignalType *result = 0 ;
812 argp1 = (Dali::Window *)jarg1;
814 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
820 result = (Dali::Window::FocusSignalType*)&arg1.FocusChangedSignal();
821 } catch (std::out_of_range& e) {
823 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
825 } catch (std::exception& e) {
827 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
829 } catch (Dali::DaliException e) {
831 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
835 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
840 jresult = (void *)result;
845 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_SetAcceptFocus(void * jarg1, unsigned int jarg2) {
848 Dali::Window *argp1 ;
850 argp1 = (Dali::Window *)jarg1;
852 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
856 arg2 = jarg2 ? true : false;
859 arg1.SetAcceptFocus(arg2);
860 } catch (std::out_of_range& e) {
862 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
864 } catch (std::exception& e) {
866 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
868 } catch (Dali::DaliException e) {
870 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
874 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
882 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_IsFocusAcceptable(void * jarg1) {
883 unsigned int jresult ;
885 Dali::Window *argp1 ;
888 argp1 = (Dali::Window *)jarg1;
890 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
896 result = (bool)arg1.IsFocusAcceptable();
897 } catch (std::out_of_range& e) {
899 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
901 } catch (std::exception& e) {
903 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
905 } catch (Dali::DaliException e) {
907 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
911 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
921 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Show(void * jarg1) {
923 Dali::Window *argp1 ;
925 argp1 = (Dali::Window *)jarg1;
927 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
934 } catch (std::out_of_range& e) {
936 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
938 } catch (std::exception& e) {
940 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
942 } catch (Dali::DaliException e) {
944 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
948 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
956 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Hide(void * jarg1) {
958 Dali::Window *argp1 ;
960 argp1 = (Dali::Window *)jarg1;
962 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
969 } catch (std::out_of_range& e) {
971 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
973 } catch (std::exception& e) {
975 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
977 } catch (Dali::DaliException e) {
979 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
983 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
991 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_IsVisible(void * jarg1) {
992 unsigned int jresult ;
994 Dali::Window *argp1 ;
997 argp1 = (Dali::Window *)jarg1;
999 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1005 result = (bool)arg1.IsVisible();
1006 } catch (std::out_of_range& e) {
1008 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1010 } catch (std::exception& e) {
1012 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1014 } catch (Dali::DaliException e) {
1016 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1020 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1030 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_GetSupportedAuxiliaryHintCount(void * jarg1) {
1031 unsigned int jresult ;
1033 Dali::Window *argp1 ;
1034 unsigned int result;
1036 argp1 = (Dali::Window *)jarg1;
1038 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1044 result = (unsigned int)arg1.GetSupportedAuxiliaryHintCount();
1045 } catch (std::out_of_range& e) {
1047 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1049 } catch (std::exception& e) {
1051 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1053 } catch (Dali::DaliException e) {
1055 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1059 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1069 SWIGEXPORT char * SWIGSTDCALL CSharp_Dali_GetSupportedAuxiliaryHint(void * jarg1, unsigned int jarg2) {
1073 Dali::Window *argp1 ;
1076 argp1 = (Dali::Window *)jarg1;
1078 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1082 arg2 = (unsigned int)jarg2;
1085 result = arg1.GetSupportedAuxiliaryHint(arg2);
1086 } catch (std::out_of_range& e) {
1088 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1090 } catch (std::exception& e) {
1092 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1094 } catch (Dali::DaliException e) {
1096 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1100 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1105 jresult = SWIG_csharp_string_callback((&result)->c_str());
1110 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_AddAuxiliaryHint(void * jarg1, char * jarg2, char * jarg3) {
1111 unsigned int jresult ;
1113 std::string *arg2 = 0 ;
1114 std::string *arg3 = 0 ;
1115 Dali::Window *argp1 ;
1116 unsigned int result;
1118 argp1 = (Dali::Window *)jarg1;
1120 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1125 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
1128 std::string arg2_str(jarg2);
1131 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
1134 std::string arg3_str(jarg3);
1138 result = (unsigned int)arg1.AddAuxiliaryHint((std::string const &)*arg2,(std::string const &)*arg3);
1139 } catch (std::out_of_range& e) {
1141 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1143 } catch (std::exception& e) {
1145 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1147 } catch (Dali::DaliException e) {
1149 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1153 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1164 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_RemoveAuxiliaryHint(void * jarg1, unsigned int jarg2) {
1165 unsigned int jresult ;
1168 Dali::Window *argp1 ;
1171 argp1 = (Dali::Window *)jarg1;
1173 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1177 arg2 = (unsigned int)jarg2;
1180 result = (bool)arg1.RemoveAuxiliaryHint(arg2);
1181 } catch (std::out_of_range& e) {
1183 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1185 } catch (std::exception& e) {
1187 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1189 } catch (Dali::DaliException e) {
1191 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1195 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1205 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_SetAuxiliaryHintValue(void * jarg1, unsigned int jarg2, char * jarg3) {
1206 unsigned int jresult ;
1209 std::string *arg3 = 0 ;
1210 Dali::Window *argp1 ;
1213 argp1 = (Dali::Window *)jarg1;
1215 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1219 arg2 = (unsigned int)jarg2;
1221 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
1224 std::string arg3_str(jarg3);
1228 result = (bool)arg1.SetAuxiliaryHintValue(arg2,(std::string const &)*arg3);
1229 } catch (std::out_of_range& e) {
1231 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1233 } catch (std::exception& e) {
1235 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1237 } catch (Dali::DaliException e) {
1239 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1243 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1250 //argout typemap for const std::string&
1256 SWIGEXPORT char * SWIGSTDCALL CSharp_Dali_GetAuxiliaryHintValue(void * jarg1, unsigned int jarg2) {
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 = arg1.GetAuxiliaryHintValue(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;
1292 jresult = SWIG_csharp_string_callback((&result)->c_str());
1297 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_GetAuxiliaryHintId(void * jarg1, char * jarg2) {
1298 unsigned int jresult ;
1300 std::string *arg2 = 0 ;
1301 Dali::Window *argp1 ;
1302 unsigned int result;
1304 argp1 = (Dali::Window *)jarg1;
1306 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1311 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
1314 std::string arg2_str(jarg2);
1318 result = (unsigned int)arg1.GetAuxiliaryHintId((std::string const &)*arg2);
1319 } catch (std::out_of_range& e) {
1321 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1323 } catch (std::exception& e) {
1325 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1327 } catch (Dali::DaliException e) {
1329 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1333 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1340 //argout typemap for const std::string&
1346 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_SetInputRegion(void * jarg1, void * jarg2) {
1348 Dali::Rect< int > *arg2 = 0 ;
1349 Dali::Window *argp1 ;
1351 argp1 = (Dali::Window *)jarg1;
1353 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1357 arg2 = (Dali::Rect< int > *)jarg2;
1359 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Rect< int > const & type is null", 0);
1364 arg1.SetInputRegion((Dali::Rect< int > const &)*arg2);
1365 } catch (std::out_of_range& e) {
1367 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1369 } catch (std::exception& e) {
1371 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1373 } catch (Dali::DaliException e) {
1375 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1379 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1387 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_SetType(void * jarg1, int jarg2) {
1389 Dali::Window::Type arg2 ;
1390 Dali::Window *argp1 ;
1392 argp1 = (Dali::Window *)jarg1;
1394 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1398 arg2 = (Dali::Window::Type)jarg2;
1402 } catch (std::out_of_range& e) {
1404 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1406 } catch (std::exception& e) {
1408 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1410 } catch (Dali::DaliException e) {
1412 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1416 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1424 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GetType(void * jarg1) {
1427 Dali::Window *argp1 ;
1428 Dali::Window::Type result;
1430 argp1 = (Dali::Window *)jarg1;
1432 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1438 result = (Dali::Window::Type)arg1.GetType();
1439 } catch (std::out_of_range& e) {
1441 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1443 } catch (std::exception& e) {
1445 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1447 } catch (Dali::DaliException e) {
1449 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1453 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1458 jresult = (int)result;
1463 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_SetNotificationLevel(void * jarg1, int jarg2) {
1464 unsigned int jresult ;
1466 Dali::Window::NotificationLevel::Type arg2 ;
1467 Dali::Window *argp1 ;
1470 argp1 = (Dali::Window *)jarg1;
1472 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1476 arg2 = (Dali::Window::NotificationLevel::Type)jarg2;
1479 result = (bool)arg1.SetNotificationLevel(arg2);
1480 } catch (std::out_of_range& e) {
1482 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1484 } catch (std::exception& e) {
1486 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1488 } catch (Dali::DaliException e) {
1490 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1494 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1504 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GetNotificationLevel(void * jarg1) {
1507 Dali::Window *argp1 ;
1508 Dali::Window::NotificationLevel::Type result;
1510 argp1 = (Dali::Window *)jarg1;
1512 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1518 result = (Dali::Window::NotificationLevel::Type)arg1.GetNotificationLevel();
1519 } catch (std::out_of_range& e) {
1521 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1523 } catch (std::exception& e) {
1525 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1527 } catch (Dali::DaliException e) {
1529 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1533 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1538 jresult = (int)result;
1543 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_SetOpaqueState(void * jarg1, unsigned int jarg2) {
1546 Dali::Window *argp1 ;
1548 argp1 = (Dali::Window *)jarg1;
1550 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1554 arg2 = jarg2 ? true : false;
1557 arg1.SetOpaqueState(arg2);
1558 } catch (std::out_of_range& e) {
1560 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1562 } catch (std::exception& e) {
1564 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1566 } catch (Dali::DaliException e) {
1568 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1572 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1580 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_IsOpaqueState(void * jarg1) {
1581 unsigned int jresult ;
1583 Dali::Window *argp1 ;
1586 argp1 = (Dali::Window *)jarg1;
1588 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1594 result = (bool)arg1.IsOpaqueState();
1595 } catch (std::out_of_range& e) {
1597 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1599 } catch (std::exception& e) {
1601 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1603 } catch (Dali::DaliException e) {
1605 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1609 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1619 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_SetScreenOffMode(void * jarg1, int jarg2) {
1620 unsigned int jresult ;
1622 Dali::Window::ScreenOffMode::Type arg2 ;
1623 Dali::Window *argp1 ;
1626 argp1 = (Dali::Window *)jarg1;
1628 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1632 arg2 = (Dali::Window::ScreenOffMode::Type)jarg2;
1635 result = (bool)arg1.SetScreenOffMode(arg2);
1636 } catch (std::out_of_range& e) {
1638 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1640 } catch (std::exception& e) {
1642 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1644 } catch (Dali::DaliException e) {
1646 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1650 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1660 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GetScreenOffMode(void * jarg1) {
1663 Dali::Window *argp1 ;
1664 Dali::Window::ScreenOffMode::Type result;
1666 argp1 = (Dali::Window *)jarg1;
1668 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1674 result = (Dali::Window::ScreenOffMode::Type)arg1.GetScreenOffMode();
1675 } catch (std::out_of_range& e) {
1677 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1679 } catch (std::exception& e) {
1681 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1683 } catch (Dali::DaliException e) {
1685 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1689 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1694 jresult = (int)result;
1699 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_SetBrightness(void * jarg1, int jarg2) {
1700 unsigned int jresult ;
1703 Dali::Window *argp1 ;
1706 argp1 = (Dali::Window *)jarg1;
1708 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1715 result = (bool)arg1.SetBrightness(arg2);
1716 } catch (std::out_of_range& e) {
1718 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1720 } catch (std::exception& e) {
1722 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1724 } catch (Dali::DaliException e) {
1726 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1730 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1740 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GetBrightness(void * jarg1) {
1743 Dali::Window *argp1 ;
1746 argp1 = (Dali::Window *)jarg1;
1748 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1754 result = (int)arg1.GetBrightness();
1755 } catch (std::out_of_range& e) {
1757 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1759 } catch (std::exception& e) {
1761 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1763 } catch (Dali::DaliException e) {
1765 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1769 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1778 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_WindowFocusSignalType_Empty(void * jarg1) {
1779 unsigned int jresult ;
1780 Dali::Signal< void (bool) > *arg1 = (Dali::Signal< void (bool) > *) 0 ;
1783 arg1 = (Dali::Signal< void (bool) > *)jarg1;
1786 result = (bool)Dali_Signal_Sl_void_Sp_bool_SP__Sg__Empty((Dali::Signal< void (bool) > const *)arg1);
1787 } catch (std::out_of_range& e) {
1789 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1791 } catch (std::exception& e) {
1793 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1795 } catch (Dali::DaliException e) {
1797 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1801 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1811 SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_WindowFocusSignalType_GetConnectionCount(void * jarg1) {
1812 unsigned long jresult ;
1813 Dali::Signal< void (bool) > *arg1 = (Dali::Signal< void (bool) > *) 0 ;
1816 arg1 = (Dali::Signal< void (bool) > *)jarg1;
1819 result = Dali_Signal_Sl_void_Sp_bool_SP__Sg__GetConnectionCount((Dali::Signal< void (bool) > const *)arg1);
1820 } catch (std::out_of_range& e) {
1822 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1824 } catch (std::exception& e) {
1826 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1828 } catch (Dali::DaliException e) {
1830 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1834 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1839 jresult = (unsigned long)result;
1844 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WindowFocusSignalType_Connect(void * jarg1, void * jarg2) {
1845 Dali::Signal< void (bool) > *arg1 = (Dali::Signal< void (bool) > *) 0 ;
1846 void (*arg2)(bool) = (void (*)(bool)) 0 ;
1848 arg1 = (Dali::Signal< void (bool) > *)jarg1;
1849 arg2 = (void (*)(bool))jarg2;
1852 Dali_Signal_Sl_void_Sp_bool_SP__Sg__Connect(arg1,arg2);
1853 } catch (std::out_of_range& e) {
1855 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1857 } catch (std::exception& e) {
1859 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1861 } catch (Dali::DaliException e) {
1863 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1867 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1875 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WindowFocusSignalType_Disconnect(void * jarg1, void * jarg2) {
1876 Dali::Signal< void (bool) > *arg1 = (Dali::Signal< void (bool) > *) 0 ;
1877 void (*arg2)(bool) = (void (*)(bool)) 0 ;
1879 arg1 = (Dali::Signal< void (bool) > *)jarg1;
1880 arg2 = (void (*)(bool))jarg2;
1883 Dali_Signal_Sl_void_Sp_bool_SP__Sg__Disconnect(arg1,arg2);
1884 } catch (std::out_of_range& e) {
1886 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1888 } catch (std::exception& e) {
1890 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1892 } catch (Dali::DaliException e) {
1894 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1898 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1906 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WindowFocusSignalType_Emit(void * jarg1, unsigned int jarg2) {
1907 Dali::Signal< void (bool) > *arg1 = (Dali::Signal< void (bool) > *) 0 ;
1910 arg1 = (Dali::Signal< void (bool) > *)jarg1;
1911 arg2 = jarg2 ? true : false;
1914 Dali_Signal_Sl_void_Sp_bool_SP__Sg__Emit(arg1,arg2);
1915 } catch (std::out_of_range& e) {
1917 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1919 } catch (std::exception& e) {
1921 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1923 } catch (Dali::DaliException e) {
1925 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1929 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1937 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_WindowFocusSignalType() {
1939 Dali::Signal< void (bool) > *result = 0 ;
1943 result = (Dali::Signal< void (bool) > *)new Dali::Signal< void (bool) >();
1944 } catch (std::out_of_range& e) {
1946 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1948 } catch (std::exception& e) {
1950 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1952 } catch (Dali::DaliException e) {
1954 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1958 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1963 jresult = (void *)result;
1968 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_WindowFocusSignalType(void * jarg1) {
1969 Dali::Signal< void (bool) > *arg1 = (Dali::Signal< void (bool) > *) 0 ;
1971 arg1 = (Dali::Signal< void (bool) > *)jarg1;
1975 } catch (std::out_of_range& e) {
1977 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1979 } catch (std::exception& e) {
1981 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1983 } catch (Dali::DaliException e) {
1985 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1989 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1998 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_ResizedSignal(void * jarg1) {
2001 Dali::Window *argp1 ;
2002 Dali::Window::ResizedSignalType *result = 0 ;
2004 argp1 = (Dali::Window *)jarg1;
2006 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2012 result = (Dali::Window::ResizedSignalType *) &arg1.ResizedSignal();
2013 } catch (std::out_of_range& e) {
2015 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2017 } catch (std::exception& e) {
2019 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2021 } catch (Dali::DaliException e) {
2023 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2027 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2032 jresult = (void *)result;
2036 /*ResizedSignal binding*/
2037 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_ResizedSignal_Empty(void * jarg1) {
2038 unsigned int jresult ;
2039 Dali::Signal< void (Dali::Window::WindowSize) > *arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *) 0 ;
2042 arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *)jarg1;
2045 result = (bool)Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__Empty((Dali::Signal< void (Dali::Window::WindowSize) > const *)arg1);
2046 } catch (std::out_of_range& e) {
2048 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2050 } catch (std::exception& e) {
2052 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2054 } catch (Dali::DaliException e) {
2056 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2060 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2070 SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_ResizedSignal_GetConnectionCount(void * jarg1) {
2071 unsigned long jresult ;
2072 Dali::Signal< void (Dali::Window::WindowSize) > *arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *) 0 ;
2075 arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *)jarg1;
2078 result = Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__GetConnectionCount((Dali::Signal< void (Dali::Window::WindowSize) > const *)arg1);
2079 } catch (std::out_of_range& e) {
2081 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2083 } catch (std::exception& e) {
2085 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2087 } catch (Dali::DaliException e) {
2089 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2093 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2098 jresult = (unsigned long)result;
2103 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ResizedSignal_Connect(void * jarg1, void * jarg2) {
2104 Dali::Signal< void (Dali::Window::WindowSize) > *arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *) 0 ;
2105 void (*arg2)(Dali::Window::WindowSize) = (void (*)(Dali::Window::WindowSize)) 0 ;
2107 arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *)jarg1;
2108 arg2 = (void (*)(Dali::Window::WindowSize))jarg2;
2111 Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__Connect(arg1,arg2);
2112 } catch (std::out_of_range& e) {
2114 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2116 } catch (std::exception& e) {
2118 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2120 } catch (Dali::DaliException e) {
2122 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2126 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2134 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ResizedSignal_Disconnect(void * jarg1, void * jarg2) {
2135 Dali::Signal< void (Dali::Window::WindowSize) > *arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *) 0 ;
2136 void (*arg2)(Dali::Window::WindowSize) = (void (*)(Dali::Window::WindowSize)) 0 ;
2138 arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *)jarg1;
2139 arg2 = (void (*)(Dali::Window::WindowSize))jarg2;
2142 Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__Disconnect(arg1,arg2);
2143 } catch (std::out_of_range& e) {
2145 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2147 } catch (std::exception& e) {
2149 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2151 } catch (Dali::DaliException e) {
2153 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2157 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2165 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ResizedSignal_Emit(void * jarg1, void * jarg2) {
2166 Dali::Signal< void (Dali::Window::WindowSize) > *arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *) 0 ;
2167 Dali::Window::WindowSize arg2 ;
2168 Dali::Window::WindowSize *argp2 ;
2170 arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *)jarg1;
2171 argp2 = (Dali::Window::WindowSize *)jarg2;
2173 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window::WindowSize", 0);
2179 Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__Emit(arg1,arg2);
2180 } catch (std::out_of_range& e) {
2182 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2184 } catch (std::exception& e) {
2186 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2188 } catch (Dali::DaliException e) {
2190 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2194 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2202 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_ResizedSignal() {
2204 Dali::Signal< void (Dali::Window::WindowSize) > *result = 0 ;
2208 result = (Dali::Signal< void (Dali::Window::WindowSize) > *)new Dali::Signal< void (Dali::Window::WindowSize) >();
2209 } catch (std::out_of_range& e) {
2211 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2213 } catch (std::exception& e) {
2215 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2217 } catch (Dali::DaliException e) {
2219 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2223 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2228 jresult = (void *)result;
2233 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_ResizedSignal(void * jarg1) {
2234 Dali::Signal< void (Dali::Window::WindowSize) > *arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *) 0 ;
2236 arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *)jarg1;
2240 } catch (std::out_of_range& e) {
2242 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2244 } catch (std::exception& e) {
2246 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2248 } catch (Dali::DaliException e) {
2250 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2254 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2261 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetSize(void * jarg1, void * jarg2) {
2263 Dali::Window::WindowSize arg2 ;
2264 Dali::Window *argp1 ;
2265 Dali::Window::WindowSize *argp2 ;
2267 argp1 = (Dali::Window *)jarg1;
2269 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2273 argp2 = (Dali::Window::WindowSize *)jarg2;
2275 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window::WindowSize", 0);
2282 } catch (std::out_of_range& e) {
2284 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2286 } catch (std::exception& e) {
2288 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2290 } catch (Dali::DaliException e) {
2292 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2296 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2304 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_GetSize(void * jarg1) {
2307 Dali::Window *argp1 ;
2308 Dali::Window::WindowSize result;
2310 argp1 = (Dali::Window *)jarg1;
2312 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2318 result = arg1.GetSize();
2319 } catch (std::out_of_range& e) {
2321 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2323 } catch (std::exception& e) {
2325 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2327 } catch (Dali::DaliException e) {
2329 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2333 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2338 jresult = new Dali::Window::WindowSize((const Dali::Window::WindowSize &)result);
2343 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetPosition(void * jarg1, void * jarg2) {
2345 Dali::Window::WindowPosition arg2 ;
2346 Dali::Window *argp1 ;
2347 Dali::Window::WindowPosition *argp2 ;
2349 argp1 = (Dali::Window *)jarg1;
2351 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2355 argp2 = (Dali::Window::WindowPosition *)jarg2;
2357 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window::WindowPosition", 0);
2363 arg1.SetPosition(arg2);
2364 } catch (std::out_of_range& e) {
2366 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2368 } catch (std::exception& e) {
2370 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2372 } catch (Dali::DaliException e) {
2374 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2378 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2386 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_GetPosition(void * jarg1) {
2389 Dali::Window *argp1 ;
2390 Dali::Window::WindowPosition result;
2392 argp1 = (Dali::Window *)jarg1;
2394 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2400 result = arg1.GetPosition();
2401 } catch (std::out_of_range& e) {
2403 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2405 } catch (std::exception& e) {
2407 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2409 } catch (Dali::DaliException e) {
2411 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2415 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2420 jresult = new Dali::Window::WindowPosition((const Dali::Window::WindowPosition &)result);
2424 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetPositionSize(void* jarg1, void* jarg2)
2426 Dali::Window* window = (Dali::Window*)jarg1;
2428 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2432 Dali::Rect<int>* positionSize = (Dali::Rect<int>*)jarg2;
2433 if (!positionSize) {
2434 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Rect< int > const & type is null", 0);
2439 Dali::DevelWindow::SetPositionSize(*window, *positionSize);
2440 } catch (std::out_of_range& e) {
2442 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2444 } catch (std::exception& e) {
2446 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2448 } catch (Dali::DaliException e) {
2450 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2454 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2461 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetTransparency(void * jarg1, unsigned int jarg2) {
2464 Dali::Window *argp1 ;
2466 argp1 = (Dali::Window *)jarg1;
2468 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2472 arg2 = jarg2 ? true : false;
2475 arg1.SetTransparency(arg2);
2476 } catch (std::out_of_range& e) {
2478 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2480 } catch (std::exception& e) {
2482 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2484 } catch (Dali::DaliException e) {
2486 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2490 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2497 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_FeedKeyEvent(void * jarg1) {
2498 Dali::KeyEvent *arg1 = 0 ;
2500 arg1 = (Dali::KeyEvent *)jarg1;
2502 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::KeyEvent & type is null", 0);
2507 Dali::Adaptor::Get().FeedKeyEvent(*arg1);
2508 } catch (std::out_of_range& e) {
2510 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2512 } catch (std::exception& e) {
2514 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2518 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2524 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Adaptor_RenderOnce(void * /* jarg1 */) {
2526 Dali::Adaptor::Get().RenderOnce();
2527 } catch (std::out_of_range& e) {
2529 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2531 } catch (std::exception& e) {
2533 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2537 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2542 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Add(void * jarg1, void * jarg2) {
2543 Dali::Window *arg1 = (Dali::Window *) 0 ;
2545 Dali::Actor *argp2 ;
2547 arg1 = (Dali::Window *)jarg1;
2548 argp2 = (Dali::Actor *)jarg2;
2550 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Actor", 0);
2557 } catch (std::out_of_range& e) {
2559 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2561 } catch (std::exception& e) {
2563 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2565 } catch (Dali::DaliException e) {
2567 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2571 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2577 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Remove(void * jarg1, void * jarg2) {
2578 Dali::Window *arg1 = (Dali::Window *) 0 ;
2579 Dali::Actor *arg2 = 0 ;
2581 arg1 = (Dali::Window *)jarg1;
2582 arg2 = (Dali::Actor *)jarg2;
2584 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Actor & type is null", 0);
2589 (arg1)->Remove(*arg2);
2590 } catch (std::out_of_range& e) {
2592 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2594 } catch (std::exception& e) {
2596 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2598 } catch (Dali::DaliException e) {
2600 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2604 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2610 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetBackgroundColor(void * jarg1, void * jarg2) {
2611 Dali::Window *arg1 = (Dali::Window *) 0 ;
2612 Dali::Vector4 arg2 ;
2613 Dali::Vector4 *argp2 ;
2615 arg1 = (Dali::Window *)jarg1;
2616 argp2 = (Dali::Vector4 *)jarg2;
2618 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Vector4", 0);
2624 (arg1)->SetBackgroundColor(arg2);
2625 } catch (std::out_of_range& e) {
2627 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2629 } catch (std::exception& e) {
2631 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2633 } catch (Dali::DaliException e) {
2635 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2639 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2645 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_GetBackgroundColor(void * jarg1) {
2647 Dali::Window *arg1 = (Dali::Window *) 0 ;
2648 Dali::Vector4 result;
2650 arg1 = (Dali::Window *)jarg1;
2653 result = ((Dali::Window const *)arg1)->GetBackgroundColor();
2654 } catch (std::out_of_range& e) {
2656 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2658 } catch (std::exception& e) {
2660 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2662 } catch (Dali::DaliException e) {
2664 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2668 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2673 jresult = new Dali::Vector4((const Dali::Vector4 &)result);
2677 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_GetRootLayer(void * jarg1) {
2679 Dali::Window *arg1 = (Dali::Window *) 0 ;
2682 arg1 = (Dali::Window *)jarg1;
2685 result = ((Dali::Window const *)arg1)->GetRootLayer();
2686 } catch (std::out_of_range& e) {
2688 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2690 } catch (std::exception& e) {
2692 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2694 } catch (Dali::DaliException e) {
2696 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2700 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2705 jresult = new Dali::Layer((const Dali::Layer &)result);
2709 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_KeyEventSignal(void * jarg1) {
2711 Dali::Window *arg1 = (Dali::Window *) 0 ;
2712 Dali::DevelWindow::KeyEventSignalType *result = 0 ;
2714 arg1 = (Dali::Window *)jarg1;
2717 result = (Dali::DevelWindow::KeyEventSignalType *) &(Dali::DevelWindow::KeyEventSignal(*arg1));
2718 } catch (std::out_of_range& e) {
2720 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2722 } catch (std::exception& e) {
2724 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2726 } catch (Dali::DaliException e) {
2728 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2732 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2737 jresult = (void *)result;
2741 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_TouchSignal(void * jarg1) {
2743 Dali::Window *arg1 = (Dali::Window *) 0 ;
2744 Dali::DevelWindow::TouchSignalType *result = 0 ;
2746 arg1 = (Dali::Window *)jarg1;
2749 result = (Dali::DevelWindow::TouchSignalType *) &(Dali::DevelWindow::TouchSignal(*arg1));
2750 } catch (std::out_of_range& e) {
2752 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2754 } catch (std::exception& e) {
2756 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2758 } catch (Dali::DaliException e) {
2760 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2764 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2769 jresult = (void *)result;
2773 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetParent(void* jarg1, void* jarg2)
2775 Dali::Window* window = (Dali::Window*)jarg1;
2777 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2781 Dali::Window* parent = (Dali::Window*)jarg2;
2783 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2788 Dali::DevelWindow::SetParent(*window, *parent);
2789 } catch (std::out_of_range& e) {
2791 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2793 } catch (std::exception& e) {
2795 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2797 } catch (Dali::DaliException e) {
2799 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2803 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2810 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Unparent(void* jarg1)
2812 Dali::Window* window = (Dali::Window*)jarg1;
2814 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2819 Dali::DevelWindow::Unparent(*window);
2820 } catch (std::out_of_range& e) {
2822 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2824 } catch (std::exception& e) {
2826 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2828 } catch (Dali::DaliException e) {
2830 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2834 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2841 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_GetParent(void* jarg1)
2844 Dali::Window* window = (Dali::Window*)jarg1;
2845 Dali::Window result;
2847 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2852 result = Dali::DevelWindow::GetParent(*window);
2853 } catch (std::out_of_range& e) {
2855 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2857 } catch (std::exception& e) {
2859 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2861 } catch (Dali::DaliException e) {
2863 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2867 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2871 jresult = new Dali::Window((const Dali::Window &)result);