1 /** Copyright (c) 2018 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/drag-and-drop-detector.h>
23 #include <dali/devel-api/adaptor-framework/window-devel.h>
24 #include <dali/public-api/adaptor-framework/window.h>
25 #include <dali/integration-api/adaptors/adaptor.h>
27 #include <dali-toolkit/devel-api/controls/control-devel.h>
28 #include <dali-toolkit/devel-api/layouting/absolute-layout.h>
30 /* Callback for returning strings to C# without leaking memory */
31 typedef char * (SWIGSTDCALL* SWIG_CSharpStringHelperCallback)(const char *);
32 extern SWIG_CSharpStringHelperCallback SWIG_csharp_string_callback;
36 SWIGINTERN bool Dali_Signal_Sl_void_Sp_bool_SP__Sg__Empty(Dali::Signal< void (bool) > const *self){
39 SWIGINTERN std::size_t Dali_Signal_Sl_void_Sp_bool_SP__Sg__GetConnectionCount(Dali::Signal< void (bool) > const *self){
40 return self->GetConnectionCount();
42 SWIGINTERN void Dali_Signal_Sl_void_Sp_bool_SP__Sg__Connect(Dali::Signal< void (bool) > *self,void (*func)(bool)){
43 self->Connect( func );
45 SWIGINTERN void Dali_Signal_Sl_void_Sp_bool_SP__Sg__Disconnect(Dali::Signal< void (bool) > *self,void (*func)(bool)){
46 self->Disconnect( func );
48 SWIGINTERN void Dali_Signal_Sl_void_Sp_bool_SP__Sg__Emit(Dali::Signal< void (bool) > *self,bool arg){
53 SWIGINTERN bool Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__Empty(Dali::Signal< void (Dali::Window::WindowSize) > const *self){
56 SWIGINTERN std::size_t Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__GetConnectionCount(Dali::Signal< void (Dali::Window::WindowSize) > const *self){
57 return self->GetConnectionCount();
59 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)){
60 self->Connect( func );
62 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)){
63 self->Disconnect( func );
65 SWIGINTERN void Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__Emit(Dali::Signal< void (Dali::Window::WindowSize) > *self,Dali::Window::WindowSize arg){
74 SWIGEXPORT Dali::BaseHandle * SWIGSTDCALL CSharp_Dali_Window_SWIGUpcast(Dali::Window *jarg1) {
75 return (Dali::BaseHandle *)jarg1;
78 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_New__SWIG_0(void * jarg1, char * jarg2, unsigned int jarg3) {
80 Dali::PositionSize arg1 ;
81 std::string *arg2 = 0 ;
83 Dali::PositionSize *argp1 ;
86 argp1 = (Dali::PositionSize *)jarg1;
88 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::PositionSize", 0);
93 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
96 std::string arg2_str(jarg2);
98 arg3 = jarg3 ? true : false;
101 result = Dali::Window::New(arg1,(std::string const &)*arg2,arg3);
102 } catch (std::out_of_range& e) {
104 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
106 } catch (std::exception& e) {
108 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
110 } catch (Dali::DaliException e) {
112 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
116 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
121 jresult = new Dali::Window((const Dali::Window &)result);
123 //argout typemap for const std::string&
129 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_New__SWIG_1(void * jarg1, char * jarg2) {
131 Dali::PositionSize arg1 ;
132 std::string *arg2 = 0 ;
133 Dali::PositionSize *argp1 ;
136 argp1 = (Dali::PositionSize *)jarg1;
138 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::PositionSize", 0);
143 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
146 std::string arg2_str(jarg2);
150 result = Dali::Window::New(arg1,(std::string const &)*arg2);
151 } catch (std::out_of_range& e) {
153 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
155 } catch (std::exception& e) {
157 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
159 } catch (Dali::DaliException e) {
161 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
165 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
170 jresult = new Dali::Window((const Dali::Window &)result);
172 //argout typemap for const std::string&
178 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_New__SWIG_2(void * jarg1, char * jarg2, char * jarg3, unsigned int jarg4) {
180 Dali::PositionSize arg1 ;
181 std::string *arg2 = 0 ;
182 std::string *arg3 = 0 ;
184 Dali::PositionSize *argp1 ;
187 argp1 = (Dali::PositionSize *)jarg1;
189 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::PositionSize", 0);
194 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
197 std::string arg2_str(jarg2);
200 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
203 std::string arg3_str(jarg3);
205 arg4 = jarg4 ? true : false;
208 result = Dali::Window::New(arg1,(std::string const &)*arg2,(std::string const &)*arg3,arg4);
209 } catch (std::out_of_range& e) {
211 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
213 } catch (std::exception& e) {
215 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
217 } catch (Dali::DaliException e) {
219 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
223 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
228 jresult = new Dali::Window((const Dali::Window &)result);
234 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_New__SWIG_3(void * jarg1, char * jarg2, char * jarg3) {
236 Dali::PositionSize arg1 ;
237 std::string *arg2 = 0 ;
238 std::string *arg3 = 0 ;
239 Dali::PositionSize *argp1 ;
242 argp1 = (Dali::PositionSize *)jarg1;
244 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::PositionSize", 0);
249 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
252 std::string arg2_str(jarg2);
255 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
258 std::string arg3_str(jarg3);
262 result = Dali::Window::New(arg1,(std::string const &)*arg2,(std::string const &)*arg3);
263 } catch (std::out_of_range& e) {
265 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
267 } catch (std::exception& e) {
269 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
271 } catch (Dali::DaliException e) {
273 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
277 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
282 jresult = new Dali::Window((const Dali::Window &)result);
288 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_Window__SWIG_0() {
290 Dali::Window *result = 0 ;
294 result = (Dali::Window *)new Dali::Window();
295 } catch (std::out_of_range& e) {
297 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
299 } catch (std::exception& e) {
301 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
303 } catch (Dali::DaliException e) {
305 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
309 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
314 jresult = (void *)result;
319 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_Window(void * jarg1) {
320 Dali::Window *arg1 = (Dali::Window *) 0 ;
322 arg1 = (Dali::Window *)jarg1;
326 } catch (std::out_of_range& e) {
328 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
330 } catch (std::exception& e) {
332 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
334 } catch (Dali::DaliException e) {
336 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
340 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
348 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_Window__SWIG_1(void * jarg1) {
350 Dali::Window *arg1 = 0 ;
351 Dali::Window *result = 0 ;
353 arg1 = (Dali::Window *)jarg1;
355 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Window const & type is null", 0);
360 result = (Dali::Window *)new Dali::Window((Dali::Window const &)*arg1);
361 } catch (std::out_of_range& e) {
363 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
365 } catch (std::exception& e) {
367 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
369 } catch (Dali::DaliException e) {
371 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
375 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
380 jresult = (void *)result;
385 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_Assign(void * jarg1, void * jarg2) {
387 Dali::Window *arg1 = (Dali::Window *) 0 ;
388 Dali::Window *arg2 = 0 ;
389 Dali::Window *result = 0 ;
391 arg1 = (Dali::Window *)jarg1;
392 arg2 = (Dali::Window *)jarg2;
394 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Window const & type is null", 0);
399 result = (Dali::Window *) &(arg1)->operator =((Dali::Window const &)*arg2);
400 } catch (std::out_of_range& e) {
402 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
404 } catch (std::exception& e) {
406 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
408 } catch (Dali::DaliException e) {
410 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
414 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
419 jresult = (void *)result;
424 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_ShowIndicator(void * jarg1, int jarg2) {
425 Dali::Window *arg1 = (Dali::Window *) 0 ;
426 Dali::Window::IndicatorVisibleMode arg2 ;
428 arg1 = (Dali::Window *)jarg1;
429 arg2 = (Dali::Window::IndicatorVisibleMode)jarg2;
432 (arg1)->ShowIndicator(arg2);
433 } catch (std::out_of_range& e) {
435 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
437 } catch (std::exception& e) {
439 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
441 } catch (Dali::DaliException e) {
443 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
447 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
455 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetIndicatorBgOpacity(void * jarg1, int jarg2) {
456 Dali::Window *arg1 = (Dali::Window *) 0 ;
457 Dali::Window::IndicatorBgOpacity arg2 ;
459 arg1 = (Dali::Window *)jarg1;
460 arg2 = (Dali::Window::IndicatorBgOpacity)jarg2;
463 (arg1)->SetIndicatorBgOpacity(arg2);
464 } catch (std::out_of_range& e) {
466 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
468 } catch (std::exception& e) {
470 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
472 } catch (Dali::DaliException e) {
474 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
478 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
486 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_RotateIndicator(void * jarg1, int jarg2) {
487 Dali::Window *arg1 = (Dali::Window *) 0 ;
488 Dali::Window::WindowOrientation arg2 ;
490 arg1 = (Dali::Window *)jarg1;
491 arg2 = (Dali::Window::WindowOrientation)jarg2;
494 (arg1)->RotateIndicator(arg2);
495 } catch (std::out_of_range& e) {
497 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
499 } catch (std::exception& e) {
501 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
503 } catch (Dali::DaliException e) {
505 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
509 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
517 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetClass(void * jarg1, char * jarg2, char * jarg3) {
518 Dali::Window *arg1 = (Dali::Window *) 0 ;
522 arg1 = (Dali::Window *)jarg1;
524 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
527 (&arg2)->assign(jarg2);
529 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
532 (&arg3)->assign(jarg3);
535 (arg1)->SetClass(arg2,arg3);
536 } catch (std::out_of_range& e) {
538 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
540 } catch (std::exception& e) {
542 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
544 } catch (Dali::DaliException e) {
546 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
550 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
558 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Raise(void * jarg1) {
559 Dali::Window *arg1 = (Dali::Window *) 0 ;
561 arg1 = (Dali::Window *)jarg1;
565 } catch (std::out_of_range& e) {
567 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
569 } catch (std::exception& e) {
571 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
573 } catch (Dali::DaliException e) {
575 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
579 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
587 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Lower(void * jarg1) {
588 Dali::Window *arg1 = (Dali::Window *) 0 ;
590 arg1 = (Dali::Window *)jarg1;
594 } catch (std::out_of_range& e) {
596 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
598 } catch (std::exception& e) {
600 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
602 } catch (Dali::DaliException e) {
604 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
608 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
616 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Activate(void * jarg1) {
617 Dali::Window *arg1 = (Dali::Window *) 0 ;
619 arg1 = (Dali::Window *)jarg1;
623 } catch (std::out_of_range& e) {
625 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
627 } catch (std::exception& e) {
629 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
631 } catch (Dali::DaliException e) {
633 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
637 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
645 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_AddAvailableOrientation(void * jarg1, int jarg2) {
646 Dali::Window *arg1 = (Dali::Window *) 0 ;
647 Dali::Window::WindowOrientation arg2 ;
649 arg1 = (Dali::Window *)jarg1;
650 arg2 = (Dali::Window::WindowOrientation)jarg2;
653 (arg1)->AddAvailableOrientation(arg2);
654 } catch (std::out_of_range& e) {
656 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
658 } catch (std::exception& e) {
660 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
662 } catch (Dali::DaliException e) {
664 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
668 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
676 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_RemoveAvailableOrientation(void * jarg1, int jarg2) {
677 Dali::Window *arg1 = (Dali::Window *) 0 ;
678 Dali::Window::WindowOrientation arg2 ;
680 arg1 = (Dali::Window *)jarg1;
681 arg2 = (Dali::Window::WindowOrientation)jarg2;
684 (arg1)->RemoveAvailableOrientation(arg2);
685 } catch (std::out_of_range& e) {
687 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
689 } catch (std::exception& e) {
691 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
693 } catch (Dali::DaliException e) {
695 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
699 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
707 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetPreferredOrientation(void * jarg1, int jarg2) {
708 Dali::Window *arg1 = (Dali::Window *) 0 ;
709 Dali::Window::WindowOrientation arg2 ;
711 arg1 = (Dali::Window *)jarg1;
712 arg2 = (Dali::Window::WindowOrientation)jarg2;
715 (arg1)->SetPreferredOrientation(arg2);
716 } catch (std::out_of_range& e) {
718 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
720 } catch (std::exception& e) {
722 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
724 } catch (Dali::DaliException e) {
726 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
730 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
738 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_Window_GetPreferredOrientation(void * jarg1) {
740 Dali::Window *arg1 = (Dali::Window *) 0 ;
741 Dali::Window::WindowOrientation result;
743 arg1 = (Dali::Window *)jarg1;
746 result = (Dali::Window::WindowOrientation)(arg1)->GetPreferredOrientation();
747 } catch (std::out_of_range& e) {
749 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
751 } catch (std::exception& e) {
753 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
755 } catch (Dali::DaliException e) {
757 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
761 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
766 jresult = (int)result;
771 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_GetDragAndDropDetector(void * jarg1) {
773 Dali::Window *arg1 = (Dali::Window *) 0 ;
774 Dali::DragAndDropDetector result;
776 arg1 = (Dali::Window *)jarg1;
779 result = ((Dali::Window const *)arg1)->GetDragAndDropDetector();
780 } catch (std::out_of_range& e) {
782 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
784 } catch (std::exception& e) {
786 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
788 } catch (Dali::DaliException e) {
790 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
794 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
799 jresult = new Dali::DragAndDropDetector((const Dali::DragAndDropDetector &)result);
804 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_GetNativeHandle(void * jarg1) {
806 Dali::Window *arg1 = (Dali::Window *) 0 ;
809 arg1 = (Dali::Window *)jarg1;
812 result = ((Dali::Window const *)arg1)->GetNativeHandle();
813 } catch (std::out_of_range& e) {
815 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
817 } catch (std::exception& e) {
819 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
821 } catch (Dali::DaliException e) {
823 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
827 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
832 jresult = new Dali::Any((const Dali::Any &)result);
836 /*window-devel binding*/
838 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_FocusChangedSignal(void * jarg1) {
841 Dali::Window *argp1 ;
842 Dali::Window::FocusSignalType *result = 0 ;
844 argp1 = (Dali::Window *)jarg1;
846 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
852 result = (Dali::Window::FocusSignalType*)&arg1.FocusChangedSignal();
853 } catch (std::out_of_range& e) {
855 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
857 } catch (std::exception& e) {
859 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
861 } catch (Dali::DaliException e) {
863 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
867 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
872 jresult = (void *)result;
877 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_SetAcceptFocus(void * jarg1, unsigned int jarg2) {
880 Dali::Window *argp1 ;
882 argp1 = (Dali::Window *)jarg1;
884 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
888 arg2 = jarg2 ? true : false;
891 arg1.SetAcceptFocus(arg2);
892 } catch (std::out_of_range& e) {
894 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
896 } catch (std::exception& e) {
898 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
900 } catch (Dali::DaliException e) {
902 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
906 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
914 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_IsFocusAcceptable(void * jarg1) {
915 unsigned int jresult ;
917 Dali::Window *argp1 ;
920 argp1 = (Dali::Window *)jarg1;
922 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
928 result = (bool)arg1.IsFocusAcceptable();
929 } catch (std::out_of_range& e) {
931 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
933 } catch (std::exception& e) {
935 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
937 } catch (Dali::DaliException e) {
939 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
943 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
953 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Show(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 void SWIGSTDCALL CSharp_Dali_Hide(void * jarg1) {
990 Dali::Window *argp1 ;
992 argp1 = (Dali::Window *)jarg1;
994 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1001 } catch (std::out_of_range& e) {
1003 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1005 } catch (std::exception& e) {
1007 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1009 } catch (Dali::DaliException e) {
1011 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1015 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1023 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_IsVisible(void * jarg1) {
1024 unsigned int jresult ;
1026 Dali::Window *argp1 ;
1029 argp1 = (Dali::Window *)jarg1;
1031 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1037 result = (bool)arg1.IsVisible();
1038 } catch (std::out_of_range& e) {
1040 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1042 } catch (std::exception& e) {
1044 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1046 } catch (Dali::DaliException e) {
1048 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1052 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1062 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_GetSupportedAuxiliaryHintCount(void * jarg1) {
1063 unsigned int jresult ;
1065 Dali::Window *argp1 ;
1066 unsigned int result;
1068 argp1 = (Dali::Window *)jarg1;
1070 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1076 result = (unsigned int)arg1.GetSupportedAuxiliaryHintCount();
1077 } catch (std::out_of_range& e) {
1079 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1081 } catch (std::exception& e) {
1083 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1085 } catch (Dali::DaliException e) {
1087 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1091 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1101 SWIGEXPORT char * SWIGSTDCALL CSharp_Dali_GetSupportedAuxiliaryHint(void * jarg1, unsigned int jarg2) {
1105 Dali::Window *argp1 ;
1108 argp1 = (Dali::Window *)jarg1;
1110 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1114 arg2 = (unsigned int)jarg2;
1117 result = arg1.GetSupportedAuxiliaryHint(arg2);
1118 } catch (std::out_of_range& e) {
1120 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1122 } catch (std::exception& e) {
1124 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1126 } catch (Dali::DaliException e) {
1128 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1132 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1137 jresult = SWIG_csharp_string_callback((&result)->c_str());
1142 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_AddAuxiliaryHint(void * jarg1, char * jarg2, char * jarg3) {
1143 unsigned int jresult ;
1145 std::string *arg2 = 0 ;
1146 std::string *arg3 = 0 ;
1147 Dali::Window *argp1 ;
1148 unsigned int result;
1150 argp1 = (Dali::Window *)jarg1;
1152 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1157 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
1160 std::string arg2_str(jarg2);
1163 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
1166 std::string arg3_str(jarg3);
1170 result = (unsigned int)arg1.AddAuxiliaryHint((std::string const &)*arg2,(std::string const &)*arg3);
1171 } catch (std::out_of_range& e) {
1173 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1175 } catch (std::exception& e) {
1177 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1179 } catch (Dali::DaliException e) {
1181 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1185 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1196 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_RemoveAuxiliaryHint(void * jarg1, unsigned int jarg2) {
1197 unsigned int jresult ;
1200 Dali::Window *argp1 ;
1203 argp1 = (Dali::Window *)jarg1;
1205 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1209 arg2 = (unsigned int)jarg2;
1212 result = (bool)arg1.RemoveAuxiliaryHint(arg2);
1213 } catch (std::out_of_range& e) {
1215 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1217 } catch (std::exception& e) {
1219 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1221 } catch (Dali::DaliException e) {
1223 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1227 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1237 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_SetAuxiliaryHintValue(void * jarg1, unsigned int jarg2, char * jarg3) {
1238 unsigned int jresult ;
1241 std::string *arg3 = 0 ;
1242 Dali::Window *argp1 ;
1245 argp1 = (Dali::Window *)jarg1;
1247 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1251 arg2 = (unsigned int)jarg2;
1253 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
1256 std::string arg3_str(jarg3);
1260 result = (bool)arg1.SetAuxiliaryHintValue(arg2,(std::string const &)*arg3);
1261 } catch (std::out_of_range& e) {
1263 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1265 } catch (std::exception& e) {
1267 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1269 } catch (Dali::DaliException e) {
1271 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1275 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1282 //argout typemap for const std::string&
1288 SWIGEXPORT char * SWIGSTDCALL CSharp_Dali_GetAuxiliaryHintValue(void * jarg1, unsigned int jarg2) {
1292 Dali::Window *argp1 ;
1295 argp1 = (Dali::Window *)jarg1;
1297 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1301 arg2 = (unsigned int)jarg2;
1304 result = arg1.GetAuxiliaryHintValue(arg2);
1305 } catch (std::out_of_range& e) {
1307 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1309 } catch (std::exception& e) {
1311 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1313 } catch (Dali::DaliException e) {
1315 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1319 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1324 jresult = SWIG_csharp_string_callback((&result)->c_str());
1329 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_GetAuxiliaryHintId(void * jarg1, char * jarg2) {
1330 unsigned int jresult ;
1332 std::string *arg2 = 0 ;
1333 Dali::Window *argp1 ;
1334 unsigned int result;
1336 argp1 = (Dali::Window *)jarg1;
1338 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1343 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
1346 std::string arg2_str(jarg2);
1350 result = (unsigned int)arg1.GetAuxiliaryHintId((std::string const &)*arg2);
1351 } catch (std::out_of_range& e) {
1353 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1355 } catch (std::exception& e) {
1357 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1359 } catch (Dali::DaliException e) {
1361 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1365 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1372 //argout typemap for const std::string&
1378 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_SetInputRegion(void * jarg1, void * jarg2) {
1380 Dali::Rect< int > *arg2 = 0 ;
1381 Dali::Window *argp1 ;
1383 argp1 = (Dali::Window *)jarg1;
1385 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1389 arg2 = (Dali::Rect< int > *)jarg2;
1391 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Rect< int > const & type is null", 0);
1396 arg1.SetInputRegion((Dali::Rect< int > const &)*arg2);
1397 } catch (std::out_of_range& e) {
1399 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1401 } catch (std::exception& e) {
1403 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1405 } catch (Dali::DaliException e) {
1407 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1411 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1419 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_SetType(void * jarg1, int jarg2) {
1421 Dali::Window::Type arg2 ;
1422 Dali::Window *argp1 ;
1424 argp1 = (Dali::Window *)jarg1;
1426 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1430 arg2 = (Dali::Window::Type)jarg2;
1434 } catch (std::out_of_range& e) {
1436 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1438 } catch (std::exception& e) {
1440 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1442 } catch (Dali::DaliException e) {
1444 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1448 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1456 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GetType(void * jarg1) {
1459 Dali::Window *argp1 ;
1460 Dali::Window::Type result;
1462 argp1 = (Dali::Window *)jarg1;
1464 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1470 result = (Dali::Window::Type)arg1.GetType();
1471 } catch (std::out_of_range& e) {
1473 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1475 } catch (std::exception& e) {
1477 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1479 } catch (Dali::DaliException e) {
1481 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1485 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1490 jresult = (int)result;
1495 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_SetNotificationLevel(void * jarg1, int jarg2) {
1496 unsigned int jresult ;
1498 Dali::Window::NotificationLevel::Type arg2 ;
1499 Dali::Window *argp1 ;
1502 argp1 = (Dali::Window *)jarg1;
1504 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1508 arg2 = (Dali::Window::NotificationLevel::Type)jarg2;
1511 result = (bool)arg1.SetNotificationLevel(arg2);
1512 } catch (std::out_of_range& e) {
1514 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1516 } catch (std::exception& e) {
1518 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1520 } catch (Dali::DaliException e) {
1522 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1526 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1536 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GetNotificationLevel(void * jarg1) {
1539 Dali::Window *argp1 ;
1540 Dali::Window::NotificationLevel::Type result;
1542 argp1 = (Dali::Window *)jarg1;
1544 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1550 result = (Dali::Window::NotificationLevel::Type)arg1.GetNotificationLevel();
1551 } catch (std::out_of_range& e) {
1553 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1555 } catch (std::exception& e) {
1557 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1559 } catch (Dali::DaliException e) {
1561 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1565 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1570 jresult = (int)result;
1575 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_SetOpaqueState(void * jarg1, unsigned int jarg2) {
1578 Dali::Window *argp1 ;
1580 argp1 = (Dali::Window *)jarg1;
1582 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1586 arg2 = jarg2 ? true : false;
1589 arg1.SetOpaqueState(arg2);
1590 } catch (std::out_of_range& e) {
1592 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1594 } catch (std::exception& e) {
1596 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1598 } catch (Dali::DaliException e) {
1600 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1604 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1612 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_IsOpaqueState(void * jarg1) {
1613 unsigned int jresult ;
1615 Dali::Window *argp1 ;
1618 argp1 = (Dali::Window *)jarg1;
1620 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1626 result = (bool)arg1.IsOpaqueState();
1627 } catch (std::out_of_range& e) {
1629 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1631 } catch (std::exception& e) {
1633 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1635 } catch (Dali::DaliException e) {
1637 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1641 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1651 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_SetScreenOffMode(void * jarg1, int jarg2) {
1652 unsigned int jresult ;
1654 Dali::Window::ScreenOffMode::Type arg2 ;
1655 Dali::Window *argp1 ;
1658 argp1 = (Dali::Window *)jarg1;
1660 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1664 arg2 = (Dali::Window::ScreenOffMode::Type)jarg2;
1667 result = (bool)arg1.SetScreenOffMode(arg2);
1668 } catch (std::out_of_range& e) {
1670 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1672 } catch (std::exception& e) {
1674 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1676 } catch (Dali::DaliException e) {
1678 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1682 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1692 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GetScreenOffMode(void * jarg1) {
1695 Dali::Window *argp1 ;
1696 Dali::Window::ScreenOffMode::Type result;
1698 argp1 = (Dali::Window *)jarg1;
1700 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1706 result = (Dali::Window::ScreenOffMode::Type)arg1.GetScreenOffMode();
1707 } catch (std::out_of_range& e) {
1709 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1711 } catch (std::exception& e) {
1713 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1715 } catch (Dali::DaliException e) {
1717 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1721 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1726 jresult = (int)result;
1731 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_SetBrightness(void * jarg1, int jarg2) {
1732 unsigned int jresult ;
1735 Dali::Window *argp1 ;
1738 argp1 = (Dali::Window *)jarg1;
1740 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1747 result = (bool)arg1.SetBrightness(arg2);
1748 } catch (std::out_of_range& e) {
1750 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1752 } catch (std::exception& e) {
1754 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1756 } catch (Dali::DaliException e) {
1758 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1762 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1772 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GetBrightness(void * jarg1) {
1775 Dali::Window *argp1 ;
1778 argp1 = (Dali::Window *)jarg1;
1780 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1786 result = (int)arg1.GetBrightness();
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;
1810 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_WindowFocusSignalType_Empty(void * jarg1) {
1811 unsigned int jresult ;
1812 Dali::Signal< void (bool) > *arg1 = (Dali::Signal< void (bool) > *) 0 ;
1815 arg1 = (Dali::Signal< void (bool) > *)jarg1;
1818 result = (bool)Dali_Signal_Sl_void_Sp_bool_SP__Sg__Empty((Dali::Signal< void (bool) > const *)arg1);
1819 } catch (std::out_of_range& e) {
1821 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1823 } catch (std::exception& e) {
1825 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1827 } catch (Dali::DaliException e) {
1829 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1833 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1843 SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_WindowFocusSignalType_GetConnectionCount(void * jarg1) {
1844 unsigned long jresult ;
1845 Dali::Signal< void (bool) > *arg1 = (Dali::Signal< void (bool) > *) 0 ;
1848 arg1 = (Dali::Signal< void (bool) > *)jarg1;
1851 result = Dali_Signal_Sl_void_Sp_bool_SP__Sg__GetConnectionCount((Dali::Signal< void (bool) > const *)arg1);
1852 } catch (std::out_of_range& e) {
1854 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1856 } catch (std::exception& e) {
1858 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1860 } catch (Dali::DaliException e) {
1862 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1866 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1871 jresult = (unsigned long)result;
1876 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WindowFocusSignalType_Connect(void * jarg1, void * jarg2) {
1877 Dali::Signal< void (bool) > *arg1 = (Dali::Signal< void (bool) > *) 0 ;
1878 void (*arg2)(bool) = (void (*)(bool)) 0 ;
1880 arg1 = (Dali::Signal< void (bool) > *)jarg1;
1881 arg2 = (void (*)(bool))jarg2;
1884 Dali_Signal_Sl_void_Sp_bool_SP__Sg__Connect(arg1,arg2);
1885 } catch (std::out_of_range& e) {
1887 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1889 } catch (std::exception& e) {
1891 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1893 } catch (Dali::DaliException e) {
1895 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1899 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1907 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WindowFocusSignalType_Disconnect(void * jarg1, void * jarg2) {
1908 Dali::Signal< void (bool) > *arg1 = (Dali::Signal< void (bool) > *) 0 ;
1909 void (*arg2)(bool) = (void (*)(bool)) 0 ;
1911 arg1 = (Dali::Signal< void (bool) > *)jarg1;
1912 arg2 = (void (*)(bool))jarg2;
1915 Dali_Signal_Sl_void_Sp_bool_SP__Sg__Disconnect(arg1,arg2);
1916 } catch (std::out_of_range& e) {
1918 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1920 } catch (std::exception& e) {
1922 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1924 } catch (Dali::DaliException e) {
1926 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1930 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1938 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WindowFocusSignalType_Emit(void * jarg1, unsigned int jarg2) {
1939 Dali::Signal< void (bool) > *arg1 = (Dali::Signal< void (bool) > *) 0 ;
1942 arg1 = (Dali::Signal< void (bool) > *)jarg1;
1943 arg2 = jarg2 ? true : false;
1946 Dali_Signal_Sl_void_Sp_bool_SP__Sg__Emit(arg1,arg2);
1947 } catch (std::out_of_range& e) {
1949 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1951 } catch (std::exception& e) {
1953 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1955 } catch (Dali::DaliException e) {
1957 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1961 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1969 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_WindowFocusSignalType() {
1971 Dali::Signal< void (bool) > *result = 0 ;
1975 result = (Dali::Signal< void (bool) > *)new Dali::Signal< void (bool) >();
1976 } catch (std::out_of_range& e) {
1978 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1980 } catch (std::exception& e) {
1982 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1984 } catch (Dali::DaliException e) {
1986 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1990 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1995 jresult = (void *)result;
2000 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_WindowFocusSignalType(void * jarg1) {
2001 Dali::Signal< void (bool) > *arg1 = (Dali::Signal< void (bool) > *) 0 ;
2003 arg1 = (Dali::Signal< void (bool) > *)jarg1;
2007 } catch (std::out_of_range& e) {
2009 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2011 } catch (std::exception& e) {
2013 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2015 } catch (Dali::DaliException e) {
2017 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2021 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2030 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_ResizedSignal(void * jarg1) {
2033 Dali::Window *argp1 ;
2034 Dali::Window::ResizedSignalType *result = 0 ;
2036 argp1 = (Dali::Window *)jarg1;
2038 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2044 result = (Dali::Window::ResizedSignalType *) &arg1.ResizedSignal();
2045 } catch (std::out_of_range& e) {
2047 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2049 } catch (std::exception& e) {
2051 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2053 } catch (Dali::DaliException e) {
2055 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2059 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2064 jresult = (void *)result;
2068 /*ResizedSignal binding*/
2069 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_ResizedSignal_Empty(void * jarg1) {
2070 unsigned int jresult ;
2071 Dali::Signal< void (Dali::Window::WindowSize) > *arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *) 0 ;
2074 arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *)jarg1;
2077 result = (bool)Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__Empty((Dali::Signal< void (Dali::Window::WindowSize) > const *)arg1);
2078 } catch (std::out_of_range& e) {
2080 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2082 } catch (std::exception& e) {
2084 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2086 } catch (Dali::DaliException e) {
2088 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2092 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2102 SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_ResizedSignal_GetConnectionCount(void * jarg1) {
2103 unsigned long jresult ;
2104 Dali::Signal< void (Dali::Window::WindowSize) > *arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *) 0 ;
2107 arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *)jarg1;
2110 result = Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__GetConnectionCount((Dali::Signal< void (Dali::Window::WindowSize) > const *)arg1);
2111 } catch (std::out_of_range& e) {
2113 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2115 } catch (std::exception& e) {
2117 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2119 } catch (Dali::DaliException e) {
2121 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2125 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2130 jresult = (unsigned long)result;
2135 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ResizedSignal_Connect(void * jarg1, void * jarg2) {
2136 Dali::Signal< void (Dali::Window::WindowSize) > *arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *) 0 ;
2137 void (*arg2)(Dali::Window::WindowSize) = (void (*)(Dali::Window::WindowSize)) 0 ;
2139 arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *)jarg1;
2140 arg2 = (void (*)(Dali::Window::WindowSize))jarg2;
2143 Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__Connect(arg1,arg2);
2144 } catch (std::out_of_range& e) {
2146 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2148 } catch (std::exception& e) {
2150 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2152 } catch (Dali::DaliException e) {
2154 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2158 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2166 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ResizedSignal_Disconnect(void * jarg1, void * jarg2) {
2167 Dali::Signal< void (Dali::Window::WindowSize) > *arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *) 0 ;
2168 void (*arg2)(Dali::Window::WindowSize) = (void (*)(Dali::Window::WindowSize)) 0 ;
2170 arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *)jarg1;
2171 arg2 = (void (*)(Dali::Window::WindowSize))jarg2;
2174 Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__Disconnect(arg1,arg2);
2175 } catch (std::out_of_range& e) {
2177 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2179 } catch (std::exception& e) {
2181 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2183 } catch (Dali::DaliException e) {
2185 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2189 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2197 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ResizedSignal_Emit(void * jarg1, void * jarg2) {
2198 Dali::Signal< void (Dali::Window::WindowSize) > *arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *) 0 ;
2199 Dali::Window::WindowSize arg2 ;
2200 Dali::Window::WindowSize *argp2 ;
2202 arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *)jarg1;
2203 argp2 = (Dali::Window::WindowSize *)jarg2;
2205 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window::WindowSize", 0);
2211 Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__Emit(arg1,arg2);
2212 } catch (std::out_of_range& e) {
2214 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2216 } catch (std::exception& e) {
2218 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2220 } catch (Dali::DaliException e) {
2222 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2226 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2234 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_ResizedSignal() {
2236 Dali::Signal< void (Dali::Window::WindowSize) > *result = 0 ;
2240 result = (Dali::Signal< void (Dali::Window::WindowSize) > *)new Dali::Signal< void (Dali::Window::WindowSize) >();
2241 } catch (std::out_of_range& e) {
2243 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2245 } catch (std::exception& e) {
2247 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2249 } catch (Dali::DaliException e) {
2251 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2255 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2260 jresult = (void *)result;
2265 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_ResizedSignal(void * jarg1) {
2266 Dali::Signal< void (Dali::Window::WindowSize) > *arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *) 0 ;
2268 arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *)jarg1;
2272 } catch (std::out_of_range& e) {
2274 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2276 } catch (std::exception& e) {
2278 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2280 } catch (Dali::DaliException e) {
2282 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2286 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2293 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetSize(void * jarg1, void * jarg2) {
2295 Dali::Window::WindowSize arg2 ;
2296 Dali::Window *argp1 ;
2297 Dali::Window::WindowSize *argp2 ;
2299 argp1 = (Dali::Window *)jarg1;
2301 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2305 argp2 = (Dali::Window::WindowSize *)jarg2;
2307 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window::WindowSize", 0);
2314 } catch (std::out_of_range& e) {
2316 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2318 } catch (std::exception& e) {
2320 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2322 } catch (Dali::DaliException e) {
2324 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2328 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2336 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_GetSize(void * jarg1) {
2339 Dali::Window *argp1 ;
2340 Dali::Window::WindowSize result;
2342 argp1 = (Dali::Window *)jarg1;
2344 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2350 result = arg1.GetSize();
2351 } catch (std::out_of_range& e) {
2353 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2355 } catch (std::exception& e) {
2357 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2359 } catch (Dali::DaliException e) {
2361 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2365 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2370 jresult = new Dali::Window::WindowSize((const Dali::Window::WindowSize &)result);
2375 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetPosition(void * jarg1, void * jarg2) {
2377 Dali::Window::WindowPosition arg2 ;
2378 Dali::Window *argp1 ;
2379 Dali::Window::WindowPosition *argp2 ;
2381 argp1 = (Dali::Window *)jarg1;
2383 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2387 argp2 = (Dali::Window::WindowPosition *)jarg2;
2389 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window::WindowPosition", 0);
2395 arg1.SetPosition(arg2);
2396 } catch (std::out_of_range& e) {
2398 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2400 } catch (std::exception& e) {
2402 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2404 } catch (Dali::DaliException e) {
2406 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2410 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2418 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_GetPosition(void * jarg1) {
2421 Dali::Window *argp1 ;
2422 Dali::Window::WindowPosition result;
2424 argp1 = (Dali::Window *)jarg1;
2426 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2432 result = arg1.GetPosition();
2433 } catch (std::out_of_range& e) {
2435 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2437 } catch (std::exception& e) {
2439 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2441 } catch (Dali::DaliException e) {
2443 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2447 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2452 jresult = new Dali::Window::WindowPosition((const Dali::Window::WindowPosition &)result);
2456 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetPositionSize(void* jarg1, void* jarg2)
2458 Dali::Window* window = (Dali::Window*)jarg1;
2460 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2464 Dali::Rect<int>* positionSize = (Dali::Rect<int>*)jarg2;
2465 if (!positionSize) {
2466 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Rect< int > const & type is null", 0);
2471 Dali::DevelWindow::SetPositionSize(*window, *positionSize);
2472 } catch (std::out_of_range& e) {
2474 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2476 } catch (std::exception& e) {
2478 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2480 } catch (Dali::DaliException e) {
2482 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2486 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2493 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetTransparency(void * jarg1, unsigned int jarg2) {
2496 Dali::Window *argp1 ;
2498 argp1 = (Dali::Window *)jarg1;
2500 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2504 arg2 = jarg2 ? true : false;
2507 arg1.SetTransparency(arg2);
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 ;
2516 } catch (Dali::DaliException e) {
2518 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2522 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2529 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_FeedKeyEvent(void * jarg1) {
2530 Dali::KeyEvent *arg1 = 0 ;
2532 arg1 = (Dali::KeyEvent *)jarg1;
2534 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::KeyEvent & type is null", 0);
2539 Dali::Adaptor::Get().FeedKeyEvent(*arg1);
2540 } catch (std::out_of_range& e) {
2542 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2544 } catch (std::exception& e) {
2546 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2550 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2556 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Adaptor_RenderOnce(void * /* jarg1 */) {
2558 Dali::Adaptor::Get().RenderOnce();
2559 } catch (std::out_of_range& e) {
2561 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2563 } catch (std::exception& e) {
2565 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2569 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2574 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_New_Root_Layout() {
2576 Dali::Toolkit::Control result;
2579 Dali::Toolkit::AbsoluteLayout absoluteLayout = Dali::Toolkit::AbsoluteLayout::New();
2580 result = Dali::Toolkit::Control::New();
2581 Dali::Toolkit::DevelControl::SetLayout( result, absoluteLayout );
2582 result.SetName("rootAbsoluteLayout");
2583 result.SetAnchorPoint( Dali::AnchorPoint::CENTER );
2584 result.SetParentOrigin( Dali::ParentOrigin::CENTER );
2587 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2592 jresult = new Dali::Toolkit::Control((const Dali::Toolkit::Control &)result);