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;
86 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::PositionSize", 0);
91 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
94 std::string arg2_str(jarg2);
96 arg3 = jarg3 ? true : false;
99 result = Dali::Window::New(arg1,(std::string const &)*arg2,arg3);
100 } catch (std::out_of_range& e) {
102 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
104 } catch (std::exception& e) {
106 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
108 } catch (Dali::DaliException e) {
110 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
114 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
119 jresult = new Dali::Window((const Dali::Window &)result);
121 //argout typemap for const std::string&
127 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_New__SWIG_1(void * jarg1, char * jarg2) {
129 Dali::PositionSize arg1 ;
130 std::string *arg2 = 0 ;
131 Dali::PositionSize *argp1 ;
134 argp1 = (Dali::PositionSize *)jarg1;
136 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::PositionSize", 0);
141 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
144 std::string arg2_str(jarg2);
148 result = Dali::Window::New(arg1,(std::string const &)*arg2);
149 } catch (std::out_of_range& e) {
151 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
153 } catch (std::exception& e) {
155 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
157 } catch (Dali::DaliException e) {
159 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
163 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
168 jresult = new Dali::Window((const Dali::Window &)result);
170 //argout typemap for const std::string&
176 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_New__SWIG_2(void * jarg1, char * jarg2, char * jarg3, unsigned int jarg4) {
178 Dali::PositionSize arg1 ;
179 std::string *arg2 = 0 ;
180 std::string *arg3 = 0 ;
182 Dali::PositionSize *argp1 ;
185 argp1 = (Dali::PositionSize *)jarg1;
187 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::PositionSize", 0);
192 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
195 std::string arg2_str(jarg2);
198 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
201 std::string arg3_str(jarg3);
203 arg4 = jarg4 ? true : false;
206 result = Dali::Window::New(arg1,(std::string const &)*arg2,(std::string const &)*arg3,arg4);
207 } catch (std::out_of_range& e) {
209 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
211 } catch (std::exception& e) {
213 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
215 } catch (Dali::DaliException e) {
217 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
221 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
226 jresult = new Dali::Window((const Dali::Window &)result);
232 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_New__SWIG_3(void * jarg1, char * jarg2, char * jarg3) {
234 Dali::PositionSize arg1 ;
235 std::string *arg2 = 0 ;
236 std::string *arg3 = 0 ;
237 Dali::PositionSize *argp1 ;
240 argp1 = (Dali::PositionSize *)jarg1;
242 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::PositionSize", 0);
247 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
250 std::string arg2_str(jarg2);
253 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
256 std::string arg3_str(jarg3);
260 result = Dali::Window::New(arg1,(std::string const &)*arg2,(std::string const &)*arg3);
261 } catch (std::out_of_range& e) {
263 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
265 } catch (std::exception& e) {
267 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
269 } catch (Dali::DaliException e) {
271 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
275 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
280 jresult = new Dali::Window((const Dali::Window &)result);
286 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_Window__SWIG_0() {
288 Dali::Window *result = 0 ;
292 result = (Dali::Window *)new Dali::Window();
293 } catch (std::out_of_range& e) {
295 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
297 } catch (std::exception& e) {
299 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
301 } catch (Dali::DaliException e) {
303 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
307 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
312 jresult = (void *)result;
317 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_Window(void * jarg1) {
318 Dali::Window *arg1 = (Dali::Window *) 0 ;
320 arg1 = (Dali::Window *)jarg1;
324 } catch (std::out_of_range& e) {
326 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
328 } catch (std::exception& e) {
330 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
332 } catch (Dali::DaliException e) {
334 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
338 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
346 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_Window__SWIG_1(void * jarg1) {
348 Dali::Window *arg1 = 0 ;
349 Dali::Window *result = 0 ;
351 arg1 = (Dali::Window *)jarg1;
353 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Window const & type is null", 0);
358 result = (Dali::Window *)new Dali::Window((Dali::Window const &)*arg1);
359 } catch (std::out_of_range& e) {
361 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
363 } catch (std::exception& e) {
365 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
367 } catch (Dali::DaliException e) {
369 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
373 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
378 jresult = (void *)result;
383 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_Assign(void * jarg1, void * jarg2) {
385 Dali::Window *arg1 = (Dali::Window *) 0 ;
386 Dali::Window *arg2 = 0 ;
387 Dali::Window *result = 0 ;
389 arg1 = (Dali::Window *)jarg1;
390 arg2 = (Dali::Window *)jarg2;
392 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Window const & type is null", 0);
397 result = (Dali::Window *) &(arg1)->operator =((Dali::Window const &)*arg2);
398 } catch (std::out_of_range& e) {
400 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
402 } catch (std::exception& e) {
404 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
406 } catch (Dali::DaliException e) {
408 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
412 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
417 jresult = (void *)result;
422 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_ShowIndicator(void * jarg1, int jarg2) {
423 Dali::Window *arg1 = (Dali::Window *) 0 ;
424 Dali::Window::IndicatorVisibleMode arg2 ;
426 arg1 = (Dali::Window *)jarg1;
427 arg2 = (Dali::Window::IndicatorVisibleMode)jarg2;
430 (arg1)->ShowIndicator(arg2);
431 } catch (std::out_of_range& e) {
433 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
435 } catch (std::exception& e) {
437 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
439 } catch (Dali::DaliException e) {
441 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
445 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
453 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetIndicatorBgOpacity(void * jarg1, int jarg2) {
454 Dali::Window *arg1 = (Dali::Window *) 0 ;
455 Dali::Window::IndicatorBgOpacity arg2 ;
457 arg1 = (Dali::Window *)jarg1;
458 arg2 = (Dali::Window::IndicatorBgOpacity)jarg2;
461 (arg1)->SetIndicatorBgOpacity(arg2);
462 } catch (std::out_of_range& e) {
464 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
466 } catch (std::exception& e) {
468 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
470 } catch (Dali::DaliException e) {
472 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
476 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
484 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_RotateIndicator(void * jarg1, int jarg2) {
485 Dali::Window *arg1 = (Dali::Window *) 0 ;
486 Dali::Window::WindowOrientation arg2 ;
488 arg1 = (Dali::Window *)jarg1;
489 arg2 = (Dali::Window::WindowOrientation)jarg2;
492 (arg1)->RotateIndicator(arg2);
493 } catch (std::out_of_range& e) {
495 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
497 } catch (std::exception& e) {
499 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
501 } catch (Dali::DaliException e) {
503 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
507 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
515 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetClass(void * jarg1, char * jarg2, char * jarg3) {
516 Dali::Window *arg1 = (Dali::Window *) 0 ;
520 arg1 = (Dali::Window *)jarg1;
522 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
525 (&arg2)->assign(jarg2);
527 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
530 (&arg3)->assign(jarg3);
533 (arg1)->SetClass(arg2,arg3);
534 } catch (std::out_of_range& e) {
536 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
538 } catch (std::exception& e) {
540 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
542 } catch (Dali::DaliException e) {
544 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
548 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
556 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Raise(void * jarg1) {
557 Dali::Window *arg1 = (Dali::Window *) 0 ;
559 arg1 = (Dali::Window *)jarg1;
563 } catch (std::out_of_range& e) {
565 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
567 } catch (std::exception& e) {
569 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
571 } catch (Dali::DaliException e) {
573 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
577 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
585 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Lower(void * jarg1) {
586 Dali::Window *arg1 = (Dali::Window *) 0 ;
588 arg1 = (Dali::Window *)jarg1;
592 } catch (std::out_of_range& e) {
594 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
596 } catch (std::exception& e) {
598 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
600 } catch (Dali::DaliException e) {
602 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
606 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
614 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Activate(void * jarg1) {
615 Dali::Window *arg1 = (Dali::Window *) 0 ;
617 arg1 = (Dali::Window *)jarg1;
621 } catch (std::out_of_range& e) {
623 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
625 } catch (std::exception& e) {
627 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
629 } catch (Dali::DaliException e) {
631 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
635 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
643 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_AddAvailableOrientation(void * jarg1, int jarg2) {
644 Dali::Window *arg1 = (Dali::Window *) 0 ;
645 Dali::Window::WindowOrientation arg2 ;
647 arg1 = (Dali::Window *)jarg1;
648 arg2 = (Dali::Window::WindowOrientation)jarg2;
651 (arg1)->AddAvailableOrientation(arg2);
652 } catch (std::out_of_range& e) {
654 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
656 } catch (std::exception& e) {
658 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
660 } catch (Dali::DaliException e) {
662 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
666 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
674 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_RemoveAvailableOrientation(void * jarg1, int jarg2) {
675 Dali::Window *arg1 = (Dali::Window *) 0 ;
676 Dali::Window::WindowOrientation arg2 ;
678 arg1 = (Dali::Window *)jarg1;
679 arg2 = (Dali::Window::WindowOrientation)jarg2;
682 (arg1)->RemoveAvailableOrientation(arg2);
683 } catch (std::out_of_range& e) {
685 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
687 } catch (std::exception& e) {
689 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
691 } catch (Dali::DaliException e) {
693 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
697 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
705 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetPreferredOrientation(void * jarg1, int jarg2) {
706 Dali::Window *arg1 = (Dali::Window *) 0 ;
707 Dali::Window::WindowOrientation arg2 ;
709 arg1 = (Dali::Window *)jarg1;
710 arg2 = (Dali::Window::WindowOrientation)jarg2;
713 (arg1)->SetPreferredOrientation(arg2);
714 } catch (std::out_of_range& e) {
716 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
718 } catch (std::exception& e) {
720 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
722 } catch (Dali::DaliException e) {
724 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
728 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
736 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_Window_GetPreferredOrientation(void * jarg1) {
738 Dali::Window *arg1 = (Dali::Window *) 0 ;
739 Dali::Window::WindowOrientation result;
741 arg1 = (Dali::Window *)jarg1;
744 result = (Dali::Window::WindowOrientation)(arg1)->GetPreferredOrientation();
745 } catch (std::out_of_range& e) {
747 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
749 } catch (std::exception& e) {
751 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
753 } catch (Dali::DaliException e) {
755 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
759 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
764 jresult = (int)result;
769 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_GetNativeHandle(void * jarg1) {
771 Dali::Window *arg1 = (Dali::Window *) 0 ;
774 arg1 = (Dali::Window *)jarg1;
777 result = ((Dali::Window const *)arg1)->GetNativeHandle();
778 } catch (std::out_of_range& e) {
780 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
782 } catch (std::exception& e) {
784 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
786 } catch (Dali::DaliException e) {
788 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
792 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
797 jresult = new Dali::Any((const Dali::Any &)result);
801 /*window-devel binding*/
803 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_FocusChangedSignal(void * jarg1) {
806 Dali::Window *argp1 ;
807 Dali::Window::FocusSignalType *result = 0 ;
809 argp1 = (Dali::Window *)jarg1;
811 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
817 result = (Dali::Window::FocusSignalType*)&arg1.FocusChangedSignal();
818 } catch (std::out_of_range& e) {
820 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
822 } catch (std::exception& e) {
824 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
826 } catch (Dali::DaliException e) {
828 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
832 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
837 jresult = (void *)result;
842 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_SetAcceptFocus(void * jarg1, unsigned int jarg2) {
845 Dali::Window *argp1 ;
847 argp1 = (Dali::Window *)jarg1;
849 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
853 arg2 = jarg2 ? true : false;
856 arg1.SetAcceptFocus(arg2);
857 } catch (std::out_of_range& e) {
859 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
861 } catch (std::exception& e) {
863 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
865 } catch (Dali::DaliException e) {
867 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
871 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
879 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_IsFocusAcceptable(void * jarg1) {
880 unsigned int jresult ;
882 Dali::Window *argp1 ;
885 argp1 = (Dali::Window *)jarg1;
887 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
893 result = (bool)arg1.IsFocusAcceptable();
894 } catch (std::out_of_range& e) {
896 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
898 } catch (std::exception& e) {
900 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
902 } catch (Dali::DaliException e) {
904 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
908 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
918 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Show(void * jarg1) {
920 Dali::Window *argp1 ;
922 argp1 = (Dali::Window *)jarg1;
924 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
931 } catch (std::out_of_range& e) {
933 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
935 } catch (std::exception& e) {
937 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
939 } catch (Dali::DaliException e) {
941 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
945 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
953 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Hide(void * jarg1) {
955 Dali::Window *argp1 ;
957 argp1 = (Dali::Window *)jarg1;
959 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
966 } catch (std::out_of_range& e) {
968 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
970 } catch (std::exception& e) {
972 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
974 } catch (Dali::DaliException e) {
976 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
980 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
988 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_IsVisible(void * jarg1) {
989 unsigned int jresult ;
991 Dali::Window *argp1 ;
994 argp1 = (Dali::Window *)jarg1;
996 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1002 result = (bool)arg1.IsVisible();
1003 } catch (std::out_of_range& e) {
1005 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1007 } catch (std::exception& e) {
1009 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1011 } catch (Dali::DaliException e) {
1013 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1017 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1027 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_GetSupportedAuxiliaryHintCount(void * jarg1) {
1028 unsigned int jresult ;
1030 Dali::Window *argp1 ;
1031 unsigned int result;
1033 argp1 = (Dali::Window *)jarg1;
1035 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1041 result = (unsigned int)arg1.GetSupportedAuxiliaryHintCount();
1042 } catch (std::out_of_range& e) {
1044 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1046 } catch (std::exception& e) {
1048 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1050 } catch (Dali::DaliException e) {
1052 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1056 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1066 SWIGEXPORT char * SWIGSTDCALL CSharp_Dali_GetSupportedAuxiliaryHint(void * jarg1, unsigned int jarg2) {
1070 Dali::Window *argp1 ;
1073 argp1 = (Dali::Window *)jarg1;
1075 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1079 arg2 = (unsigned int)jarg2;
1082 result = arg1.GetSupportedAuxiliaryHint(arg2);
1083 } catch (std::out_of_range& e) {
1085 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1087 } catch (std::exception& e) {
1089 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1091 } catch (Dali::DaliException e) {
1093 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1097 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1102 jresult = SWIG_csharp_string_callback((&result)->c_str());
1107 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_AddAuxiliaryHint(void * jarg1, char * jarg2, char * jarg3) {
1108 unsigned int jresult ;
1110 std::string *arg2 = 0 ;
1111 std::string *arg3 = 0 ;
1112 Dali::Window *argp1 ;
1113 unsigned int result;
1115 argp1 = (Dali::Window *)jarg1;
1117 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1122 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
1125 std::string arg2_str(jarg2);
1128 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
1131 std::string arg3_str(jarg3);
1135 result = (unsigned int)arg1.AddAuxiliaryHint((std::string const &)*arg2,(std::string const &)*arg3);
1136 } catch (std::out_of_range& e) {
1138 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1140 } catch (std::exception& e) {
1142 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1144 } catch (Dali::DaliException e) {
1146 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1150 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1161 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_RemoveAuxiliaryHint(void * jarg1, unsigned int jarg2) {
1162 unsigned int jresult ;
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 = (bool)arg1.RemoveAuxiliaryHint(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;
1202 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_SetAuxiliaryHintValue(void * jarg1, unsigned int jarg2, char * jarg3) {
1203 unsigned int jresult ;
1206 std::string *arg3 = 0 ;
1207 Dali::Window *argp1 ;
1210 argp1 = (Dali::Window *)jarg1;
1212 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1216 arg2 = (unsigned int)jarg2;
1218 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
1221 std::string arg3_str(jarg3);
1225 result = (bool)arg1.SetAuxiliaryHintValue(arg2,(std::string const &)*arg3);
1226 } catch (std::out_of_range& e) {
1228 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1230 } catch (std::exception& e) {
1232 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1234 } catch (Dali::DaliException e) {
1236 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1240 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1247 //argout typemap for const std::string&
1253 SWIGEXPORT char * SWIGSTDCALL CSharp_Dali_GetAuxiliaryHintValue(void * jarg1, unsigned int jarg2) {
1257 Dali::Window *argp1 ;
1260 argp1 = (Dali::Window *)jarg1;
1262 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1266 arg2 = (unsigned int)jarg2;
1269 result = arg1.GetAuxiliaryHintValue(arg2);
1270 } catch (std::out_of_range& e) {
1272 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1274 } catch (std::exception& e) {
1276 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1278 } catch (Dali::DaliException e) {
1280 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1284 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1289 jresult = SWIG_csharp_string_callback((&result)->c_str());
1294 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_GetAuxiliaryHintId(void * jarg1, char * jarg2) {
1295 unsigned int jresult ;
1297 std::string *arg2 = 0 ;
1298 Dali::Window *argp1 ;
1299 unsigned int result;
1301 argp1 = (Dali::Window *)jarg1;
1303 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1308 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
1311 std::string arg2_str(jarg2);
1315 result = (unsigned int)arg1.GetAuxiliaryHintId((std::string const &)*arg2);
1316 } catch (std::out_of_range& e) {
1318 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1320 } catch (std::exception& e) {
1322 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1324 } catch (Dali::DaliException e) {
1326 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1330 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1337 //argout typemap for const std::string&
1343 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_SetInputRegion(void * jarg1, void * jarg2) {
1345 Dali::Rect< int > *arg2 = 0 ;
1346 Dali::Window *argp1 ;
1348 argp1 = (Dali::Window *)jarg1;
1350 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1354 arg2 = (Dali::Rect< int > *)jarg2;
1356 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Rect< int > const & type is null", 0);
1361 arg1.SetInputRegion((Dali::Rect< int > const &)*arg2);
1362 } catch (std::out_of_range& e) {
1364 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1366 } catch (std::exception& e) {
1368 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1370 } catch (Dali::DaliException e) {
1372 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1376 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1384 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_SetType(void * jarg1, int jarg2) {
1386 Dali::Window::Type arg2 ;
1387 Dali::Window *argp1 ;
1389 argp1 = (Dali::Window *)jarg1;
1391 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1395 arg2 = (Dali::Window::Type)jarg2;
1399 } catch (std::out_of_range& e) {
1401 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1403 } catch (std::exception& e) {
1405 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1407 } catch (Dali::DaliException e) {
1409 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1413 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1421 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GetType(void * jarg1) {
1424 Dali::Window *argp1 ;
1425 Dali::Window::Type result;
1427 argp1 = (Dali::Window *)jarg1;
1429 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1435 result = (Dali::Window::Type)arg1.GetType();
1436 } catch (std::out_of_range& e) {
1438 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1440 } catch (std::exception& e) {
1442 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1444 } catch (Dali::DaliException e) {
1446 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1450 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1455 jresult = (int)result;
1460 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_SetNotificationLevel(void * jarg1, int jarg2) {
1461 unsigned int jresult ;
1463 Dali::Window::NotificationLevel::Type arg2 ;
1464 Dali::Window *argp1 ;
1467 argp1 = (Dali::Window *)jarg1;
1469 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1473 arg2 = (Dali::Window::NotificationLevel::Type)jarg2;
1476 result = (bool)arg1.SetNotificationLevel(arg2);
1477 } catch (std::out_of_range& e) {
1479 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1481 } catch (std::exception& e) {
1483 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1485 } catch (Dali::DaliException e) {
1487 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1491 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1501 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GetNotificationLevel(void * jarg1) {
1504 Dali::Window *argp1 ;
1505 Dali::Window::NotificationLevel::Type result;
1507 argp1 = (Dali::Window *)jarg1;
1509 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1515 result = (Dali::Window::NotificationLevel::Type)arg1.GetNotificationLevel();
1516 } catch (std::out_of_range& e) {
1518 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1520 } catch (std::exception& e) {
1522 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1524 } catch (Dali::DaliException e) {
1526 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1530 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1535 jresult = (int)result;
1540 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_SetOpaqueState(void * jarg1, unsigned int jarg2) {
1543 Dali::Window *argp1 ;
1545 argp1 = (Dali::Window *)jarg1;
1547 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1551 arg2 = jarg2 ? true : false;
1554 arg1.SetOpaqueState(arg2);
1555 } catch (std::out_of_range& e) {
1557 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1559 } catch (std::exception& e) {
1561 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1563 } catch (Dali::DaliException e) {
1565 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1569 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1577 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_IsOpaqueState(void * jarg1) {
1578 unsigned int jresult ;
1580 Dali::Window *argp1 ;
1583 argp1 = (Dali::Window *)jarg1;
1585 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1591 result = (bool)arg1.IsOpaqueState();
1592 } catch (std::out_of_range& e) {
1594 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1596 } catch (std::exception& e) {
1598 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1600 } catch (Dali::DaliException e) {
1602 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1606 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1616 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_SetScreenOffMode(void * jarg1, int jarg2) {
1617 unsigned int jresult ;
1619 Dali::Window::ScreenOffMode::Type arg2 ;
1620 Dali::Window *argp1 ;
1623 argp1 = (Dali::Window *)jarg1;
1625 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1629 arg2 = (Dali::Window::ScreenOffMode::Type)jarg2;
1632 result = (bool)arg1.SetScreenOffMode(arg2);
1633 } catch (std::out_of_range& e) {
1635 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1637 } catch (std::exception& e) {
1639 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1641 } catch (Dali::DaliException e) {
1643 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1647 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1657 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GetScreenOffMode(void * jarg1) {
1660 Dali::Window *argp1 ;
1661 Dali::Window::ScreenOffMode::Type result;
1663 argp1 = (Dali::Window *)jarg1;
1665 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1671 result = (Dali::Window::ScreenOffMode::Type)arg1.GetScreenOffMode();
1672 } catch (std::out_of_range& e) {
1674 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1676 } catch (std::exception& e) {
1678 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1680 } catch (Dali::DaliException e) {
1682 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1686 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1691 jresult = (int)result;
1696 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_SetBrightness(void * jarg1, int jarg2) {
1697 unsigned int jresult ;
1700 Dali::Window *argp1 ;
1703 argp1 = (Dali::Window *)jarg1;
1705 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1712 result = (bool)arg1.SetBrightness(arg2);
1713 } catch (std::out_of_range& e) {
1715 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1717 } catch (std::exception& e) {
1719 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1721 } catch (Dali::DaliException e) {
1723 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1727 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1737 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GetBrightness(void * jarg1) {
1740 Dali::Window *argp1 ;
1743 argp1 = (Dali::Window *)jarg1;
1745 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1751 result = (int)arg1.GetBrightness();
1752 } catch (std::out_of_range& e) {
1754 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1756 } catch (std::exception& e) {
1758 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1760 } catch (Dali::DaliException e) {
1762 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1766 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1775 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_WindowFocusSignalType_Empty(void * jarg1) {
1776 unsigned int jresult ;
1777 Dali::Signal< void (bool) > *arg1 = (Dali::Signal< void (bool) > *) 0 ;
1780 arg1 = (Dali::Signal< void (bool) > *)jarg1;
1783 result = (bool)Dali_Signal_Sl_void_Sp_bool_SP__Sg__Empty((Dali::Signal< void (bool) > const *)arg1);
1784 } catch (std::out_of_range& e) {
1786 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1788 } catch (std::exception& e) {
1790 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1792 } catch (Dali::DaliException e) {
1794 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1798 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1808 SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_WindowFocusSignalType_GetConnectionCount(void * jarg1) {
1809 unsigned long jresult ;
1810 Dali::Signal< void (bool) > *arg1 = (Dali::Signal< void (bool) > *) 0 ;
1813 arg1 = (Dali::Signal< void (bool) > *)jarg1;
1816 result = Dali_Signal_Sl_void_Sp_bool_SP__Sg__GetConnectionCount((Dali::Signal< void (bool) > const *)arg1);
1817 } catch (std::out_of_range& e) {
1819 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1821 } catch (std::exception& e) {
1823 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1825 } catch (Dali::DaliException e) {
1827 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1831 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1836 jresult = (unsigned long)result;
1841 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WindowFocusSignalType_Connect(void * jarg1, void * jarg2) {
1842 Dali::Signal< void (bool) > *arg1 = (Dali::Signal< void (bool) > *) 0 ;
1843 void (*arg2)(bool) = (void (*)(bool)) 0 ;
1845 arg1 = (Dali::Signal< void (bool) > *)jarg1;
1846 arg2 = (void (*)(bool))jarg2;
1849 Dali_Signal_Sl_void_Sp_bool_SP__Sg__Connect(arg1,arg2);
1850 } catch (std::out_of_range& e) {
1852 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1854 } catch (std::exception& e) {
1856 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1858 } catch (Dali::DaliException e) {
1860 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1864 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1872 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WindowFocusSignalType_Disconnect(void * jarg1, void * jarg2) {
1873 Dali::Signal< void (bool) > *arg1 = (Dali::Signal< void (bool) > *) 0 ;
1874 void (*arg2)(bool) = (void (*)(bool)) 0 ;
1876 arg1 = (Dali::Signal< void (bool) > *)jarg1;
1877 arg2 = (void (*)(bool))jarg2;
1880 Dali_Signal_Sl_void_Sp_bool_SP__Sg__Disconnect(arg1,arg2);
1881 } catch (std::out_of_range& e) {
1883 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1885 } catch (std::exception& e) {
1887 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1889 } catch (Dali::DaliException e) {
1891 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1895 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1903 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WindowFocusSignalType_Emit(void * jarg1, unsigned int jarg2) {
1904 Dali::Signal< void (bool) > *arg1 = (Dali::Signal< void (bool) > *) 0 ;
1907 arg1 = (Dali::Signal< void (bool) > *)jarg1;
1908 arg2 = jarg2 ? true : false;
1911 Dali_Signal_Sl_void_Sp_bool_SP__Sg__Emit(arg1,arg2);
1912 } catch (std::out_of_range& e) {
1914 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1916 } catch (std::exception& e) {
1918 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1920 } catch (Dali::DaliException e) {
1922 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1926 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1934 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_WindowFocusSignalType() {
1936 Dali::Signal< void (bool) > *result = 0 ;
1940 result = (Dali::Signal< void (bool) > *)new Dali::Signal< void (bool) >();
1941 } catch (std::out_of_range& e) {
1943 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1945 } catch (std::exception& e) {
1947 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1949 } catch (Dali::DaliException e) {
1951 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1955 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1960 jresult = (void *)result;
1965 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_WindowFocusSignalType(void * jarg1) {
1966 Dali::Signal< void (bool) > *arg1 = (Dali::Signal< void (bool) > *) 0 ;
1968 arg1 = (Dali::Signal< void (bool) > *)jarg1;
1972 } catch (std::out_of_range& e) {
1974 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1976 } catch (std::exception& e) {
1978 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1980 } catch (Dali::DaliException e) {
1982 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1986 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1995 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_ResizedSignal(void * jarg1) {
1998 Dali::Window *argp1 ;
1999 Dali::Window::ResizedSignalType *result = 0 ;
2001 argp1 = (Dali::Window *)jarg1;
2003 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2009 result = (Dali::Window::ResizedSignalType *) &arg1.ResizedSignal();
2010 } catch (std::out_of_range& e) {
2012 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2014 } catch (std::exception& e) {
2016 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2018 } catch (Dali::DaliException e) {
2020 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2024 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2029 jresult = (void *)result;
2033 /*ResizedSignal binding*/
2034 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_ResizedSignal_Empty(void * jarg1) {
2035 unsigned int jresult ;
2036 Dali::Signal< void (Dali::Window::WindowSize) > *arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *) 0 ;
2039 arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *)jarg1;
2042 result = (bool)Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__Empty((Dali::Signal< void (Dali::Window::WindowSize) > const *)arg1);
2043 } catch (std::out_of_range& e) {
2045 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2047 } catch (std::exception& e) {
2049 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2051 } catch (Dali::DaliException e) {
2053 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2057 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2067 SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_ResizedSignal_GetConnectionCount(void * jarg1) {
2068 unsigned long jresult ;
2069 Dali::Signal< void (Dali::Window::WindowSize) > *arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *) 0 ;
2072 arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *)jarg1;
2075 result = Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__GetConnectionCount((Dali::Signal< void (Dali::Window::WindowSize) > const *)arg1);
2076 } catch (std::out_of_range& e) {
2078 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2080 } catch (std::exception& e) {
2082 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2084 } catch (Dali::DaliException e) {
2086 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2090 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2095 jresult = (unsigned long)result;
2100 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ResizedSignal_Connect(void * jarg1, void * jarg2) {
2101 Dali::Signal< void (Dali::Window::WindowSize) > *arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *) 0 ;
2102 void (*arg2)(Dali::Window::WindowSize) = (void (*)(Dali::Window::WindowSize)) 0 ;
2104 arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *)jarg1;
2105 arg2 = (void (*)(Dali::Window::WindowSize))jarg2;
2108 Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__Connect(arg1,arg2);
2109 } catch (std::out_of_range& e) {
2111 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2113 } catch (std::exception& e) {
2115 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2117 } catch (Dali::DaliException e) {
2119 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2123 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2131 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ResizedSignal_Disconnect(void * jarg1, void * jarg2) {
2132 Dali::Signal< void (Dali::Window::WindowSize) > *arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *) 0 ;
2133 void (*arg2)(Dali::Window::WindowSize) = (void (*)(Dali::Window::WindowSize)) 0 ;
2135 arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *)jarg1;
2136 arg2 = (void (*)(Dali::Window::WindowSize))jarg2;
2139 Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__Disconnect(arg1,arg2);
2140 } catch (std::out_of_range& e) {
2142 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2144 } catch (std::exception& e) {
2146 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2148 } catch (Dali::DaliException e) {
2150 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2154 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2162 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ResizedSignal_Emit(void * jarg1, void * jarg2) {
2163 Dali::Signal< void (Dali::Window::WindowSize) > *arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *) 0 ;
2164 Dali::Window::WindowSize arg2 ;
2165 Dali::Window::WindowSize *argp2 ;
2167 arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *)jarg1;
2168 argp2 = (Dali::Window::WindowSize *)jarg2;
2170 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window::WindowSize", 0);
2176 Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__Emit(arg1,arg2);
2177 } catch (std::out_of_range& e) {
2179 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2181 } catch (std::exception& e) {
2183 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2185 } catch (Dali::DaliException e) {
2187 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2191 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2199 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_ResizedSignal() {
2201 Dali::Signal< void (Dali::Window::WindowSize) > *result = 0 ;
2205 result = (Dali::Signal< void (Dali::Window::WindowSize) > *)new Dali::Signal< void (Dali::Window::WindowSize) >();
2206 } catch (std::out_of_range& e) {
2208 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2210 } catch (std::exception& e) {
2212 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2214 } catch (Dali::DaliException e) {
2216 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2220 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2225 jresult = (void *)result;
2230 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_ResizedSignal(void * jarg1) {
2231 Dali::Signal< void (Dali::Window::WindowSize) > *arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *) 0 ;
2233 arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *)jarg1;
2237 } catch (std::out_of_range& e) {
2239 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2241 } catch (std::exception& e) {
2243 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2245 } catch (Dali::DaliException e) {
2247 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2251 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2258 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetSize(void * jarg1, void * jarg2) {
2260 Dali::Window::WindowSize arg2 ;
2261 Dali::Window *argp1 ;
2262 Dali::Window::WindowSize *argp2 ;
2264 argp1 = (Dali::Window *)jarg1;
2266 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2270 argp2 = (Dali::Window::WindowSize *)jarg2;
2272 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window::WindowSize", 0);
2279 } catch (std::out_of_range& e) {
2281 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2283 } catch (std::exception& e) {
2285 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2287 } catch (Dali::DaliException e) {
2289 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2293 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2301 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_GetSize(void * jarg1) {
2304 Dali::Window *argp1 ;
2305 Dali::Window::WindowSize result;
2307 argp1 = (Dali::Window *)jarg1;
2309 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2315 result = arg1.GetSize();
2316 } catch (std::out_of_range& e) {
2318 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2320 } catch (std::exception& e) {
2322 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2324 } catch (Dali::DaliException e) {
2326 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2330 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2335 jresult = new Dali::Window::WindowSize((const Dali::Window::WindowSize &)result);
2340 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetPosition(void * jarg1, void * jarg2) {
2342 Dali::Window::WindowPosition arg2 ;
2343 Dali::Window *argp1 ;
2344 Dali::Window::WindowPosition *argp2 ;
2346 argp1 = (Dali::Window *)jarg1;
2348 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2352 argp2 = (Dali::Window::WindowPosition *)jarg2;
2354 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window::WindowPosition", 0);
2360 arg1.SetPosition(arg2);
2361 } catch (std::out_of_range& e) {
2363 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2365 } catch (std::exception& e) {
2367 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2369 } catch (Dali::DaliException e) {
2371 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2375 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2383 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_GetPosition(void * jarg1) {
2386 Dali::Window *argp1 ;
2387 Dali::Window::WindowPosition result;
2389 argp1 = (Dali::Window *)jarg1;
2391 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2397 result = arg1.GetPosition();
2398 } catch (std::out_of_range& e) {
2400 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2402 } catch (std::exception& e) {
2404 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2406 } catch (Dali::DaliException e) {
2408 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2412 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2417 jresult = new Dali::Window::WindowPosition((const Dali::Window::WindowPosition &)result);
2421 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetPositionSize(void* jarg1, void* jarg2)
2423 Dali::Window* window = (Dali::Window*)jarg1;
2425 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2429 Dali::Rect<int>* positionSize = (Dali::Rect<int>*)jarg2;
2430 if (!positionSize) {
2431 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Rect< int > const & type is null", 0);
2436 Dali::DevelWindow::SetPositionSize(*window, *positionSize);
2437 } catch (std::out_of_range& e) {
2439 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2441 } catch (std::exception& e) {
2443 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2445 } catch (Dali::DaliException e) {
2447 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2451 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2458 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetTransparency(void * jarg1, unsigned int jarg2) {
2461 Dali::Window *argp1 ;
2463 argp1 = (Dali::Window *)jarg1;
2465 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2469 arg2 = jarg2 ? true : false;
2472 arg1.SetTransparency(arg2);
2473 } catch (std::out_of_range& e) {
2475 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2477 } catch (std::exception& e) {
2479 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2481 } catch (Dali::DaliException e) {
2483 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2487 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2494 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_FeedKeyEvent(void * jarg1) {
2495 Dali::KeyEvent *arg1 = 0 ;
2497 arg1 = (Dali::KeyEvent *)jarg1;
2499 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::KeyEvent & type is null", 0);
2504 Dali::Adaptor::Get().FeedKeyEvent(*arg1);
2505 } catch (std::out_of_range& e) {
2507 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2509 } catch (std::exception& e) {
2511 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2515 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2521 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Adaptor_RenderOnce(void * /* jarg1 */) {
2523 Dali::Adaptor::Get().RenderOnce();
2524 } catch (std::out_of_range& e) {
2526 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2528 } catch (std::exception& e) {
2530 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2534 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2539 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Add(void * jarg1, void * jarg2) {
2540 Dali::Window *arg1 = (Dali::Window *) 0 ;
2542 Dali::Actor *argp2 ;
2544 arg1 = (Dali::Window *)jarg1;
2545 argp2 = (Dali::Actor *)jarg2;
2547 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Actor", 0);
2554 } catch (std::out_of_range& e) {
2556 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2558 } catch (std::exception& e) {
2560 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2562 } catch (Dali::DaliException e) {
2564 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2568 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2574 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Remove(void * jarg1, void * jarg2) {
2575 Dali::Window *arg1 = (Dali::Window *) 0 ;
2576 Dali::Actor *arg2 = 0 ;
2578 arg1 = (Dali::Window *)jarg1;
2579 arg2 = (Dali::Actor *)jarg2;
2581 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Actor & type is null", 0);
2586 (arg1)->Remove(*arg2);
2587 } catch (std::out_of_range& e) {
2589 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2591 } catch (std::exception& e) {
2593 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2595 } catch (Dali::DaliException e) {
2597 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2601 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2607 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetBackgroundColor(void * jarg1, void * jarg2) {
2608 Dali::Window *arg1 = (Dali::Window *) 0 ;
2609 Dali::Vector4 arg2 ;
2610 Dali::Vector4 *argp2 ;
2612 arg1 = (Dali::Window *)jarg1;
2613 argp2 = (Dali::Vector4 *)jarg2;
2615 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Vector4", 0);
2621 (arg1)->SetBackgroundColor(arg2);
2622 } catch (std::out_of_range& e) {
2624 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2626 } catch (std::exception& e) {
2628 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2630 } catch (Dali::DaliException e) {
2632 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2636 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2642 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_GetBackgroundColor(void * jarg1) {
2644 Dali::Window *arg1 = (Dali::Window *) 0 ;
2645 Dali::Vector4 result;
2647 arg1 = (Dali::Window *)jarg1;
2650 result = ((Dali::Window const *)arg1)->GetBackgroundColor();
2651 } catch (std::out_of_range& e) {
2653 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2655 } catch (std::exception& e) {
2657 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2659 } catch (Dali::DaliException e) {
2661 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2665 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2670 jresult = new Dali::Vector4((const Dali::Vector4 &)result);
2674 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_GetRootLayer(void * jarg1) {
2676 Dali::Window *arg1 = (Dali::Window *) 0 ;
2679 arg1 = (Dali::Window *)jarg1;
2682 result = ((Dali::Window const *)arg1)->GetRootLayer();
2683 } catch (std::out_of_range& e) {
2685 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2687 } catch (std::exception& e) {
2689 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2691 } catch (Dali::DaliException e) {
2693 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2697 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2702 jresult = new Dali::Layer((const Dali::Layer &)result);
2706 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_KeyEventSignal(void * jarg1) {
2708 Dali::Window *arg1 = (Dali::Window *) 0 ;
2709 Dali::DevelWindow::KeyEventSignalType *result = 0 ;
2711 arg1 = (Dali::Window *)jarg1;
2714 result = (Dali::DevelWindow::KeyEventSignalType *) &(Dali::DevelWindow::KeyEventSignal(*arg1));
2715 } catch (std::out_of_range& e) {
2717 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2719 } catch (std::exception& e) {
2721 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2723 } catch (Dali::DaliException e) {
2725 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2729 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2734 jresult = (void *)result;
2738 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_TouchSignal(void * jarg1) {
2740 Dali::Window *arg1 = (Dali::Window *) 0 ;
2741 Dali::DevelWindow::TouchSignalType *result = 0 ;
2743 arg1 = (Dali::Window *)jarg1;
2746 result = (Dali::DevelWindow::TouchSignalType *) &(Dali::DevelWindow::TouchSignal(*arg1));
2747 } catch (std::out_of_range& e) {
2749 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2751 } catch (std::exception& e) {
2753 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2755 } catch (Dali::DaliException e) {
2757 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2761 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2766 jresult = (void *)result;