1 /** Copyright (c) 2019 Samsung Electronics Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
7 * http://www.apache.org/licenses/LICENSE-2.0
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
22 #include <dali/devel-api/adaptor-framework/window-devel.h>
23 #include <dali/public-api/adaptor-framework/window.h>
24 #include <dali/integration-api/adaptor-framework/adaptor.h>
26 #include <dali-toolkit/devel-api/controls/control-devel.h>
28 /* Callback for returning strings to C# without leaking memory */
29 typedef char * (SWIGSTDCALL* SWIG_CSharpStringHelperCallback)(const char *);
30 extern SWIG_CSharpStringHelperCallback SWIG_csharp_string_callback;
34 SWIGINTERN bool Dali_Signal_Sl_void_Sp_bool_SP__Sg__Empty(Dali::Signal< void (bool) > const *self){
37 SWIGINTERN std::size_t Dali_Signal_Sl_void_Sp_bool_SP__Sg__GetConnectionCount(Dali::Signal< void (bool) > const *self){
38 return self->GetConnectionCount();
40 SWIGINTERN void Dali_Signal_Sl_void_Sp_bool_SP__Sg__Connect(Dali::Signal< void (bool) > *self,void (*func)(bool)){
41 self->Connect( func );
43 SWIGINTERN void Dali_Signal_Sl_void_Sp_bool_SP__Sg__Disconnect(Dali::Signal< void (bool) > *self,void (*func)(bool)){
44 self->Disconnect( func );
46 SWIGINTERN void Dali_Signal_Sl_void_Sp_bool_SP__Sg__Emit(Dali::Signal< void (bool) > *self,bool arg){
51 SWIGINTERN bool Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__Empty(Dali::Signal< void (Dali::Window::WindowSize) > const *self){
54 SWIGINTERN std::size_t Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__GetConnectionCount(Dali::Signal< void (Dali::Window::WindowSize) > const *self){
55 return self->GetConnectionCount();
57 SWIGINTERN void Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__Connect(Dali::Signal< void (Dali::Window::WindowSize) > *self,void (*func)(Dali::Window::WindowSize)){
58 self->Connect( func );
60 SWIGINTERN void Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__Disconnect(Dali::Signal< void (Dali::Window::WindowSize) > *self,void (*func)(Dali::Window::WindowSize)){
61 self->Disconnect( func );
63 SWIGINTERN void Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__Emit(Dali::Signal< void (Dali::Window::WindowSize) > *self,Dali::Window::WindowSize arg){
68 SWIGINTERN bool Dali_Signal_Window_Transition_Effect_Event_Signal_Empty(Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > const *self){
71 SWIGINTERN std::size_t Dali_Signal_Window_Transition_Effect_Event_Signal_GetConnectionCount(Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > const *self){
72 return self->GetConnectionCount();
74 SWIGINTERN void Dali_Signal_Window_Transition_Effect_Event_Signal_Connect(Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *self, void (*func)(Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType)){
75 self->Connect( func );
77 SWIGINTERN void Dali_Signal_Window_Transition_Effect_Event_Signal_Disconnect(Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *self,void (*func)(Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType)){
78 self->Disconnect( func );
80 SWIGINTERN void Dali_Signal_Window_Transition_Effect_Event_Signal_Emit(Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *self,Dali::Window arg, Dali::DevelWindow::EffectState state, Dali::DevelWindow::EffectType type){
81 self->Emit( arg, state, type );
90 SWIGEXPORT Dali::BaseHandle * SWIGSTDCALL CSharp_Dali_Window_SWIGUpcast(Dali::Window *jarg1) {
91 return (Dali::BaseHandle *)jarg1;
94 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_New__SWIG_0(void * jarg1, char * jarg2, unsigned int jarg3) {
96 Dali::PositionSize arg1 ;
97 std::string *arg2 = 0 ;
99 Dali::PositionSize *argp1 ;
102 argp1 = (Dali::PositionSize *)jarg1;
105 arg1 = Dali::PositionSize(0, 0, 0, 0);
112 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
115 std::string arg2_str(jarg2);
117 arg3 = jarg3 ? true : false;
120 result = Dali::Window::New(arg1,(std::string const &)*arg2,arg3);
121 } catch (std::out_of_range& e) {
123 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
125 } catch (std::exception& e) {
127 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
129 } catch (Dali::DaliException e) {
131 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
135 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
140 jresult = new Dali::Window((const Dali::Window &)result);
142 //argout typemap for const std::string&
148 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_New__SWIG_1(void * jarg1, char * jarg2) {
150 Dali::PositionSize arg1 ;
151 std::string *arg2 = 0 ;
152 Dali::PositionSize *argp1 ;
155 argp1 = (Dali::PositionSize *)jarg1;
157 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::PositionSize", 0);
162 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
165 std::string arg2_str(jarg2);
169 result = Dali::Window::New(arg1,(std::string const &)*arg2);
170 } catch (std::out_of_range& e) {
172 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
174 } catch (std::exception& e) {
176 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
178 } catch (Dali::DaliException e) {
180 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
184 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
189 jresult = new Dali::Window((const Dali::Window &)result);
191 //argout typemap for const std::string&
197 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_New__SWIG_2(void * jarg1, char * jarg2, char * jarg3, unsigned int jarg4) {
199 Dali::PositionSize arg1 ;
200 std::string *arg2 = 0 ;
201 std::string *arg3 = 0 ;
203 Dali::PositionSize *argp1 ;
206 argp1 = (Dali::PositionSize *)jarg1;
208 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::PositionSize", 0);
213 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
216 std::string arg2_str(jarg2);
219 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
222 std::string arg3_str(jarg3);
224 arg4 = jarg4 ? true : false;
227 result = Dali::Window::New(arg1,(std::string const &)*arg2,(std::string const &)*arg3,arg4);
228 } catch (std::out_of_range& e) {
230 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
232 } catch (std::exception& e) {
234 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
236 } catch (Dali::DaliException e) {
238 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
242 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
247 jresult = new Dali::Window((const Dali::Window &)result);
253 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_New__SWIG_3(void * jarg1, char * jarg2, char * jarg3) {
255 Dali::PositionSize arg1 ;
256 std::string *arg2 = 0 ;
257 std::string *arg3 = 0 ;
258 Dali::PositionSize *argp1 ;
261 argp1 = (Dali::PositionSize *)jarg1;
263 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::PositionSize", 0);
268 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
271 std::string arg2_str(jarg2);
274 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
277 std::string arg3_str(jarg3);
281 result = Dali::Window::New(arg1,(std::string const &)*arg2,(std::string const &)*arg3);
282 } catch (std::out_of_range& e) {
284 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
286 } catch (std::exception& e) {
288 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
290 } catch (Dali::DaliException e) {
292 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
296 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
301 jresult = new Dali::Window((const Dali::Window &)result);
307 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_Window__SWIG_0() {
309 Dali::Window *result = 0 ;
313 result = (Dali::Window *)new Dali::Window();
314 } catch (std::out_of_range& e) {
316 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
318 } catch (std::exception& e) {
320 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
322 } catch (Dali::DaliException e) {
324 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
328 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
333 jresult = (void *)result;
338 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_Window(void * jarg1) {
339 Dali::Window *arg1 = (Dali::Window *) 0 ;
341 arg1 = (Dali::Window *)jarg1;
345 } catch (std::out_of_range& e) {
347 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
349 } catch (std::exception& e) {
351 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
353 } catch (Dali::DaliException e) {
355 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
359 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
367 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_Window__SWIG_1(void * jarg1) {
369 Dali::Window *arg1 = 0 ;
370 Dali::Window *result = 0 ;
372 arg1 = (Dali::Window *)jarg1;
374 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Window const & type is null", 0);
379 result = (Dali::Window *)new Dali::Window((Dali::Window const &)*arg1);
380 } catch (std::out_of_range& e) {
382 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
384 } catch (std::exception& e) {
386 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
388 } catch (Dali::DaliException e) {
390 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
394 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
399 jresult = (void *)result;
404 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_Assign(void * jarg1, void * jarg2) {
406 Dali::Window *arg1 = (Dali::Window *) 0 ;
407 Dali::Window *arg2 = 0 ;
408 Dali::Window *result = 0 ;
410 arg1 = (Dali::Window *)jarg1;
411 arg2 = (Dali::Window *)jarg2;
413 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Window const & type is null", 0);
418 result = (Dali::Window *) &(arg1)->operator =((Dali::Window const &)*arg2);
419 } catch (std::out_of_range& e) {
421 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
423 } catch (std::exception& e) {
425 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
427 } catch (Dali::DaliException e) {
429 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
433 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
438 jresult = (void *)result;
443 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_ShowIndicator(void * jarg1, int jarg2) {
444 Dali::Window *arg1 = (Dali::Window *) 0 ;
445 Dali::Window::IndicatorVisibleMode arg2 ;
447 arg1 = (Dali::Window *)jarg1;
448 arg2 = (Dali::Window::IndicatorVisibleMode)jarg2;
451 (arg1)->ShowIndicator(arg2);
452 } catch (std::out_of_range& e) {
454 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
456 } catch (std::exception& e) {
458 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
460 } catch (Dali::DaliException e) {
462 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
466 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
474 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetIndicatorBgOpacity(void * jarg1, int jarg2) {
475 Dali::Window *arg1 = (Dali::Window *) 0 ;
476 Dali::Window::IndicatorBgOpacity arg2 ;
478 arg1 = (Dali::Window *)jarg1;
479 arg2 = (Dali::Window::IndicatorBgOpacity)jarg2;
482 (arg1)->SetIndicatorBgOpacity(arg2);
483 } catch (std::out_of_range& e) {
485 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
487 } catch (std::exception& e) {
489 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
491 } catch (Dali::DaliException e) {
493 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
497 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
505 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_RotateIndicator(void * jarg1, int jarg2) {
506 Dali::Window *arg1 = (Dali::Window *) 0 ;
507 Dali::Window::WindowOrientation arg2 ;
509 arg1 = (Dali::Window *)jarg1;
510 arg2 = (Dali::Window::WindowOrientation)jarg2;
513 (arg1)->RotateIndicator(arg2);
514 } catch (std::out_of_range& e) {
516 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
518 } catch (std::exception& e) {
520 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
522 } catch (Dali::DaliException e) {
524 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
528 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
536 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetClass(void * jarg1, char * jarg2, char * jarg3) {
537 Dali::Window *arg1 = (Dali::Window *) 0 ;
541 arg1 = (Dali::Window *)jarg1;
543 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
546 (&arg2)->assign(jarg2);
548 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
551 (&arg3)->assign(jarg3);
554 (arg1)->SetClass(arg2,arg3);
555 } catch (std::out_of_range& e) {
557 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
559 } catch (std::exception& e) {
561 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
563 } catch (Dali::DaliException e) {
565 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
569 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
577 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Raise(void * jarg1) {
578 Dali::Window *arg1 = (Dali::Window *) 0 ;
580 arg1 = (Dali::Window *)jarg1;
584 } catch (std::out_of_range& e) {
586 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
588 } catch (std::exception& e) {
590 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
592 } catch (Dali::DaliException e) {
594 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
598 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
606 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Lower(void * jarg1) {
607 Dali::Window *arg1 = (Dali::Window *) 0 ;
609 arg1 = (Dali::Window *)jarg1;
613 } catch (std::out_of_range& e) {
615 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
617 } catch (std::exception& e) {
619 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
621 } catch (Dali::DaliException e) {
623 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
627 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
635 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Activate(void * jarg1) {
636 Dali::Window *arg1 = (Dali::Window *) 0 ;
638 arg1 = (Dali::Window *)jarg1;
642 } catch (std::out_of_range& e) {
644 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
646 } catch (std::exception& e) {
648 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
650 } catch (Dali::DaliException e) {
652 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
656 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
664 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_AddAvailableOrientation(void * jarg1, int jarg2) {
665 Dali::Window *arg1 = (Dali::Window *) 0 ;
666 Dali::Window::WindowOrientation arg2 ;
668 arg1 = (Dali::Window *)jarg1;
669 arg2 = (Dali::Window::WindowOrientation)jarg2;
672 (arg1)->AddAvailableOrientation(arg2);
673 } catch (std::out_of_range& e) {
675 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
677 } catch (std::exception& e) {
679 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
681 } catch (Dali::DaliException e) {
683 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
687 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
695 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_RemoveAvailableOrientation(void * jarg1, int jarg2) {
696 Dali::Window *arg1 = (Dali::Window *) 0 ;
697 Dali::Window::WindowOrientation arg2 ;
699 arg1 = (Dali::Window *)jarg1;
700 arg2 = (Dali::Window::WindowOrientation)jarg2;
703 (arg1)->RemoveAvailableOrientation(arg2);
704 } catch (std::out_of_range& e) {
706 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
708 } catch (std::exception& e) {
710 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
712 } catch (Dali::DaliException e) {
714 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
718 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
726 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetPreferredOrientation(void * jarg1, int jarg2) {
727 Dali::Window *arg1 = (Dali::Window *) 0 ;
728 Dali::Window::WindowOrientation arg2 ;
730 arg1 = (Dali::Window *)jarg1;
731 arg2 = (Dali::Window::WindowOrientation)jarg2;
734 (arg1)->SetPreferredOrientation(arg2);
735 } catch (std::out_of_range& e) {
737 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
739 } catch (std::exception& e) {
741 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
743 } catch (Dali::DaliException e) {
745 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
749 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
757 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_Window_GetPreferredOrientation(void * jarg1) {
759 Dali::Window *arg1 = (Dali::Window *) 0 ;
760 Dali::Window::WindowOrientation result;
762 arg1 = (Dali::Window *)jarg1;
765 result = (Dali::Window::WindowOrientation)(arg1)->GetPreferredOrientation();
766 } catch (std::out_of_range& e) {
768 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
770 } catch (std::exception& e) {
772 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
774 } catch (Dali::DaliException e) {
776 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
780 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
785 jresult = (int)result;
789 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_Window_GetCurrentOrientation(void * jarg1) {
791 Dali::Window::WindowOrientation result;
792 Dali::Window* window = (Dali::Window*)jarg1;
794 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
799 result = Dali::DevelWindow::GetCurrentOrientation(*window);
800 } catch (std::out_of_range& e) {
802 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
804 } catch (std::exception& e) {
806 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
808 } catch (Dali::DaliException e) {
810 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
814 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
819 jresult = (int)result;
823 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_GetNativeHandle(void * jarg1) {
825 Dali::Window *arg1 = (Dali::Window *) 0 ;
828 arg1 = (Dali::Window *)jarg1;
831 result = ((Dali::Window const *)arg1)->GetNativeHandle();
832 } catch (std::out_of_range& e) {
834 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
836 } catch (std::exception& e) {
838 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
840 } catch (Dali::DaliException e) {
842 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
846 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
851 jresult = new Dali::Any((const Dali::Any &)result);
855 /*window-devel binding*/
857 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_FocusChangedSignal(void * jarg1) {
860 Dali::Window *argp1 ;
861 Dali::Window::FocusSignalType *result = 0 ;
863 argp1 = (Dali::Window *)jarg1;
865 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
871 result = (Dali::Window::FocusSignalType*)&arg1.FocusChangedSignal();
872 } catch (std::out_of_range& e) {
874 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
876 } catch (std::exception& e) {
878 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
880 } catch (Dali::DaliException e) {
882 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
886 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
891 jresult = (void *)result;
896 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_SetAcceptFocus(void * jarg1, unsigned int jarg2) {
899 Dali::Window *argp1 ;
901 argp1 = (Dali::Window *)jarg1;
903 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
907 arg2 = jarg2 ? true : false;
910 arg1.SetAcceptFocus(arg2);
911 } catch (std::out_of_range& e) {
913 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
915 } catch (std::exception& e) {
917 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
919 } catch (Dali::DaliException e) {
921 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
925 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
933 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_IsFocusAcceptable(void * jarg1) {
934 unsigned int jresult ;
936 Dali::Window *argp1 ;
939 argp1 = (Dali::Window *)jarg1;
941 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
947 result = (bool)arg1.IsFocusAcceptable();
948 } catch (std::out_of_range& e) {
950 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
952 } catch (std::exception& e) {
954 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
956 } catch (Dali::DaliException e) {
958 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
962 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
972 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Show(void * jarg1) {
974 Dali::Window *argp1 ;
976 argp1 = (Dali::Window *)jarg1;
978 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
985 } catch (std::out_of_range& e) {
987 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
989 } catch (std::exception& e) {
991 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
993 } catch (Dali::DaliException e) {
995 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
999 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1007 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Hide(void * jarg1) {
1009 Dali::Window *argp1 ;
1011 argp1 = (Dali::Window *)jarg1;
1013 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1020 } catch (std::out_of_range& e) {
1022 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1024 } catch (std::exception& e) {
1026 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1028 } catch (Dali::DaliException e) {
1030 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1034 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1042 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_IsVisible(void * jarg1) {
1043 unsigned int jresult ;
1045 Dali::Window *argp1 ;
1048 argp1 = (Dali::Window *)jarg1;
1050 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1056 result = (bool)arg1.IsVisible();
1057 } catch (std::out_of_range& e) {
1059 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1061 } catch (std::exception& e) {
1063 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1065 } catch (Dali::DaliException e) {
1067 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1071 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1081 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_GetSupportedAuxiliaryHintCount(void * jarg1) {
1082 unsigned int jresult ;
1084 Dali::Window *argp1 ;
1085 unsigned int result;
1087 argp1 = (Dali::Window *)jarg1;
1089 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1095 result = (unsigned int)arg1.GetSupportedAuxiliaryHintCount();
1096 } catch (std::out_of_range& e) {
1098 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1100 } catch (std::exception& e) {
1102 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1104 } catch (Dali::DaliException e) {
1106 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1110 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1120 SWIGEXPORT char * SWIGSTDCALL CSharp_Dali_GetSupportedAuxiliaryHint(void * jarg1, unsigned int jarg2) {
1124 Dali::Window *argp1 ;
1127 argp1 = (Dali::Window *)jarg1;
1129 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1133 arg2 = (unsigned int)jarg2;
1136 result = arg1.GetSupportedAuxiliaryHint(arg2);
1137 } catch (std::out_of_range& e) {
1139 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1141 } catch (std::exception& e) {
1143 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1145 } catch (Dali::DaliException e) {
1147 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1151 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1156 jresult = SWIG_csharp_string_callback((&result)->c_str());
1161 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_AddAuxiliaryHint(void * jarg1, char * jarg2, char * jarg3) {
1162 unsigned int jresult ;
1164 std::string *arg2 = 0 ;
1165 std::string *arg3 = 0 ;
1166 Dali::Window *argp1 ;
1167 unsigned int result;
1169 argp1 = (Dali::Window *)jarg1;
1171 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1176 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
1179 std::string arg2_str(jarg2);
1182 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
1185 std::string arg3_str(jarg3);
1189 result = (unsigned int)arg1.AddAuxiliaryHint((std::string const &)*arg2,(std::string const &)*arg3);
1190 } catch (std::out_of_range& e) {
1192 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1194 } catch (std::exception& e) {
1196 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1198 } catch (Dali::DaliException e) {
1200 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1204 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1215 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_RemoveAuxiliaryHint(void * jarg1, unsigned int jarg2) {
1216 unsigned int jresult ;
1219 Dali::Window *argp1 ;
1222 argp1 = (Dali::Window *)jarg1;
1224 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1228 arg2 = (unsigned int)jarg2;
1231 result = (bool)arg1.RemoveAuxiliaryHint(arg2);
1232 } catch (std::out_of_range& e) {
1234 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1236 } catch (std::exception& e) {
1238 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1240 } catch (Dali::DaliException e) {
1242 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1246 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1256 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_SetAuxiliaryHintValue(void * jarg1, unsigned int jarg2, char * jarg3) {
1257 unsigned int jresult ;
1260 std::string *arg3 = 0 ;
1261 Dali::Window *argp1 ;
1264 argp1 = (Dali::Window *)jarg1;
1266 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1270 arg2 = (unsigned int)jarg2;
1272 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
1275 std::string arg3_str(jarg3);
1279 result = (bool)arg1.SetAuxiliaryHintValue(arg2,(std::string const &)*arg3);
1280 } catch (std::out_of_range& e) {
1282 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1284 } catch (std::exception& e) {
1286 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1288 } catch (Dali::DaliException e) {
1290 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1294 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1301 //argout typemap for const std::string&
1307 SWIGEXPORT char * SWIGSTDCALL CSharp_Dali_GetAuxiliaryHintValue(void * jarg1, unsigned int jarg2) {
1311 Dali::Window *argp1 ;
1314 argp1 = (Dali::Window *)jarg1;
1316 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1320 arg2 = (unsigned int)jarg2;
1323 result = arg1.GetAuxiliaryHintValue(arg2);
1324 } catch (std::out_of_range& e) {
1326 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1328 } catch (std::exception& e) {
1330 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1332 } catch (Dali::DaliException e) {
1334 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1338 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1343 jresult = SWIG_csharp_string_callback((&result)->c_str());
1348 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_GetAuxiliaryHintId(void * jarg1, char * jarg2) {
1349 unsigned int jresult ;
1351 std::string *arg2 = 0 ;
1352 Dali::Window *argp1 ;
1353 unsigned int result;
1355 argp1 = (Dali::Window *)jarg1;
1357 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1362 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
1365 std::string arg2_str(jarg2);
1369 result = (unsigned int)arg1.GetAuxiliaryHintId((std::string const &)*arg2);
1370 } catch (std::out_of_range& e) {
1372 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1374 } catch (std::exception& e) {
1376 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1378 } catch (Dali::DaliException e) {
1380 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1384 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1391 //argout typemap for const std::string&
1397 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_SetInputRegion(void * jarg1, void * jarg2) {
1399 Dali::Rect< int > *arg2 = 0 ;
1400 Dali::Window *argp1 ;
1402 argp1 = (Dali::Window *)jarg1;
1404 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1408 arg2 = (Dali::Rect< int > *)jarg2;
1410 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Rect< int > const & type is null", 0);
1415 arg1.SetInputRegion((Dali::Rect< int > const &)*arg2);
1416 } catch (std::out_of_range& e) {
1418 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1420 } catch (std::exception& e) {
1422 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1424 } catch (Dali::DaliException e) {
1426 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1430 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1438 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_SetType(void * jarg1, int jarg2) {
1440 Dali::Window::Type arg2 ;
1441 Dali::Window *argp1 ;
1443 argp1 = (Dali::Window *)jarg1;
1445 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1449 arg2 = (Dali::Window::Type)jarg2;
1453 } catch (std::out_of_range& e) {
1455 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1457 } catch (std::exception& e) {
1459 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1461 } catch (Dali::DaliException e) {
1463 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1467 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1475 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GetType(void * jarg1) {
1478 Dali::Window *argp1 ;
1479 Dali::Window::Type result;
1481 argp1 = (Dali::Window *)jarg1;
1483 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1489 result = (Dali::Window::Type)arg1.GetType();
1490 } catch (std::out_of_range& e) {
1492 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1494 } catch (std::exception& e) {
1496 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1498 } catch (Dali::DaliException e) {
1500 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1504 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1509 jresult = (int)result;
1514 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_SetNotificationLevel(void * jarg1, int jarg2) {
1515 unsigned int jresult ;
1517 Dali::Window::NotificationLevel::Type arg2 ;
1518 Dali::Window *argp1 ;
1521 argp1 = (Dali::Window *)jarg1;
1523 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1527 arg2 = (Dali::Window::NotificationLevel::Type)jarg2;
1530 result = (bool)arg1.SetNotificationLevel(arg2);
1531 } catch (std::out_of_range& e) {
1533 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1535 } catch (std::exception& e) {
1537 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1539 } catch (Dali::DaliException e) {
1541 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1545 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1555 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GetNotificationLevel(void * jarg1) {
1558 Dali::Window *argp1 ;
1559 Dali::Window::NotificationLevel::Type result;
1561 argp1 = (Dali::Window *)jarg1;
1563 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1569 result = (Dali::Window::NotificationLevel::Type)arg1.GetNotificationLevel();
1570 } catch (std::out_of_range& e) {
1572 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1574 } catch (std::exception& e) {
1576 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1578 } catch (Dali::DaliException e) {
1580 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1584 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1589 jresult = (int)result;
1594 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_SetOpaqueState(void * jarg1, unsigned int jarg2) {
1597 Dali::Window *argp1 ;
1599 argp1 = (Dali::Window *)jarg1;
1601 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1605 arg2 = jarg2 ? true : false;
1608 arg1.SetOpaqueState(arg2);
1609 } catch (std::out_of_range& e) {
1611 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1613 } catch (std::exception& e) {
1615 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1617 } catch (Dali::DaliException e) {
1619 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1623 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1631 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_IsOpaqueState(void * jarg1) {
1632 unsigned int jresult ;
1634 Dali::Window *argp1 ;
1637 argp1 = (Dali::Window *)jarg1;
1639 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1645 result = (bool)arg1.IsOpaqueState();
1646 } catch (std::out_of_range& e) {
1648 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1650 } catch (std::exception& e) {
1652 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1654 } catch (Dali::DaliException e) {
1656 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1660 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1670 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_SetScreenOffMode(void * jarg1, int jarg2) {
1671 unsigned int jresult ;
1673 Dali::Window::ScreenOffMode::Type arg2 ;
1674 Dali::Window *argp1 ;
1677 argp1 = (Dali::Window *)jarg1;
1679 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1683 arg2 = (Dali::Window::ScreenOffMode::Type)jarg2;
1686 result = (bool)arg1.SetScreenOffMode(arg2);
1687 } catch (std::out_of_range& e) {
1689 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1691 } catch (std::exception& e) {
1693 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1695 } catch (Dali::DaliException e) {
1697 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1701 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1711 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GetScreenOffMode(void * jarg1) {
1714 Dali::Window *argp1 ;
1715 Dali::Window::ScreenOffMode::Type result;
1717 argp1 = (Dali::Window *)jarg1;
1719 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1725 result = (Dali::Window::ScreenOffMode::Type)arg1.GetScreenOffMode();
1726 } catch (std::out_of_range& e) {
1728 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1730 } catch (std::exception& e) {
1732 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1734 } catch (Dali::DaliException e) {
1736 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1740 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1745 jresult = (int)result;
1750 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_SetBrightness(void * jarg1, int jarg2) {
1751 unsigned int jresult ;
1754 Dali::Window *argp1 ;
1757 argp1 = (Dali::Window *)jarg1;
1759 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1766 result = (bool)arg1.SetBrightness(arg2);
1767 } catch (std::out_of_range& e) {
1769 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1771 } catch (std::exception& e) {
1773 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1775 } catch (Dali::DaliException e) {
1777 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1781 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1791 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GetBrightness(void * jarg1) {
1794 Dali::Window *argp1 ;
1797 argp1 = (Dali::Window *)jarg1;
1799 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1805 result = (int)arg1.GetBrightness();
1806 } catch (std::out_of_range& e) {
1808 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1810 } catch (std::exception& e) {
1812 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1814 } catch (Dali::DaliException e) {
1816 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1820 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1829 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_WindowFocusSignalType_Empty(void * jarg1) {
1830 unsigned int jresult ;
1831 Dali::Signal< void (bool) > *arg1 = (Dali::Signal< void (bool) > *) 0 ;
1834 arg1 = (Dali::Signal< void (bool) > *)jarg1;
1837 result = (bool)Dali_Signal_Sl_void_Sp_bool_SP__Sg__Empty((Dali::Signal< void (bool) > const *)arg1);
1838 } catch (std::out_of_range& e) {
1840 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1842 } catch (std::exception& e) {
1844 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1846 } catch (Dali::DaliException e) {
1848 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1852 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1862 SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_WindowFocusSignalType_GetConnectionCount(void * jarg1) {
1863 unsigned long jresult ;
1864 Dali::Signal< void (bool) > *arg1 = (Dali::Signal< void (bool) > *) 0 ;
1867 arg1 = (Dali::Signal< void (bool) > *)jarg1;
1870 result = Dali_Signal_Sl_void_Sp_bool_SP__Sg__GetConnectionCount((Dali::Signal< void (bool) > const *)arg1);
1871 } catch (std::out_of_range& e) {
1873 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1875 } catch (std::exception& e) {
1877 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1879 } catch (Dali::DaliException e) {
1881 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1885 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1890 jresult = (unsigned long)result;
1895 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WindowFocusSignalType_Connect(void * jarg1, void * jarg2) {
1896 Dali::Signal< void (bool) > *arg1 = (Dali::Signal< void (bool) > *) 0 ;
1897 void (*arg2)(bool) = (void (*)(bool)) 0 ;
1899 arg1 = (Dali::Signal< void (bool) > *)jarg1;
1900 arg2 = (void (*)(bool))jarg2;
1903 Dali_Signal_Sl_void_Sp_bool_SP__Sg__Connect(arg1,arg2);
1904 } catch (std::out_of_range& e) {
1906 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1908 } catch (std::exception& e) {
1910 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1912 } catch (Dali::DaliException e) {
1914 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1918 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1926 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WindowFocusSignalType_Disconnect(void * jarg1, void * jarg2) {
1927 Dali::Signal< void (bool) > *arg1 = (Dali::Signal< void (bool) > *) 0 ;
1928 void (*arg2)(bool) = (void (*)(bool)) 0 ;
1930 arg1 = (Dali::Signal< void (bool) > *)jarg1;
1931 arg2 = (void (*)(bool))jarg2;
1934 Dali_Signal_Sl_void_Sp_bool_SP__Sg__Disconnect(arg1,arg2);
1935 } catch (std::out_of_range& e) {
1937 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1939 } catch (std::exception& e) {
1941 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1943 } catch (Dali::DaliException e) {
1945 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1949 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1957 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WindowFocusSignalType_Emit(void * jarg1, unsigned int jarg2) {
1958 Dali::Signal< void (bool) > *arg1 = (Dali::Signal< void (bool) > *) 0 ;
1961 arg1 = (Dali::Signal< void (bool) > *)jarg1;
1962 arg2 = jarg2 ? true : false;
1965 Dali_Signal_Sl_void_Sp_bool_SP__Sg__Emit(arg1,arg2);
1966 } catch (std::out_of_range& e) {
1968 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1970 } catch (std::exception& e) {
1972 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1974 } catch (Dali::DaliException e) {
1976 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1980 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1988 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_WindowFocusSignalType() {
1990 Dali::Signal< void (bool) > *result = 0 ;
1994 result = (Dali::Signal< void (bool) > *)new Dali::Signal< void (bool) >();
1995 } catch (std::out_of_range& e) {
1997 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1999 } catch (std::exception& e) {
2001 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2003 } catch (Dali::DaliException e) {
2005 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2009 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2014 jresult = (void *)result;
2019 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_WindowFocusSignalType(void * jarg1) {
2020 Dali::Signal< void (bool) > *arg1 = (Dali::Signal< void (bool) > *) 0 ;
2022 arg1 = (Dali::Signal< void (bool) > *)jarg1;
2026 } catch (std::out_of_range& e) {
2028 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2030 } catch (std::exception& e) {
2032 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2034 } catch (Dali::DaliException e) {
2036 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2040 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2049 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_ResizedSignal(void * jarg1) {
2052 Dali::Window *argp1 ;
2053 Dali::Window::ResizedSignalType *result = 0 ;
2055 argp1 = (Dali::Window *)jarg1;
2057 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2063 result = (Dali::Window::ResizedSignalType *) &arg1.ResizedSignal();
2064 } catch (std::out_of_range& e) {
2066 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2068 } catch (std::exception& e) {
2070 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2072 } catch (Dali::DaliException e) {
2074 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2078 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2083 jresult = (void *)result;
2087 /*ResizedSignal binding*/
2088 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_ResizedSignal_Empty(void * jarg1) {
2089 unsigned int jresult ;
2090 Dali::Signal< void (Dali::Window::WindowSize) > *arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *) 0 ;
2093 arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *)jarg1;
2096 result = (bool)Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__Empty((Dali::Signal< void (Dali::Window::WindowSize) > const *)arg1);
2097 } catch (std::out_of_range& e) {
2099 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2101 } catch (std::exception& e) {
2103 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2105 } catch (Dali::DaliException e) {
2107 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2111 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2121 SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_ResizedSignal_GetConnectionCount(void * jarg1) {
2122 unsigned long jresult ;
2123 Dali::Signal< void (Dali::Window::WindowSize) > *arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *) 0 ;
2126 arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *)jarg1;
2129 result = Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__GetConnectionCount((Dali::Signal< void (Dali::Window::WindowSize) > const *)arg1);
2130 } catch (std::out_of_range& e) {
2132 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2134 } catch (std::exception& e) {
2136 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2138 } catch (Dali::DaliException e) {
2140 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2144 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2149 jresult = (unsigned long)result;
2154 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ResizedSignal_Connect(void * jarg1, void * jarg2) {
2155 Dali::Signal< void (Dali::Window::WindowSize) > *arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *) 0 ;
2156 void (*arg2)(Dali::Window::WindowSize) = (void (*)(Dali::Window::WindowSize)) 0 ;
2158 arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *)jarg1;
2159 arg2 = (void (*)(Dali::Window::WindowSize))jarg2;
2162 Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__Connect(arg1,arg2);
2163 } catch (std::out_of_range& e) {
2165 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2167 } catch (std::exception& e) {
2169 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2171 } catch (Dali::DaliException e) {
2173 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2177 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2185 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ResizedSignal_Disconnect(void * jarg1, void * jarg2) {
2186 Dali::Signal< void (Dali::Window::WindowSize) > *arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *) 0 ;
2187 void (*arg2)(Dali::Window::WindowSize) = (void (*)(Dali::Window::WindowSize)) 0 ;
2189 arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *)jarg1;
2190 arg2 = (void (*)(Dali::Window::WindowSize))jarg2;
2193 Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__Disconnect(arg1,arg2);
2194 } catch (std::out_of_range& e) {
2196 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2198 } catch (std::exception& e) {
2200 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2202 } catch (Dali::DaliException e) {
2204 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2208 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2216 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ResizedSignal_Emit(void * jarg1, void * jarg2) {
2217 Dali::Signal< void (Dali::Window::WindowSize) > *arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *) 0 ;
2218 Dali::Window::WindowSize arg2 ;
2219 Dali::Window::WindowSize *argp2 ;
2221 arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *)jarg1;
2222 argp2 = (Dali::Window::WindowSize *)jarg2;
2224 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window::WindowSize", 0);
2230 Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__Emit(arg1,arg2);
2231 } catch (std::out_of_range& e) {
2233 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2235 } catch (std::exception& e) {
2237 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2239 } catch (Dali::DaliException e) {
2241 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2245 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2253 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_ResizedSignal() {
2255 Dali::Signal< void (Dali::Window::WindowSize) > *result = 0 ;
2259 result = (Dali::Signal< void (Dali::Window::WindowSize) > *)new Dali::Signal< void (Dali::Window::WindowSize) >();
2260 } catch (std::out_of_range& e) {
2262 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2264 } catch (std::exception& e) {
2266 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2268 } catch (Dali::DaliException e) {
2270 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2274 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2279 jresult = (void *)result;
2284 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_ResizedSignal(void * jarg1) {
2285 Dali::Signal< void (Dali::Window::WindowSize) > *arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *) 0 ;
2287 arg1 = (Dali::Signal< void (Dali::Window::WindowSize) > *)jarg1;
2291 } catch (std::out_of_range& e) {
2293 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2295 } catch (std::exception& e) {
2297 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2299 } catch (Dali::DaliException e) {
2301 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2305 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2312 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetSize(void * jarg1, void * jarg2) {
2314 Dali::Window::WindowSize arg2 ;
2315 Dali::Window *argp1 ;
2316 Dali::Window::WindowSize *argp2 ;
2318 argp1 = (Dali::Window *)jarg1;
2320 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2324 argp2 = (Dali::Window::WindowSize *)jarg2;
2326 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window::WindowSize", 0);
2333 } catch (std::out_of_range& e) {
2335 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2337 } catch (std::exception& e) {
2339 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2341 } catch (Dali::DaliException e) {
2343 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2347 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2355 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_GetSize(void * jarg1) {
2358 Dali::Window *argp1 ;
2359 Dali::Window::WindowSize result;
2361 argp1 = (Dali::Window *)jarg1;
2363 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2369 result = arg1.GetSize();
2370 } catch (std::out_of_range& e) {
2372 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2374 } catch (std::exception& e) {
2376 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2378 } catch (Dali::DaliException e) {
2380 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2384 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2389 jresult = new Dali::Window::WindowSize((const Dali::Window::WindowSize &)result);
2394 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetPosition(void * jarg1, void * jarg2) {
2396 Dali::Window::WindowPosition arg2 ;
2397 Dali::Window *argp1 ;
2398 Dali::Window::WindowPosition *argp2 ;
2400 argp1 = (Dali::Window *)jarg1;
2402 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2406 argp2 = (Dali::Window::WindowPosition *)jarg2;
2408 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window::WindowPosition", 0);
2414 arg1.SetPosition(arg2);
2415 } catch (std::out_of_range& e) {
2417 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2419 } catch (std::exception& e) {
2421 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2423 } catch (Dali::DaliException e) {
2425 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2429 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2437 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_GetPosition(void * jarg1) {
2440 Dali::Window *argp1 ;
2441 Dali::Window::WindowPosition result;
2443 argp1 = (Dali::Window *)jarg1;
2445 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2451 result = arg1.GetPosition();
2452 } catch (std::out_of_range& e) {
2454 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2456 } catch (std::exception& e) {
2458 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2460 } catch (Dali::DaliException e) {
2462 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2466 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2471 jresult = new Dali::Window::WindowPosition((const Dali::Window::WindowPosition &)result);
2475 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetPositionSize(void* jarg1, void* jarg2)
2477 Dali::Window* window = (Dali::Window*)jarg1;
2479 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2483 Dali::Rect<int>* positionSize = (Dali::Rect<int>*)jarg2;
2484 if (!positionSize) {
2485 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Rect< int > const & type is null", 0);
2490 Dali::DevelWindow::SetPositionSize(*window, *positionSize);
2491 } catch (std::out_of_range& e) {
2493 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2495 } catch (std::exception& e) {
2497 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2499 } catch (Dali::DaliException e) {
2501 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2505 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2512 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetTransparency(void * jarg1, unsigned int jarg2) {
2515 Dali::Window *argp1 ;
2517 argp1 = (Dali::Window *)jarg1;
2519 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2523 arg2 = jarg2 ? true : false;
2526 arg1.SetTransparency(arg2);
2527 } catch (std::out_of_range& e) {
2529 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2531 } catch (std::exception& e) {
2533 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2535 } catch (Dali::DaliException e) {
2537 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2541 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2548 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_FeedKeyEvent(void * jarg1) {
2549 Dali::KeyEvent *arg1 = 0 ;
2551 arg1 = (Dali::KeyEvent *)jarg1;
2553 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::KeyEvent & type is null", 0);
2558 Dali::Adaptor::Get().FeedKeyEvent(*arg1);
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 ;
2575 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Adaptor_RenderOnce(void * /* jarg1 */) {
2577 Dali::Adaptor::Get().RenderOnce();
2578 } catch (std::out_of_range& e) {
2580 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2582 } catch (std::exception& e) {
2584 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2588 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2593 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Add(void * jarg1, void * jarg2) {
2594 Dali::Window *arg1 = (Dali::Window *) 0 ;
2596 Dali::Actor *argp2 ;
2598 arg1 = (Dali::Window *)jarg1;
2599 argp2 = (Dali::Actor *)jarg2;
2601 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Actor", 0);
2608 } catch (std::out_of_range& e) {
2610 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2612 } catch (std::exception& e) {
2614 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2616 } catch (Dali::DaliException e) {
2618 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2622 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2628 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Remove(void * jarg1, void * jarg2) {
2629 Dali::Window *arg1 = (Dali::Window *) 0 ;
2630 Dali::Actor *arg2 = 0 ;
2632 arg1 = (Dali::Window *)jarg1;
2633 arg2 = (Dali::Actor *)jarg2;
2635 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Actor & type is null", 0);
2640 (arg1)->Remove(*arg2);
2641 } catch (std::out_of_range& e) {
2643 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2645 } catch (std::exception& e) {
2647 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2649 } catch (Dali::DaliException e) {
2651 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2655 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2661 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetBackgroundColor(void * jarg1, void * jarg2) {
2662 Dali::Window *arg1 = (Dali::Window *) 0 ;
2663 Dali::Vector4 arg2 ;
2664 Dali::Vector4 *argp2 ;
2666 arg1 = (Dali::Window *)jarg1;
2667 argp2 = (Dali::Vector4 *)jarg2;
2669 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Vector4", 0);
2675 (arg1)->SetBackgroundColor(arg2);
2676 } catch (std::out_of_range& e) {
2678 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2680 } catch (std::exception& e) {
2682 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2684 } catch (Dali::DaliException e) {
2686 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2690 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2696 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_GetBackgroundColor(void * jarg1) {
2698 Dali::Window *arg1 = (Dali::Window *) 0 ;
2699 Dali::Vector4 result;
2701 arg1 = (Dali::Window *)jarg1;
2704 result = ((Dali::Window const *)arg1)->GetBackgroundColor();
2705 } catch (std::out_of_range& e) {
2707 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2709 } catch (std::exception& e) {
2711 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2713 } catch (Dali::DaliException e) {
2715 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2719 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2724 jresult = new Dali::Vector4((const Dali::Vector4 &)result);
2728 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_GetRootLayer(void * jarg1) {
2730 Dali::Window *arg1 = (Dali::Window *) 0 ;
2733 arg1 = (Dali::Window *)jarg1;
2736 result = ((Dali::Window const *)arg1)->GetRootLayer();
2737 } catch (std::out_of_range& e) {
2739 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2741 } catch (std::exception& e) {
2743 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2745 } catch (Dali::DaliException e) {
2747 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2751 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2756 jresult = new Dali::Layer((const Dali::Layer &)result);
2760 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_KeyEventSignal(void * jarg1) {
2762 Dali::Window *arg1 = (Dali::Window *) 0 ;
2763 Dali::DevelWindow::KeyEventSignalType *result = 0 ;
2765 arg1 = (Dali::Window *)jarg1;
2768 result = (Dali::DevelWindow::KeyEventSignalType *) &(Dali::DevelWindow::KeyEventSignal(*arg1));
2769 } catch (std::out_of_range& e) {
2771 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2773 } catch (std::exception& e) {
2775 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2777 } catch (Dali::DaliException e) {
2779 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2783 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2788 jresult = (void *)result;
2792 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_TouchSignal(void * jarg1) {
2794 Dali::Window *arg1 = (Dali::Window *) 0 ;
2795 Dali::DevelWindow::TouchSignalType *result = 0 ;
2797 arg1 = (Dali::Window *)jarg1;
2800 result = (Dali::DevelWindow::TouchSignalType *) &(Dali::DevelWindow::TouchSignal(*arg1));
2801 } catch (std::out_of_range& e) {
2803 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2805 } catch (std::exception& e) {
2807 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2809 } catch (Dali::DaliException e) {
2811 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2815 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2820 jresult = (void *)result;
2824 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetParent(void* jarg1, void* jarg2)
2826 Dali::Window* window = (Dali::Window*)jarg1;
2828 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2832 Dali::Window* parent = (Dali::Window*)jarg2;
2834 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2839 Dali::DevelWindow::SetParent(*window, *parent);
2840 } catch (std::out_of_range& e) {
2842 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2844 } catch (std::exception& e) {
2846 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2848 } catch (Dali::DaliException e) {
2850 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2854 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2861 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Unparent(void* jarg1)
2863 Dali::Window* window = (Dali::Window*)jarg1;
2865 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2870 Dali::DevelWindow::Unparent(*window);
2871 } catch (std::out_of_range& e) {
2873 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2875 } catch (std::exception& e) {
2877 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2879 } catch (Dali::DaliException e) {
2881 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2885 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2892 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_GetParent(void* jarg1)
2895 Dali::Window* window = (Dali::Window*)jarg1;
2896 Dali::Window result;
2898 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2903 result = Dali::DevelWindow::GetParent(*window);
2904 } catch (std::out_of_range& e) {
2906 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2908 } catch (std::exception& e) {
2910 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2912 } catch (Dali::DaliException e) {
2914 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2918 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2922 jresult = new Dali::Window((const Dali::Window &)result);
2926 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_Transition_Effect_EventSignal(void * jarg1) {
2928 Dali::Window *arg1 = (Dali::Window *) 0 ;
2929 Dali::DevelWindow::TransitionEffectEventSignalType *result = 0 ;
2931 arg1 = (Dali::Window *)jarg1;
2934 result = (Dali::DevelWindow::TransitionEffectEventSignalType *) &(Dali::DevelWindow::TransitionEffectEventSignal(*arg1));
2935 } catch (std::out_of_range& e) {
2937 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2939 } catch (std::exception& e) {
2941 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2943 } catch (Dali::DaliException e) {
2945 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2949 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2954 jresult = (void *)result;
2958 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_Window_Transition_Effect_Event_Signal_Empty(void * jarg1) {
2959 unsigned int jresult ;
2960 Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *) 0 ;
2963 arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *)jarg1;
2966 result = (bool)Dali_Signal_Window_Transition_Effect_Event_Signal_Empty((Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > const *)arg1);
2967 } catch (std::out_of_range& e) {
2969 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2971 } catch (std::exception& e) {
2973 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2975 } catch (Dali::DaliException e) {
2977 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2981 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2991 SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_Window_Transition_Effect_Event_Signal_GetConnectionCount(void * jarg1) {
2992 unsigned long jresult ;
2993 Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *) 0 ;
2996 arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *)jarg1;
2999 result = Dali_Signal_Window_Transition_Effect_Event_Signal_GetConnectionCount((Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > const *)arg1);
3000 } catch (std::out_of_range& e) {
3002 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
3004 } catch (std::exception& e) {
3006 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
3008 } catch (Dali::DaliException e) {
3010 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
3014 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
3019 jresult = (unsigned long)result;
3024 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Transition_Effect_Event_Signal_Connect(void * jarg1, void * jarg2) {
3025 Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *) 0 ;
3026 void (*arg2)(Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) = (void (*)(Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType)) 0 ;
3028 arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *)jarg1;
3029 arg2 = (void (*)(Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType))jarg2;
3032 //DALI_LOG_ERROR("CSharp_Dali_Window_Transition_Effect_Event_Signal_Connect(arg1=0x%x, arg2=0x%x) \n", arg1, arg2);
3033 Dali_Signal_Window_Transition_Effect_Event_Signal_Connect(arg1,arg2);
3034 } catch (std::out_of_range& e) {
3036 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
3038 } catch (std::exception& e) {
3040 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
3042 } catch (Dali::DaliException e) {
3044 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
3048 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
3056 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Transition_Effect_Event_Signal_Disconnect(void * jarg1, void * jarg2) {
3057 Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *) 0 ;
3058 void (*arg2)(Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) = (void (*)(Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType)) 0 ;
3060 arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *)jarg1;
3061 arg2 = (void (*)(Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType))jarg2;
3064 Dali_Signal_Window_Transition_Effect_Event_Signal_Disconnect(arg1,arg2);
3065 } catch (std::out_of_range& e) {
3067 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
3069 } catch (std::exception& e) {
3071 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
3073 } catch (Dali::DaliException e) {
3075 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
3079 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
3087 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Transition_Effect_Event_Signal_Emit(void * jarg1, void * jarg2, int jarg3, int jarg4) {
3088 Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *) 0 ;
3090 Dali::Window *argp2 ;
3092 arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *)jarg1;
3093 argp2 = (Dali::Window *)jarg2;
3095 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
3101 Dali_Signal_Window_Transition_Effect_Event_Signal_Emit(arg1,arg2, (Dali::DevelWindow::EffectState)jarg3, (Dali::DevelWindow::EffectType)jarg4);
3102 } catch (std::out_of_range& e) {
3104 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
3106 } catch (std::exception& e) {
3108 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
3110 } catch (Dali::DaliException e) {
3112 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
3116 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
3124 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_Transition_Effect_Event_Signal_new() {
3126 Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *result = 0 ;
3130 result = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *)new Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) >();
3131 } catch (std::out_of_range& e) {
3133 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
3135 } catch (std::exception& e) {
3137 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
3139 } catch (Dali::DaliException e) {
3141 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
3145 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
3150 jresult = (void *)result;
3155 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Transition_Effect_Event_Signal_delete(void * jarg1) {
3156 Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *) 0 ;
3158 arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::EffectState, Dali::DevelWindow::EffectType) > *)jarg1;
3162 } catch (std::out_of_range& e) {
3164 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
3166 } catch (std::exception& e) {
3168 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
3170 } catch (Dali::DaliException e) {
3172 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
3176 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;