2 * Copyright (c) 2023 Samsung Electronics Co., Ltd.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
19 #include <dali/public-api/adaptor-framework/window.h>
20 #include <dali/devel-api/adaptor-framework/mouse-in-out-event.h>
21 #include <dali/devel-api/adaptor-framework/window-devel.h>
22 #include <dali/integration-api/adaptor-framework/adaptor.h>
23 #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 (Dali::Window, bool) > const *self){
37 SWIGINTERN std::size_t Dali_Signal_Sl_void_Sp_bool_SP__Sg__GetConnectionCount(Dali::Signal< void (Dali::Window, bool) > const *self){
38 return self->GetConnectionCount();
40 SWIGINTERN void Dali_Signal_Sl_void_Sp_bool_SP__Sg__Connect(Dali::Signal< void (Dali::Window, bool) > *self,void (*func)(Dali::Window, bool)){
41 self->Connect( func );
43 SWIGINTERN void Dali_Signal_Sl_void_Sp_bool_SP__Sg__Disconnect(Dali::Signal< void (Dali::Window, bool) > *self,void (*func)(Dali::Window, bool)){
44 self->Disconnect( func );
46 SWIGINTERN void Dali_Signal_Sl_void_Sp_bool_SP__Sg__Emit(Dali::Signal< void (Dali::Window, bool) > *self,Dali::Window arg, bool focusIn){
47 self->Emit( arg, focusIn );
51 SWIGINTERN bool Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__Empty(Dali::Signal< void (Dali::Window, 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, 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, Dali::Window::WindowSize) > *self,void (*func)(Dali::Window, 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, Dali::Window::WindowSize) > *self,void (*func)(Dali::Window, 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, Dali::Window::WindowSize) > *self, Dali::Window arg, Dali::Window::WindowSize size){
64 self->Emit( arg, size );
68 SWIGINTERN bool Dali_Signal_Window_Transition_Effect_Event_Signal_Empty(Dali::Signal< void (Dali::Window, Dali::WindowEffectState, Dali::WindowEffectType) > const *self){
71 SWIGINTERN std::size_t Dali_Signal_Window_Transition_Effect_Event_Signal_GetConnectionCount(Dali::Signal< void (Dali::Window, Dali::WindowEffectState, Dali::WindowEffectType) > const *self){
72 return self->GetConnectionCount();
74 SWIGINTERN void Dali_Signal_Window_Transition_Effect_Event_Signal_Connect(Dali::Signal< void (Dali::Window, Dali::WindowEffectState, Dali::WindowEffectType) > *self, void (*func)(Dali::Window, Dali::WindowEffectState, Dali::WindowEffectType)){
75 self->Connect( func );
77 SWIGINTERN void Dali_Signal_Window_Transition_Effect_Event_Signal_Disconnect(Dali::Signal< void (Dali::Window, Dali::WindowEffectState, Dali::WindowEffectType) > *self,void (*func)(Dali::Window, Dali::WindowEffectState, Dali::WindowEffectType)){
78 self->Disconnect( func );
80 SWIGINTERN void Dali_Signal_Window_Transition_Effect_Event_Signal_Emit(Dali::Signal< void (Dali::Window, Dali::WindowEffectState, Dali::WindowEffectType) > *self,Dali::Window arg, Dali::WindowEffectState state, Dali::WindowEffectType type){
81 self->Emit( arg, state, type );
85 SWIGINTERN bool Dali_Signal_Window_Moved_Signal_Empty(Dali::Signal< void (Dali::Window, Dali::Window::WindowPosition) > const *self){
88 SWIGINTERN std::size_t Dali_Signal_Window_Moved_Signal_GetConnectionCount(Dali::Signal< void (Dali::Window, Dali::Window::WindowPosition) > const *self){
89 return self->GetConnectionCount();
91 SWIGINTERN void Dali_Signal_Window_Moved_Signal_Connect(Dali::Signal< void (Dali::Window, Dali::Window::WindowPosition) > *self, void (*func)(Dali::Window, Dali::Window::WindowPosition)){
92 self->Connect( func );
94 SWIGINTERN void Dali_Signal_Window_Moved_Signal_Disconnect(Dali::Signal< void (Dali::Window, Dali::Window::WindowPosition) > *self,void (*func)(Dali::Window, Dali::Window::WindowPosition)){
95 self->Disconnect( func );
97 SWIGINTERN void Dali_Signal_Window_Moved_Signal_Emit(Dali::Signal< void (Dali::Window, Dali::Window::WindowPosition) > *self,Dali::Window window, Dali::Window::WindowPosition position){
98 self->Emit( window, position );
101 //Orientation Changed
102 SWIGINTERN bool Dali_Signal_Window_Orientation_Changed_Signal_Empty(Dali::Signal< void (Dali::Window, Dali::WindowOrientation) > const *self){
103 return self->Empty();
105 SWIGINTERN std::size_t Dali_Signal_Window_Orientation_Changed_Signal_GetConnectionCount(Dali::Signal< void (Dali::Window, Dali::WindowOrientation) > const *self){
106 return self->GetConnectionCount();
108 SWIGINTERN void Dali_Signal_Window_Orientation_Changed_Signal_Connect(Dali::Signal< void (Dali::Window, Dali::WindowOrientation) > *self, void (*func)(Dali::Window, Dali::WindowOrientation)){
109 self->Connect( func );
111 SWIGINTERN void Dali_Signal_Window_Orientation_Changed_Signal_Disconnect(Dali::Signal< void (Dali::Window, Dali::WindowOrientation) > *self, void (*func)(Dali::Window, Dali::WindowOrientation)){
112 self->Disconnect( func );
114 SWIGINTERN void Dali_Signal_Window_Orientation_Changed_Signal_Emit(Dali::Signal< void (Dali::Window, Dali::WindowOrientation) > *self, Dali::Window arg, Dali::WindowOrientation orientation){
115 self->Emit( arg, orientation );
119 SWIGINTERN bool Dali_Signal_Window_MouseInOutEvent_Signal_Empty(Dali::Signal< void (Dali::Window, Dali::DevelWindow::MouseInOutEvent const &) > const *self){
120 return self->Empty();
122 SWIGINTERN std::size_t Dali_Signal_Window_MouseInOutEvent_Signal_GetConnectionCount(Dali::Signal< void (Dali::Window, Dali::DevelWindow::MouseInOutEvent const &) > const *self){
123 return self->GetConnectionCount();
125 SWIGINTERN void Dali_Signal_Window_MouseInOutEvent_Signal_Connect(Dali::Signal< void (Dali::Window, Dali::DevelWindow::MouseInOutEvent const &) > *self, void (*func)(Dali::Window, Dali::DevelWindow::MouseInOutEvent const &)){
126 self->Connect( func );
128 SWIGINTERN void Dali_Signal_Window_MouseInOutEvent_Signal_Disconnect(Dali::Signal< void (Dali::Window, Dali::DevelWindow::MouseInOutEvent const &) > *self, void (*func)(Dali::Window, Dali::DevelWindow::MouseInOutEvent const &)){
129 self->Disconnect( func );
131 SWIGINTERN void Dali_Signal_Window_MouseInOutEvent_Signal_Emit(Dali::Signal< void (Dali::Window, Dali::DevelWindow::MouseInOutEvent const &) > *self, Dali::Window arg, Dali::DevelWindow::MouseInOutEvent const &mouseInOutEvent){
132 self->Emit( arg, mouseInOutEvent );
141 SWIGEXPORT Dali::BaseHandle * SWIGSTDCALL CSharp_Dali_Window_SWIGUpcast(Dali::Window *jarg1) {
142 return (Dali::BaseHandle *)jarg1;
145 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_New__SWIG_0(void * jarg1, char * jarg2, unsigned int jarg3) {
147 Dali::PositionSize arg1 ;
148 std::string *arg2 = 0 ;
150 Dali::PositionSize *argp1 ;
153 argp1 = (Dali::PositionSize *)jarg1;
156 arg1 = Dali::PositionSize(0, 0, 0, 0);
163 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
166 std::string arg2_str(jarg2);
168 arg3 = jarg3 ? true : false;
171 result = Dali::Window::New(arg1,(std::string const &)*arg2,arg3);
172 } CALL_CATCH_EXCEPTION(0);
175 jresult = new Dali::Window((const Dali::Window &)result);
177 //argout typemap for const std::string&
183 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_New__SWIG_1(void * jarg1, char * jarg2) {
185 Dali::PositionSize arg1 ;
186 std::string *arg2 = 0 ;
187 Dali::PositionSize *argp1 ;
190 argp1 = (Dali::PositionSize *)jarg1;
192 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::PositionSize", 0);
197 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
200 std::string arg2_str(jarg2);
204 result = Dali::Window::New(arg1,(std::string const &)*arg2);
205 } CALL_CATCH_EXCEPTION(0);
208 jresult = new Dali::Window((const Dali::Window &)result);
210 //argout typemap for const std::string&
216 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_New__SWIG_2(void * jarg1, char * jarg2, char * jarg3, unsigned int jarg4) {
218 Dali::PositionSize arg1 ;
219 std::string *arg2 = 0 ;
220 std::string *arg3 = 0 ;
222 Dali::PositionSize *argp1 ;
225 argp1 = (Dali::PositionSize *)jarg1;
227 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::PositionSize", 0);
232 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
235 std::string arg2_str(jarg2);
238 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
241 std::string arg3_str(jarg3);
243 arg4 = jarg4 ? true : false;
246 result = Dali::Window::New(arg1,(std::string const &)*arg2,(std::string const &)*arg3,arg4);
247 } CALL_CATCH_EXCEPTION(0);
250 jresult = new Dali::Window((const Dali::Window &)result);
256 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_New__SWIG_3(void * jarg1, char * jarg2, char * jarg3) {
258 Dali::PositionSize arg1 ;
259 std::string *arg2 = 0 ;
260 std::string *arg3 = 0 ;
261 Dali::PositionSize *argp1 ;
264 argp1 = (Dali::PositionSize *)jarg1;
266 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::PositionSize", 0);
271 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
274 std::string arg2_str(jarg2);
277 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
280 std::string arg3_str(jarg3);
284 result = Dali::Window::New(arg1,(std::string const &)*arg2,(std::string const &)*arg3);
285 } CALL_CATCH_EXCEPTION(0);
288 jresult = new Dali::Window((const Dali::Window &)result);
294 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_Window__SWIG_0() {
296 Dali::Window *result = 0 ;
300 result = (Dali::Window *)new Dali::Window();
301 } CALL_CATCH_EXCEPTION(0);
304 jresult = (void *)result;
309 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_Window(void * jarg1) {
310 Dali::Window *arg1 = (Dali::Window *) 0 ;
312 arg1 = (Dali::Window *)jarg1;
316 } CALL_CATCH_EXCEPTION();
322 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_Window__SWIG_1(void * jarg1) {
324 Dali::Window *arg1 = 0 ;
325 Dali::Window *result = 0 ;
327 arg1 = (Dali::Window *)jarg1;
329 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Window const & type is null", 0);
334 result = (Dali::Window *)new Dali::Window((Dali::Window const &)*arg1);
335 } CALL_CATCH_EXCEPTION(0);
338 jresult = (void *)result;
343 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_Assign(void * jarg1, void * jarg2) {
345 Dali::Window *arg1 = (Dali::Window *) 0 ;
346 Dali::Window *arg2 = 0 ;
347 Dali::Window *result = 0 ;
349 arg1 = (Dali::Window *)jarg1;
350 arg2 = (Dali::Window *)jarg2;
352 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Window const & type is null", 0);
357 result = (Dali::Window *) &(arg1)->operator =((Dali::Window const &)*arg2);
358 } CALL_CATCH_EXCEPTION(0);
361 jresult = (void *)result;
366 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetClass(void * jarg1, char * jarg2, char * jarg3) {
367 Dali::Window *arg1 = (Dali::Window *) 0 ;
371 arg1 = (Dali::Window *)jarg1;
373 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
376 (&arg2)->assign(jarg2);
378 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
381 (&arg3)->assign(jarg3);
384 (arg1)->SetClass(arg2,arg3);
385 } CALL_CATCH_EXCEPTION();
391 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Raise(void * jarg1) {
392 Dali::Window *arg1 = (Dali::Window *) 0 ;
394 arg1 = (Dali::Window *)jarg1;
398 } CALL_CATCH_EXCEPTION();
404 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Lower(void * jarg1) {
405 Dali::Window *arg1 = (Dali::Window *) 0 ;
407 arg1 = (Dali::Window *)jarg1;
411 } CALL_CATCH_EXCEPTION();
417 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Activate(void * jarg1) {
418 Dali::Window *arg1 = (Dali::Window *) 0 ;
420 arg1 = (Dali::Window *)jarg1;
424 } CALL_CATCH_EXCEPTION();
429 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Maximize(void * winHandle, bool maximize) {
430 Dali::Window *window = (Dali::Window *) 0 ;
432 window = (Dali::Window *)winHandle;
435 Dali::DevelWindow::Maximize(*window, maximize);
436 } CALL_CATCH_EXCEPTION();
440 SWIGEXPORT bool SWIGSTDCALL CSharp_Dali_Window_IsMaximized(void * winHandle) {
441 Dali::Window *window = (Dali::Window *) 0 ;
442 bool isMaximized = false;
444 window = (Dali::Window *)winHandle;
447 isMaximized = Dali::DevelWindow::IsMaximized(*window);
448 } CALL_CATCH_EXCEPTION(false);
453 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Set_Maximum_Size(void * winHandle, void * size) {
454 Dali::Window *window = (Dali::Window *) 0 ;
455 Dali::Window::WindowSize *winSize;
456 Dali::Window::WindowSize maximumSize;
458 window = (Dali::Window *)winHandle;
460 winSize = (Dali::Window::WindowSize *)size;
462 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window::WindowSize", 0);
465 maximumSize = *winSize;
469 Dali::DevelWindow::SetMaximumSize(*window, maximumSize);
470 } CALL_CATCH_EXCEPTION();
474 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Minimize(void * winHandle, bool minimize) {
475 Dali::Window *window = (Dali::Window *) 0 ;
477 window = (Dali::Window *)winHandle;
480 Dali::DevelWindow::Minimize(*window, minimize);
481 } CALL_CATCH_EXCEPTION();
485 SWIGEXPORT bool SWIGSTDCALL CSharp_Dali_Window_IsMinimized(void * winHandle) {
486 Dali::Window *window = (Dali::Window *) 0 ;
487 bool isMinimized = false;
489 window = (Dali::Window *)winHandle;
492 isMinimized = Dali::DevelWindow::IsMinimized(*window);
493 } CALL_CATCH_EXCEPTION(false);
498 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Set_Minimum_Size(void * winHandle, void * size) {
499 Dali::Window *window = (Dali::Window *) 0 ;
500 Dali::Window::WindowSize *winSize;
501 Dali::Window::WindowSize minimumSize;
503 window = (Dali::Window *)winHandle;
505 winSize = (Dali::Window::WindowSize *)size;
507 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window::WindowSize", 0);
510 minimumSize = *winSize;
512 window = (Dali::Window *)winHandle;
515 Dali::DevelWindow::SetMimimumSize(*window, minimumSize);
516 } CALL_CATCH_EXCEPTION();
520 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_AddAvailableOrientation(void * jarg1, int jarg2) {
521 Dali::Window *arg1 = (Dali::Window *) 0 ;
522 Dali::WindowOrientation arg2 ;
524 arg1 = (Dali::Window *)jarg1;
525 arg2 = (Dali::WindowOrientation)jarg2;
528 (arg1)->AddAvailableOrientation(arg2);
529 } CALL_CATCH_EXCEPTION();
535 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_RemoveAvailableOrientation(void * jarg1, int jarg2) {
536 Dali::Window *arg1 = (Dali::Window *) 0 ;
537 Dali::WindowOrientation arg2 ;
539 arg1 = (Dali::Window *)jarg1;
540 arg2 = (Dali::WindowOrientation)jarg2;
543 (arg1)->RemoveAvailableOrientation(arg2);
544 } CALL_CATCH_EXCEPTION();
550 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetPreferredOrientation(void * jarg1, int jarg2) {
551 Dali::Window *arg1 = (Dali::Window *) 0 ;
552 Dali::WindowOrientation arg2 ;
554 arg1 = (Dali::Window *)jarg1;
555 arg2 = (Dali::WindowOrientation)jarg2;
558 (arg1)->SetPreferredOrientation(arg2);
559 } CALL_CATCH_EXCEPTION();
565 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_Window_GetPreferredOrientation(void * jarg1) {
567 Dali::Window *arg1 = (Dali::Window *) 0 ;
568 Dali::WindowOrientation result;
570 arg1 = (Dali::Window *)jarg1;
573 result = (Dali::WindowOrientation)(arg1)->GetPreferredOrientation();
574 } CALL_CATCH_EXCEPTION(0);
577 jresult = (int)result;
581 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_Window_GetCurrentOrientation(void * jarg1) {
583 Dali::WindowOrientation result;
584 Dali::Window* window = (Dali::Window*)jarg1;
586 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
591 result = Dali::DevelWindow::GetCurrentOrientation(*window);
592 } CALL_CATCH_EXCEPTION(0);
595 jresult = (int)result;
599 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetAvailableOrientations(void * jarg1, void* jarg2, int jarg3) {
600 Dali::Window* window = (Dali::Window*)jarg1;
603 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
606 Dali::Property::Array *arg2 = (static_cast<Dali::Property::Array *>(jarg2));
607 unsigned int count = static_cast<unsigned int>(jarg3);
609 Dali::Vector< Dali::WindowOrientation> orientations;
610 orientations.Resize( count );
611 for(Dali::Property::Array::SizeType i = 0; i < count; ++i)
613 int angle = arg2->GetElementAt(i).Get<int>();
614 orientations[i] = static_cast< Dali::WindowOrientation >(angle);
618 Dali::DevelWindow::SetAvailableOrientations(*window, orientations);
619 } CALL_CATCH_EXCEPTION();
625 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_GetNativeHandle(void * jarg1) {
627 Dali::Window *arg1 = (Dali::Window *) 0 ;
630 arg1 = (Dali::Window *)jarg1;
633 result = ((Dali::Window const *)arg1)->GetNativeHandle();
634 } CALL_CATCH_EXCEPTION(0);
637 jresult = new Dali::Any((const Dali::Any &)result);
641 /*window-devel binding*/
643 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_FocusChangedSignal(void * jarg1) {
646 Dali::Window *argp1 ;
647 Dali::Window::FocusChangeSignalType *result = 0 ;
649 argp1 = (Dali::Window *)jarg1;
651 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
657 result = (Dali::Window::FocusChangeSignalType*)&arg1.FocusChangeSignal();
658 } CALL_CATCH_EXCEPTION(0);
661 jresult = (void *)result;
666 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_SetAcceptFocus(void * jarg1, unsigned int jarg2) {
669 Dali::Window *argp1 ;
671 argp1 = (Dali::Window *)jarg1;
673 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
677 arg2 = jarg2 ? true : false;
680 arg1.SetAcceptFocus(arg2);
681 } CALL_CATCH_EXCEPTION();
687 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_IsFocusAcceptable(void * jarg1) {
688 unsigned int jresult ;
690 Dali::Window *argp1 ;
693 argp1 = (Dali::Window *)jarg1;
695 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
701 result = (bool)arg1.IsFocusAcceptable();
702 } CALL_CATCH_EXCEPTION(0);
710 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Show(void * jarg1) {
712 Dali::Window *argp1 ;
714 argp1 = (Dali::Window *)jarg1;
716 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
723 } CALL_CATCH_EXCEPTION();
729 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Hide(void * jarg1) {
731 Dali::Window *argp1 ;
733 argp1 = (Dali::Window *)jarg1;
735 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
742 } CALL_CATCH_EXCEPTION();
748 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_IsVisible(void * jarg1) {
749 unsigned int jresult ;
751 Dali::Window *argp1 ;
754 argp1 = (Dali::Window *)jarg1;
756 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
762 result = (bool)arg1.IsVisible();
763 } CALL_CATCH_EXCEPTION(0);
771 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_GetSupportedAuxiliaryHintCount(void * jarg1) {
772 unsigned int jresult ;
774 Dali::Window *argp1 ;
777 argp1 = (Dali::Window *)jarg1;
779 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
785 result = (unsigned int)arg1.GetSupportedAuxiliaryHintCount();
786 } CALL_CATCH_EXCEPTION(0);
794 SWIGEXPORT char * SWIGSTDCALL CSharp_Dali_GetSupportedAuxiliaryHint(void * jarg1, unsigned int jarg2) {
798 Dali::Window *argp1 ;
801 argp1 = (Dali::Window *)jarg1;
803 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
807 arg2 = (unsigned int)jarg2;
810 result = arg1.GetSupportedAuxiliaryHint(arg2);
811 } CALL_CATCH_EXCEPTION(0);
814 jresult = SWIG_csharp_string_callback((&result)->c_str());
819 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_AddAuxiliaryHint(void * jarg1, char * jarg2, char * jarg3) {
820 unsigned int jresult ;
822 std::string *arg2 = 0 ;
823 std::string *arg3 = 0 ;
824 Dali::Window *argp1 ;
827 argp1 = (Dali::Window *)jarg1;
829 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
834 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
837 std::string arg2_str(jarg2);
840 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
843 std::string arg3_str(jarg3);
847 result = (unsigned int)arg1.AddAuxiliaryHint((std::string const &)*arg2,(std::string const &)*arg3);
848 } CALL_CATCH_EXCEPTION(0);
857 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_RemoveAuxiliaryHint(void * jarg1, unsigned int jarg2) {
858 unsigned int jresult ;
861 Dali::Window *argp1 ;
864 argp1 = (Dali::Window *)jarg1;
866 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
870 arg2 = (unsigned int)jarg2;
873 result = (bool)arg1.RemoveAuxiliaryHint(arg2);
874 } CALL_CATCH_EXCEPTION(0);
882 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_SetAuxiliaryHintValue(void * jarg1, unsigned int jarg2, char * jarg3) {
883 unsigned int jresult ;
886 std::string *arg3 = 0 ;
887 Dali::Window *argp1 ;
890 argp1 = (Dali::Window *)jarg1;
892 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
896 arg2 = (unsigned int)jarg2;
898 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
901 std::string arg3_str(jarg3);
905 result = (bool)arg1.SetAuxiliaryHintValue(arg2,(std::string const &)*arg3);
906 } CALL_CATCH_EXCEPTION(0);
911 //argout typemap for const std::string&
917 SWIGEXPORT char * SWIGSTDCALL CSharp_Dali_GetAuxiliaryHintValue(void * jarg1, unsigned int jarg2) {
921 Dali::Window *argp1 ;
924 argp1 = (Dali::Window *)jarg1;
926 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
930 arg2 = (unsigned int)jarg2;
933 result = arg1.GetAuxiliaryHintValue(arg2);
934 } CALL_CATCH_EXCEPTION(0);
937 jresult = SWIG_csharp_string_callback((&result)->c_str());
942 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_GetAuxiliaryHintId(void * jarg1, char * jarg2) {
943 unsigned int jresult ;
945 std::string *arg2 = 0 ;
946 Dali::Window *argp1 ;
949 argp1 = (Dali::Window *)jarg1;
951 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
956 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
959 std::string arg2_str(jarg2);
963 result = (unsigned int)arg1.GetAuxiliaryHintId((std::string const &)*arg2);
964 } CALL_CATCH_EXCEPTION(0);
969 //argout typemap for const std::string&
975 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_SetInputRegion(void * jarg1, void * jarg2) {
977 Dali::Rect< int > *arg2 = 0 ;
978 Dali::Window *argp1 ;
980 argp1 = (Dali::Window *)jarg1;
982 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
986 arg2 = (Dali::Rect< int > *)jarg2;
988 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Rect< int > const & type is null", 0);
993 arg1.SetInputRegion((Dali::Rect< int > const &)*arg2);
994 } CALL_CATCH_EXCEPTION();
1000 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_SetType(void * jarg1, int jarg2) {
1002 Dali::WindowType arg2 ;
1003 Dali::Window *argp1 ;
1005 argp1 = (Dali::Window *)jarg1;
1007 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1011 arg2 = (Dali::WindowType)jarg2;
1015 } CALL_CATCH_EXCEPTION();
1021 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GetType(void * jarg1) {
1024 Dali::Window *argp1 ;
1025 Dali::WindowType result;
1027 argp1 = (Dali::Window *)jarg1;
1029 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1035 result = (Dali::WindowType)arg1.GetType();
1036 } CALL_CATCH_EXCEPTION(0);
1039 jresult = (int)result;
1044 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_SetNotificationLevel(void * jarg1, int jarg2) {
1045 unsigned int jresult ;
1047 Dali::WindowNotificationLevel arg2 ;
1048 Dali::Window *argp1 ;
1051 argp1 = (Dali::Window *)jarg1;
1053 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1057 arg2 = (Dali::WindowNotificationLevel)jarg2;
1060 result = (int)arg1.SetNotificationLevel(arg2);
1061 } CALL_CATCH_EXCEPTION(0);
1069 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GetNotificationLevel(void * jarg1) {
1072 Dali::Window *argp1 ;
1073 Dali::WindowNotificationLevel result;
1075 argp1 = (Dali::Window *)jarg1;
1077 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1083 result = (Dali::WindowNotificationLevel)arg1.GetNotificationLevel();
1084 } CALL_CATCH_EXCEPTION(0);
1087 jresult = (int)result;
1092 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_SetOpaqueState(void * jarg1, unsigned int jarg2) {
1095 Dali::Window *argp1 ;
1097 argp1 = (Dali::Window *)jarg1;
1099 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1103 arg2 = jarg2 ? true : false;
1106 arg1.SetOpaqueState(arg2);
1107 } CALL_CATCH_EXCEPTION();
1113 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_IsOpaqueState(void * jarg1) {
1114 unsigned int jresult ;
1116 Dali::Window *argp1 ;
1119 argp1 = (Dali::Window *)jarg1;
1121 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1127 result = (bool)arg1.IsOpaqueState();
1128 } CALL_CATCH_EXCEPTION(0);
1136 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_SetScreenOffMode(void * jarg1, int jarg2) {
1137 unsigned int jresult ;
1139 Dali::WindowScreenOffMode arg2 ;
1140 Dali::Window *argp1 ;
1143 argp1 = (Dali::Window *)jarg1;
1145 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1149 arg2 = (Dali::WindowScreenOffMode)jarg2;
1152 result = (int)arg1.SetScreenOffMode(arg2);
1153 } CALL_CATCH_EXCEPTION(0);
1161 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GetScreenOffMode(void * jarg1) {
1164 Dali::Window *argp1 ;
1165 Dali::WindowScreenOffMode result;
1167 argp1 = (Dali::Window *)jarg1;
1169 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1175 result = (Dali::WindowScreenOffMode)arg1.GetScreenOffMode();
1176 } CALL_CATCH_EXCEPTION(0);
1179 jresult = (int)result;
1184 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_SetBrightness(void * jarg1, int jarg2) {
1185 unsigned int jresult ;
1188 Dali::Window *argp1 ;
1191 argp1 = (Dali::Window *)jarg1;
1193 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1200 result = (int)arg1.SetBrightness(arg2);
1201 } CALL_CATCH_EXCEPTION(0);
1209 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_GetBrightness(void * jarg1) {
1212 Dali::Window *argp1 ;
1215 argp1 = (Dali::Window *)jarg1;
1217 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1223 result = (int)arg1.GetBrightness();
1224 } CALL_CATCH_EXCEPTION(0);
1231 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_WindowFocusSignalType_Empty(void * jarg1) {
1232 unsigned int jresult ;
1233 Dali::Signal< void (Dali::Window, bool) > *arg1 = (Dali::Signal< void (Dali::Window, bool) > *) 0 ;
1236 arg1 = (Dali::Signal< void (Dali::Window, bool) > *)jarg1;
1239 result = (bool)Dali_Signal_Sl_void_Sp_bool_SP__Sg__Empty((Dali::Signal< void (Dali::Window, bool) > const *)arg1);
1240 } CALL_CATCH_EXCEPTION(0);
1248 SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_WindowFocusSignalType_GetConnectionCount(void * jarg1) {
1249 unsigned long jresult ;
1250 Dali::Signal< void (Dali::Window, bool) > *arg1 = (Dali::Signal< void (Dali::Window, bool) > *) 0 ;
1253 arg1 = (Dali::Signal< void (Dali::Window, bool) > *)jarg1;
1256 result = Dali_Signal_Sl_void_Sp_bool_SP__Sg__GetConnectionCount((Dali::Signal< void (Dali::Window, bool) > const *)arg1);
1257 } CALL_CATCH_EXCEPTION(0);
1260 jresult = (unsigned long)result;
1265 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WindowFocusSignalType_Connect(void * jarg1, void * jarg2) {
1266 Dali::Signal< void (Dali::Window, bool) > *arg1 = (Dali::Signal< void (Dali::Window, bool) > *) 0 ;
1267 void (*arg2)(Dali::Window, bool) = (void (*)(Dali::Window, bool)) 0 ;
1269 arg1 = (Dali::Signal< void (Dali::Window, bool) > *)jarg1;
1270 arg2 = (void (*)(Dali::Window, bool))jarg2;
1273 Dali_Signal_Sl_void_Sp_bool_SP__Sg__Connect(arg1,arg2);
1274 } CALL_CATCH_EXCEPTION();
1280 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WindowFocusSignalType_Disconnect(void * jarg1, void * jarg2) {
1281 Dali::Signal< void (Dali::Window, bool) > *arg1 = (Dali::Signal< void (Dali::Window, bool) > *) 0 ;
1282 void (*arg2)(Dali::Window, bool) = (void (*)(Dali::Window, bool)) 0 ;
1284 arg1 = (Dali::Signal< void (Dali::Window, bool) > *)jarg1;
1285 arg2 = (void (*)(Dali::Window, bool))jarg2;
1288 Dali_Signal_Sl_void_Sp_bool_SP__Sg__Disconnect(arg1,arg2);
1289 } CALL_CATCH_EXCEPTION();
1295 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WindowFocusSignalType_Emit(void * jarg1, void* jarg2, unsigned int jarg3) {
1296 Dali::Signal< void (Dali::Window, bool) > *arg1 = (Dali::Signal< void (Dali::Window, bool) > *)jarg1;
1297 Dali::Window* arg2 = (Dali::Window*)jarg2;
1298 bool arg3 = jarg3 ? true : false;;
1300 if (arg1 == nullptr || arg2 == nullptr) {
1301 DALI_LOG_ERROR("[ERR] arg1 == nullptr or arg2 == nullptr");
1307 Dali_Signal_Sl_void_Sp_bool_SP__Sg__Emit(arg1,*arg2,arg3);
1308 } CALL_CATCH_EXCEPTION();
1314 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_WindowFocusSignalType() {
1316 Dali::Signal< void (Dali::Window, bool) > *result = 0 ;
1320 result = (Dali::Signal< void (Dali::Window, bool) > *)new Dali::Signal< void (Dali::Window, bool) >();
1321 } CALL_CATCH_EXCEPTION(0);
1324 jresult = (void *)result;
1329 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_WindowFocusSignalType(void * jarg1) {
1330 Dali::Signal< void (Dali::Window, bool) > *arg1 = (Dali::Signal< void (Dali::Window, bool) > *) 0 ;
1332 arg1 = (Dali::Signal< void (Dali::Window, bool) > *)jarg1;
1336 } CALL_CATCH_EXCEPTION();
1343 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_ResizeSignal(void * jarg1) {
1346 Dali::Window *argp1 ;
1347 Dali::Window::ResizeSignalType *result = 0 ;
1349 argp1 = (Dali::Window *)jarg1;
1351 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1357 result = (Dali::Window::ResizeSignalType *) &arg1.ResizeSignal();
1358 } CALL_CATCH_EXCEPTION(0);
1361 jresult = (void *)result;
1365 /*ResizedSignal binding*/
1366 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_ResizeSignal_Empty(void * jarg1) {
1367 unsigned int jresult ;
1368 Dali::Signal< void (Dali::Window, Dali::Window::WindowSize) > *arg1 = (Dali::Signal< void (Dali::Window, Dali::Window::WindowSize) > *) 0 ;
1371 arg1 = (Dali::Signal< void (Dali::Window, Dali::Window::WindowSize) > *)jarg1;
1374 result = (bool)Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__Empty((Dali::Signal< void (Dali::Window, Dali::Window::WindowSize) > const *)arg1);
1375 } CALL_CATCH_EXCEPTION(0);
1383 SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_ResizeSignal_GetConnectionCount(void * jarg1) {
1384 unsigned long jresult ;
1385 Dali::Signal< void (Dali::Window, Dali::Window::WindowSize) > *arg1 = (Dali::Signal< void (Dali::Window, Dali::Window::WindowSize) > *) 0 ;
1388 arg1 = (Dali::Signal< void (Dali::Window, Dali::Window::WindowSize) > *)jarg1;
1391 result = Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__GetConnectionCount((Dali::Signal< void (Dali::Window, Dali::Window::WindowSize) > const *)arg1);
1392 } CALL_CATCH_EXCEPTION(0);
1395 jresult = (unsigned long)result;
1400 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ResizeSignal_Connect(void * jarg1, void * jarg2) {
1401 Dali::Signal< void (Dali::Window, Dali::Window::WindowSize) > *arg1 = (Dali::Signal< void (Dali::Window, Dali::Window::WindowSize) > *) 0 ;
1402 void (*arg2)(Dali::Window, Dali::Window::WindowSize) = (void (*)(Dali::Window, Dali::Window::WindowSize)) 0 ;
1404 arg1 = (Dali::Signal< void (Dali::Window, Dali::Window::WindowSize) > *)jarg1;
1405 arg2 = (void (*)(Dali::Window, Dali::Window::WindowSize))jarg2;
1408 Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__Connect(arg1,arg2);
1409 } CALL_CATCH_EXCEPTION();
1415 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ResizeSignal_Disconnect(void * jarg1, void * jarg2) {
1416 Dali::Signal< void (Dali::Window, Dali::Window::WindowSize) > *arg1 = (Dali::Signal< void (Dali::Window, Dali::Window::WindowSize) > *) 0 ;
1417 void (*arg2)(Dali::Window, Dali::Window::WindowSize) = (void (*)(Dali::Window, Dali::Window::WindowSize)) 0 ;
1419 arg1 = (Dali::Signal< void (Dali::Window, Dali::Window::WindowSize) > *)jarg1;
1420 arg2 = (void (*)(Dali::Window, Dali::Window::WindowSize))jarg2;
1423 Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__Disconnect(arg1,arg2);
1424 } CALL_CATCH_EXCEPTION();
1430 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ResizeSignal_Emit(void * jarg1, void* jarg2, void * jarg3) {
1431 Dali::Signal< void (Dali::Window, Dali::Window::WindowSize) > *arg1 = (Dali::Signal< void (Dali::Window, Dali::Window::WindowSize) > *) 0 ;
1432 Dali::Window* arg2 = (Dali::Window*)jarg2;
1433 Dali::Window::WindowSize arg3 ;
1434 Dali::Window::WindowSize *argp3 ;
1436 arg1 = (Dali::Signal< void (Dali::Window, Dali::Window::WindowSize) > *)jarg1;
1437 if (arg1 == nullptr || arg2 == nullptr) {
1438 DALI_LOG_ERROR("[ERR] arg1 == nullptr or arg2 == nullptr");
1442 argp3 = (Dali::Window::WindowSize *)jarg3;
1444 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window::WindowSize", 0);
1450 Dali_Signal_Sl_void_Sp_Dali_Window_WindowSize_SP__Sg__Emit(arg1,*arg2,arg3);
1451 } CALL_CATCH_EXCEPTION();
1457 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_ResizeSignal() {
1459 Dali::Signal< void (Dali::Window, Dali::Window::WindowSize) > *result = 0 ;
1463 result = (Dali::Signal< void (Dali::Window, Dali::Window::WindowSize) > *)new Dali::Signal< void (Dali::Window, Dali::Window::WindowSize) >();
1464 } CALL_CATCH_EXCEPTION(0);
1467 jresult = (void *)result;
1472 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_ResizeSignal(void * jarg1) {
1473 Dali::Signal< void (Dali::Window, Dali::Window::WindowSize) > *arg1 = (Dali::Signal< void (Dali::Window, Dali::Window::WindowSize) > *) 0 ;
1475 arg1 = (Dali::Signal< void (Dali::Window, Dali::Window::WindowSize) > *)jarg1;
1479 } CALL_CATCH_EXCEPTION();
1484 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetSize(void * jarg1, void * jarg2) {
1486 Dali::Window::WindowSize arg2 ;
1487 Dali::Window *argp1 ;
1488 Dali::Window::WindowSize *argp2 ;
1490 argp1 = (Dali::Window *)jarg1;
1492 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1496 argp2 = (Dali::Window::WindowSize *)jarg2;
1498 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window::WindowSize", 0);
1505 } CALL_CATCH_EXCEPTION();
1511 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_GetSize(void * jarg1) {
1514 Dali::Window *argp1 ;
1515 Dali::Window::WindowSize result;
1517 argp1 = (Dali::Window *)jarg1;
1519 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1525 result = arg1.GetSize();
1526 } CALL_CATCH_EXCEPTION(0);
1529 jresult = new Dali::Window::WindowSize((const Dali::Window::WindowSize &)result);
1534 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetPosition(void * handle, void * position) {
1535 Dali::Window *pWindow;
1536 Dali::Window window;
1537 Dali::Window::WindowPosition *pPosition;
1538 Dali::Window::WindowPosition windowPosition;
1540 pWindow = (Dali::Window *)handle;
1542 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1547 pPosition = (Dali::Window::WindowPosition *)position;
1549 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::WindowPosition", 0);
1552 windowPosition = *pPosition;
1556 window.SetPosition(windowPosition);
1557 } CALL_CATCH_EXCEPTION();
1563 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_GetPosition(void * handle) {
1564 Dali::Window *pWindow ;
1565 Dali::Window window ;
1566 Dali::Window::WindowPosition windowPosition;
1567 Dali::Window::WindowPosition result;
1570 pWindow = (Dali::Window *)handle;
1572 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1578 windowPosition = window.GetPosition();
1579 } CALL_CATCH_EXCEPTION(0);
1582 jresult = new Dali::Window::WindowPosition((const Dali::Window::WindowPosition &)windowPosition);
1586 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetPositionSize(void* jarg1, void* jarg2)
1588 Dali::Window* window = (Dali::Window*)jarg1;
1590 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1594 Dali::Rect<int>* positionSize = (Dali::Rect<int>*)jarg2;
1595 if (!positionSize) {
1596 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Rect< int > const & type is null", 0);
1601 Dali::DevelWindow::SetPositionSize(*window, *positionSize);
1602 } CALL_CATCH_EXCEPTION();
1607 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetLayout(void* handle, unsigned int numCols, unsigned int numRows, unsigned int column, unsigned int row, unsigned int colSpan, unsigned int rowSpan)
1609 Dali::Window *pWindow;
1610 Dali::Window window;
1612 pWindow = (Dali::Window *)handle;
1614 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1621 window.SetLayout(numCols, numRows, column, row, colSpan, rowSpan);
1622 } CALL_CATCH_EXCEPTION();
1626 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetTransparency(void * jarg1, unsigned int jarg2) {
1629 Dali::Window *argp1 ;
1631 argp1 = (Dali::Window *)jarg1;
1633 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1637 arg2 = jarg2 ? true : false;
1640 arg1.SetTransparency(arg2);
1641 } CALL_CATCH_EXCEPTION();
1645 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_FeedKey_Default_Window(void * event) {
1646 Dali::KeyEvent *keyEvent = 0 ;
1648 keyEvent = (Dali::KeyEvent *)event;
1650 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::KeyEvent & type is null", 0);
1655 Dali::Adaptor::Get().FeedKeyEvent(*keyEvent);
1656 } CALL_CATCH_EXCEPTION();
1660 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_FeedKey(void * window, void * event) {
1661 Dali::Window* win = (Dali::Window*)window;
1663 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1667 Dali::KeyEvent *keyEvent = 0 ;
1668 keyEvent = (Dali::KeyEvent *)event;
1670 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::KeyEvent & type is null", 0);
1675 Dali::DevelWindow::FeedKeyEvent(*win, *keyEvent);
1676 } CALL_CATCH_EXCEPTION();
1680 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_FeedTouch(void * window, void * event, int timeStamp) {
1681 Dali::Window* win = (Dali::Window*)window;
1683 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1687 Dali::TouchPoint *touchPoint = 0 ;
1688 touchPoint = (Dali::TouchPoint *)event;
1690 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::TouchPoint & type is null", 0);
1695 Dali::DevelWindow::FeedTouchPoint(*win, *touchPoint, timeStamp);
1696 } CALL_CATCH_EXCEPTION();
1700 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_FeedWheel(void * window, void * event) {
1701 Dali::Window* win = (Dali::Window*)window;
1703 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1707 Dali::WheelEvent *wheelEvent = 0 ;
1708 wheelEvent = (Dali::WheelEvent *)event;
1710 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::WheelEvent & type is null", 0);
1715 Dali::DevelWindow::FeedWheelEvent(*win, *wheelEvent);
1716 } CALL_CATCH_EXCEPTION();
1720 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Adaptor_RenderOnce(void * /* jarg1 */) {
1722 Dali::Adaptor::Get().RenderOnce();
1723 } CALL_CATCH_EXCEPTION();
1726 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Add(void * jarg1, void * jarg2) {
1727 Dali::Window *arg1 = (Dali::Window *) 0 ;
1729 Dali::Actor *argp2 ;
1731 arg1 = (Dali::Window *)jarg1;
1732 argp2 = (Dali::Actor *)jarg2;
1734 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Actor", 0);
1741 } CALL_CATCH_EXCEPTION();
1745 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Remove(void * jarg1, void * jarg2) {
1746 Dali::Window *arg1 = (Dali::Window *) 0 ;
1747 Dali::Actor *arg2 = 0 ;
1749 arg1 = (Dali::Window *)jarg1;
1750 arg2 = (Dali::Actor *)jarg2;
1752 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Actor & type is null", 0);
1757 (arg1)->Remove(*arg2);
1758 } CALL_CATCH_EXCEPTION();
1762 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetBackgroundColor(void * jarg1, void * jarg2) {
1763 Dali::Window *arg1 = (Dali::Window *) 0 ;
1764 Dali::Vector4 arg2 ;
1765 Dali::Vector4 *argp2 ;
1767 arg1 = (Dali::Window *)jarg1;
1768 argp2 = (Dali::Vector4 *)jarg2;
1770 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Vector4", 0);
1776 (arg1)->SetBackgroundColor(arg2);
1777 } CALL_CATCH_EXCEPTION();
1781 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_GetBackgroundColor(void * jarg1) {
1783 Dali::Window *arg1 = (Dali::Window *) 0 ;
1784 Dali::Vector4 result;
1786 arg1 = (Dali::Window *)jarg1;
1789 result = ((Dali::Window const *)arg1)->GetBackgroundColor();
1790 } CALL_CATCH_EXCEPTION(0);
1793 jresult = new Dali::Vector4((const Dali::Vector4 &)result);
1797 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_GetRootLayer(void * csWindow) {
1799 Dali::Window *window = (Dali::Window *) 0 ;
1802 window = (Dali::Window *)csWindow;
1805 result = ((Dali::Window const *)window)->GetRootLayer();
1806 } CALL_CATCH_EXCEPTION(0);
1809 jresult = new Dali::Layer((const Dali::Layer &)result);
1813 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_GetOverlayLayer(void * csWindow) {
1815 Dali::Window *window = (Dali::Window *) 0 ;
1818 window = (Dali::Window *)csWindow;
1821 result = ((Dali::Window *)window)->GetOverlayLayer();
1822 } CALL_CATCH_EXCEPTION(0);
1825 jresult = new Dali::Layer((const Dali::Layer &)result);
1830 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_KeyEventSignal(void * jarg1) {
1832 Dali::Window *arg1 = (Dali::Window *) 0 ;
1833 Dali::Window::KeyEventSignalType *result = 0 ;
1835 arg1 = (Dali::Window *)jarg1;
1838 result = (Dali::Window::KeyEventSignalType *) &(arg1->KeyEventSignal());
1839 } CALL_CATCH_EXCEPTION(0);
1842 jresult = (void *)result;
1846 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_InterceptKeyEventSignal(void * winHandle) {
1848 Dali::Window *window = (Dali::Window *) 0 ;
1849 Dali::DevelWindow::InterceptKeyEventSignalType *result = 0 ;
1851 window = (Dali::Window *)winHandle;
1853 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1858 result = (Dali::DevelWindow::InterceptKeyEventSignalType *) &(Dali::DevelWindow::InterceptKeyEventSignal(*window));
1859 } CALL_CATCH_EXCEPTION(0);
1862 jresult = (void *)result;
1866 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_TouchSignal(void * jarg1) {
1868 Dali::Window *arg1 = (Dali::Window *) 0 ;
1869 Dali::Window::TouchEventSignalType *result = 0 ;
1871 arg1 = (Dali::Window *)jarg1;
1874 result = (Dali::Window::TouchEventSignalType *) &(arg1->TouchedSignal());
1875 } CALL_CATCH_EXCEPTION(0);
1878 jresult = (void *)result;
1882 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetParent(void* child, void* parent)
1884 Dali::Window* childWindow = (Dali::Window*)child;
1886 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1890 Dali::Window* parentWindow = (Dali::Window*)parent;
1891 if (!parentWindow) {
1892 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1897 Dali::DevelWindow::SetParent(*childWindow, *parentWindow);
1898 } CALL_CATCH_EXCEPTION();
1903 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetParent_With_Stack(void* child, void* parent, bool belowParent)
1905 Dali::Window* childWindow = (Dali::Window*)child;
1907 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1911 Dali::Window* parentWindow = (Dali::Window*)parent;
1912 if (!parentWindow) {
1913 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1918 Dali::DevelWindow::SetParent(*childWindow, *parentWindow, belowParent);
1919 } CALL_CATCH_EXCEPTION();
1924 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Unparent(void* jarg1)
1926 Dali::Window* window = (Dali::Window*)jarg1;
1928 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1933 Dali::DevelWindow::Unparent(*window);
1934 } CALL_CATCH_EXCEPTION();
1939 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_GetParent(void* jarg1)
1942 Dali::Window* window = (Dali::Window*)jarg1;
1943 Dali::Window result;
1945 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
1950 result = Dali::DevelWindow::GetParent(*window);
1951 } CALL_CATCH_EXCEPTION(0);
1953 jresult = new Dali::Window((const Dali::Window &)result);
1957 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_GetWindow(void * jarg1) {
1959 Dali::Window result;
1963 result = Dali::DevelWindow::Get(*(Dali::Actor*)jarg1);
1964 } CALL_CATCH_EXCEPTION(0);
1966 jresult = new Dali::Window((const Dali::Window &)result);
1970 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_Transition_Effect_EventSignal(void * jarg1) {
1972 Dali::Window *arg1 = (Dali::Window *) 0 ;
1973 Dali::DevelWindow::TransitionEffectEventSignalType *result = 0 ;
1975 arg1 = (Dali::Window *)jarg1;
1978 result = (Dali::DevelWindow::TransitionEffectEventSignalType *) &(Dali::DevelWindow::TransitionEffectEventSignal(*arg1));
1979 } CALL_CATCH_EXCEPTION(0);
1982 jresult = (void *)result;
1986 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_Window_Transition_Effect_Event_Signal_Empty(void * jarg1) {
1987 unsigned int jresult ;
1988 Dali::Signal< void (Dali::Window, Dali::WindowEffectState, Dali::WindowEffectType) > *arg1 = (Dali::Signal< void (Dali::Window, Dali::WindowEffectState, Dali::WindowEffectType) > *) 0 ;
1991 arg1 = (Dali::Signal< void (Dali::Window, Dali::WindowEffectState, Dali::WindowEffectType) > *)jarg1;
1994 result = (bool)Dali_Signal_Window_Transition_Effect_Event_Signal_Empty((Dali::Signal< void (Dali::Window, Dali::WindowEffectState, Dali::WindowEffectType) > const *)arg1);
1995 } CALL_CATCH_EXCEPTION(0);
2003 SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_Window_Transition_Effect_Event_Signal_GetConnectionCount(void * jarg1) {
2004 unsigned long jresult ;
2005 Dali::Signal< void (Dali::Window, Dali::WindowEffectState, Dali::WindowEffectType) > *arg1 = (Dali::Signal< void (Dali::Window, Dali::WindowEffectState, Dali::WindowEffectType) > *) 0 ;
2008 arg1 = (Dali::Signal< void (Dali::Window, Dali::WindowEffectState, Dali::WindowEffectType) > *)jarg1;
2011 result = Dali_Signal_Window_Transition_Effect_Event_Signal_GetConnectionCount((Dali::Signal< void (Dali::Window, Dali::WindowEffectState, Dali::WindowEffectType) > const *)arg1);
2012 } CALL_CATCH_EXCEPTION(0);
2015 jresult = (unsigned long)result;
2020 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Transition_Effect_Event_Signal_Connect(void * jarg1, void * jarg2) {
2021 Dali::Signal< void (Dali::Window, Dali::WindowEffectState, Dali::WindowEffectType) > *arg1 = (Dali::Signal< void (Dali::Window, Dali::WindowEffectState, Dali::WindowEffectType) > *) 0 ;
2022 void (*arg2)(Dali::Window, Dali::WindowEffectState, Dali::WindowEffectType) = (void (*)(Dali::Window, Dali::WindowEffectState, Dali::WindowEffectType)) 0 ;
2024 arg1 = (Dali::Signal< void (Dali::Window, Dali::WindowEffectState, Dali::WindowEffectType) > *)jarg1;
2025 arg2 = (void (*)(Dali::Window, Dali::WindowEffectState, Dali::WindowEffectType))jarg2;
2028 //DALI_LOG_ERROR("CSharp_Dali_Window_Transition_Effect_Event_Signal_Connect(arg1=0x%x, arg2=0x%x) \n", arg1, arg2);
2029 Dali_Signal_Window_Transition_Effect_Event_Signal_Connect(arg1,arg2);
2030 } CALL_CATCH_EXCEPTION();
2036 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Transition_Effect_Event_Signal_Disconnect(void * jarg1, void * jarg2) {
2037 Dali::Signal< void (Dali::Window, Dali::WindowEffectState, Dali::WindowEffectType) > *arg1 = (Dali::Signal< void (Dali::Window, Dali::WindowEffectState, Dali::WindowEffectType) > *) 0 ;
2038 void (*arg2)(Dali::Window, Dali::WindowEffectState, Dali::WindowEffectType) = (void (*)(Dali::Window, Dali::WindowEffectState, Dali::WindowEffectType)) 0 ;
2040 arg1 = (Dali::Signal< void (Dali::Window, Dali::WindowEffectState, Dali::WindowEffectType) > *)jarg1;
2041 arg2 = (void (*)(Dali::Window, Dali::WindowEffectState, Dali::WindowEffectType))jarg2;
2044 Dali_Signal_Window_Transition_Effect_Event_Signal_Disconnect(arg1,arg2);
2045 } CALL_CATCH_EXCEPTION();
2051 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Transition_Effect_Event_Signal_Emit(void * jarg1, void * jarg2, int jarg3, int jarg4) {
2052 Dali::Signal< void (Dali::Window, Dali::WindowEffectState, Dali::WindowEffectType) > *arg1 = (Dali::Signal< void (Dali::Window, Dali::WindowEffectState, Dali::WindowEffectType) > *) 0 ;
2054 Dali::Window *argp2 ;
2056 arg1 = (Dali::Signal< void (Dali::Window, Dali::WindowEffectState, Dali::WindowEffectType) > *)jarg1;
2057 argp2 = (Dali::Window *)jarg2;
2059 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2065 Dali_Signal_Window_Transition_Effect_Event_Signal_Emit(arg1,arg2, (Dali::WindowEffectState)jarg3, (Dali::WindowEffectType)jarg4);
2066 } CALL_CATCH_EXCEPTION();
2072 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_Transition_Effect_Event_Signal_new() {
2074 Dali::Signal< void (Dali::Window, Dali::WindowEffectState, Dali::WindowEffectType) > *result = 0 ;
2078 result = (Dali::Signal< void (Dali::Window, Dali::WindowEffectState, Dali::WindowEffectType) > *)new Dali::Signal< void (Dali::Window, Dali::WindowEffectState, Dali::WindowEffectType) >();
2079 } CALL_CATCH_EXCEPTION(0);
2082 jresult = (void *)result;
2087 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Transition_Effect_Event_Signal_delete(void * jarg1) {
2088 Dali::Signal< void (Dali::Window, Dali::WindowEffectState, Dali::WindowEffectType) > *arg1 = (Dali::Signal< void (Dali::Window, Dali::WindowEffectState, Dali::WindowEffectType) > *) 0 ;
2090 arg1 = (Dali::Signal< void (Dali::Window, Dali::WindowEffectState, Dali::WindowEffectType) > *)jarg1;
2094 } CALL_CATCH_EXCEPTION();
2100 ////////////////////////////////////////////////////////////////////
2101 /// Auxiliary Message event
2103 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_Auxiliary_Message_Signal(void * jarg1) {
2105 Dali::Window *window = (Dali::Window *) 0 ;
2106 Dali::DevelWindow::AuxiliaryMessageSignalType *result = 0 ;
2108 window = (Dali::Window *)jarg1;
2111 result = (Dali::DevelWindow::AuxiliaryMessageSignalType *) &(Dali::DevelWindow::AuxiliaryMessageSignal(*window));
2112 } CALL_CATCH_EXCEPTION(0);
2115 jresult = (void *)result;
2119 SWIGEXPORT bool SWIGSTDCALL CSharp_Dali_Window_Auxiliary_Message_Signal_Empty(void * jarg1) {
2121 Dali::DevelWindow::AuxiliaryMessageSignalType* arg1 = (Dali::DevelWindow::AuxiliaryMessageSignalType*) jarg1;
2123 if (arg1 == nullptr) {
2124 DALI_LOG_ERROR("[ERR] arg1 == nullptr");
2130 result = arg1->Empty();
2132 CALL_CATCH_EXCEPTION(false);
2138 SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_Window_Auxiliary_Message_Signal_GetConnectionCount(void * jarg1) {
2139 unsigned int result;
2140 Dali::DevelWindow::AuxiliaryMessageSignalType* arg1 = (Dali::DevelWindow::AuxiliaryMessageSignalType *) jarg1;
2142 if (arg1 == nullptr) {
2143 DALI_LOG_ERROR("[ERR] arg1 == nullptr");
2149 result = arg1->GetConnectionCount();
2151 CALL_CATCH_EXCEPTION(0);
2157 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Auxiliary_Message_Signal_Connect(void * jarg1, void * jarg2) {
2158 Dali::DevelWindow::AuxiliaryMessageSignalType* arg1 = (Dali::DevelWindow::AuxiliaryMessageSignalType *)jarg1;
2159 void (*arg2)(const std::string&, const std::string&, const Dali::Property::Array&) = ( void (*)(const std::string&, const std::string&, const Dali::Property::Array&) )jarg2;
2161 if (arg1 == nullptr) {
2162 DALI_LOG_ERROR("[ERR] arg1 == nullptr");
2168 arg1->Connect(arg2);
2170 CALL_CATCH_EXCEPTION();
2176 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Auxiliary_Message_Signal_Disconnect(void * jarg1, void * jarg2) {
2177 Dali::DevelWindow::AuxiliaryMessageSignalType* arg1 = (Dali::DevelWindow::AuxiliaryMessageSignalType *)jarg1;
2178 void (*arg2)(const std::string&, const std::string&, const Dali::Property::Array&) = ( void (*)(const std::string&, const std::string&, const Dali::Property::Array&) )jarg2;
2180 if (arg1 == nullptr) {
2181 DALI_LOG_ERROR("[ERR] arg1 == nullptr");
2187 arg1->Disconnect(arg2);
2189 CALL_CATCH_EXCEPTION();
2195 // Keyboard Repeat Settings Changed
2196 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_Keyboard_Repeat_Settings_ChangedSignal(void * jarg1) {
2198 Dali::Window *arg1 = (Dali::Window *) 0 ;
2199 Dali::DevelWindow::KeyboardRepeatSettingsChangedSignalType *result = 0 ;
2201 arg1 = (Dali::Window *)jarg1;
2204 result = (Dali::DevelWindow::KeyboardRepeatSettingsChangedSignalType *) &(Dali::DevelWindow::KeyboardRepeatSettingsChangedSignal(*arg1));
2205 } CALL_CATCH_EXCEPTION(0);
2208 jresult = (void *)result;
2212 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_Window_Keyboard_Repeat_Settings_Changed_Signal_Empty(void * jarg1) {
2213 unsigned int jresult ;
2214 Dali::DevelWindow::KeyboardRepeatSettingsChangedSignalType *arg1 = (Dali::DevelWindow::KeyboardRepeatSettingsChangedSignalType*)jarg1;
2215 if (arg1 == nullptr) {
2216 DALI_LOG_ERROR("[ERR] arg1 == nullptr");
2223 result = (bool)((Dali::DevelWindow::KeyboardRepeatSettingsChangedSignalType const *)arg1)->Empty();
2224 } CALL_CATCH_EXCEPTION(0);
2231 SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_Window_Keyboard_Repeat_Settings_Changed_Signal_GetConnectionCount(void * jarg1) {
2232 unsigned long jresult ;
2233 Dali::DevelWindow::KeyboardRepeatSettingsChangedSignalType *arg1 = (Dali::DevelWindow::KeyboardRepeatSettingsChangedSignalType *)jarg1;
2234 if (arg1 == nullptr) {
2235 DALI_LOG_ERROR("[ERR] arg1 == nullptr");
2242 result = ((Dali::DevelWindow::KeyboardRepeatSettingsChangedSignalType const *)arg1)->GetConnectionCount();
2243 } CALL_CATCH_EXCEPTION(0);
2246 jresult = (unsigned long)result;
2250 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Keyboard_Repeat_Settings_Changed_Signal_Connect(void * jarg1, void * jarg2) {
2251 Dali::DevelWindow::KeyboardRepeatSettingsChangedSignalType *arg1 = (Dali::DevelWindow::KeyboardRepeatSettingsChangedSignalType *)jarg1;
2252 void (*arg2)() = (void (*)())jarg2;
2254 if (arg1 == nullptr) {
2255 DALI_LOG_ERROR("[ERR] arg1 == nullptr");
2261 (arg1)->Connect(arg2);
2262 } CALL_CATCH_EXCEPTION();
2267 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Keyboard_Repeat_Settings_Changed_Signal_Disconnect(void * jarg1, void * jarg2) {
2268 Dali::DevelWindow::KeyboardRepeatSettingsChangedSignalType *arg1 = (Dali::DevelWindow::KeyboardRepeatSettingsChangedSignalType *)jarg1;
2269 void (*arg2)() = (void (*)())jarg2;
2271 if (arg1 == nullptr) {
2272 DALI_LOG_ERROR("[ERR] arg1 == nullptr");
2278 (arg1)->Disconnect(arg2);
2279 } CALL_CATCH_EXCEPTION();
2284 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Keyboard_Repeat_Settings_Changed_Signal_Emit(void * jarg1) {
2285 Dali::DevelWindow::KeyboardRepeatSettingsChangedSignalType *arg1 = (Dali::DevelWindow::KeyboardRepeatSettingsChangedSignalType *)jarg1;
2287 if (arg1 == nullptr) {
2288 DALI_LOG_ERROR("[ERR] arg1 == nullptr");
2295 } CALL_CATCH_EXCEPTION();
2300 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_Keyboard_Repeat_Settings_Changed_Signal_new() {
2302 Dali::DevelWindow::KeyboardRepeatSettingsChangedSignalType *result = 0;
2306 result = (Dali::DevelWindow::KeyboardRepeatSettingsChangedSignalType *)new Dali::DevelWindow::KeyboardRepeatSettingsChangedSignalType();
2307 } CALL_CATCH_EXCEPTION(0);
2310 jresult = (void *)result;
2314 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Keyboard_Repeat_Settings_Changed_Signal_delete(void * jarg1) {
2315 Dali::DevelWindow::KeyboardRepeatSettingsChangedSignalType *arg1 = (Dali::DevelWindow::KeyboardRepeatSettingsChangedSignalType*) 0;
2317 arg1 = (Dali::DevelWindow::KeyboardRepeatSettingsChangedSignalType *)jarg1;
2321 } CALL_CATCH_EXCEPTION();
2327 SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_Window_Visibility_Changed_Signal(void* jarg1) {
2328 Dali::Window* arg1 = (Dali::Window*) jarg1;
2329 Dali::DevelWindow::VisibilityChangedSignalType* result = 0;
2333 result = (Dali::DevelWindow::VisibilityChangedSignalType*) &( Dali::DevelWindow::VisibilityChangedSignal(*arg1) );
2335 CALL_CATCH_EXCEPTION(0);
2337 return (void*)result;
2340 SWIGEXPORT bool SWIGSTDCALL CSharp_Dali_Window_Visibility_Changed_Signal_Empty(void* jarg1) {
2342 Dali::DevelWindow::VisibilityChangedSignalType* arg1 = (Dali::DevelWindow::VisibilityChangedSignalType*) jarg1;
2344 if (arg1 == nullptr) {
2345 DALI_LOG_ERROR("[ERR] arg1 == nullptr");
2351 result = arg1->Empty();
2353 CALL_CATCH_EXCEPTION(false);
2359 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_Window_Visibility_Changed_Signal_GetConnectionCount(void* jarg1) {
2360 unsigned int result;
2361 Dali::DevelWindow::VisibilityChangedSignalType* arg1 = (Dali::DevelWindow::VisibilityChangedSignalType *) jarg1;
2363 if (arg1 == nullptr) {
2364 DALI_LOG_ERROR("[ERR] arg1 == nullptr");
2370 result = arg1->GetConnectionCount();
2372 CALL_CATCH_EXCEPTION(0);
2378 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Visibility_Changed_Signal_Connect(void* jarg1, void* jarg2) {
2379 Dali::DevelWindow::VisibilityChangedSignalType* arg1 = (Dali::DevelWindow::VisibilityChangedSignalType *)jarg1;
2380 void (*arg2)(Dali::Window, bool) = ( void (*)(Dali::Window, bool) )jarg2;
2382 if (arg1 == nullptr) {
2383 DALI_LOG_ERROR("[ERR] arg1 == nullptr");
2389 arg1->Connect(arg2);
2391 CALL_CATCH_EXCEPTION();
2397 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Visibility_Changed_Signal_Disconnect(void* jarg1, void* jarg2) {
2398 Dali::DevelWindow::VisibilityChangedSignalType* arg1 = (Dali::DevelWindow::VisibilityChangedSignalType*)jarg1;
2399 void (*arg2)(Dali::Window, bool) = (void (*)(Dali::Window, bool))jarg2;
2401 if (arg1 == nullptr) {
2402 DALI_LOG_ERROR("[ERR] arg1 == nullptr");
2408 arg1->Disconnect(arg2);
2410 CALL_CATCH_EXCEPTION();
2415 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Visibility_Changed_Signal_Emit(void* jarg1, void* jarg2, bool jarg3) {
2416 Dali::DevelWindow::VisibilityChangedSignalType* arg1 = (Dali::DevelWindow::VisibilityChangedSignalType*)jarg1;
2417 Dali::Window* arg2 = (Dali::Window*)jarg2;
2420 if (arg1 == nullptr || arg2 == nullptr) {
2421 DALI_LOG_ERROR("[ERR] arg1 == nullptr or arg2 == nullptr");
2427 arg1->Emit(*arg2, arg3);
2429 CALL_CATCH_EXCEPTION();
2434 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Visibility_Changed_Signal_delete(void* jarg1) {
2435 Dali::DevelWindow::VisibilityChangedSignalType* arg1 = (Dali::DevelWindow::VisibilityChangedSignalType*)jarg1;
2441 CALL_CATCH_EXCEPTION();
2446 SWIGEXPORT int32_t SWIGSTDCALL CSharp_Dali_Window_GetNativeId( void* jarg1 )
2448 Dali::Window* window = (Dali::Window*)jarg1;
2452 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2458 ret = Dali::DevelWindow::GetNativeId( *window );
2460 CALL_CATCH_EXCEPTION(ret);
2465 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_AddFrameRenderedCallback( void* nuiWindow, void* nuiCallback, int nuiFrameId )
2467 Dali::Window* window = (Dali::Window*)nuiWindow;
2468 void (*callback)(int32_t) = (void (*)(int32_t))nuiCallback;
2470 if( !window || !callback )
2472 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null", 0);
2478 Dali::DevelWindow::AddFrameRenderedCallback( *window, std::unique_ptr< Dali::CallbackBase >( Dali::MakeCallback( callback ) ), nuiFrameId );
2480 CALL_CATCH_EXCEPTION();
2483 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_AddFramePresentedCallback( void* nuiWindow, void* nuiCallback, int nuiFrameId )
2485 Dali::Window* window = (Dali::Window*)nuiWindow;
2486 void (*callback)(int32_t) = (void (*)(int32_t))nuiCallback;
2488 if( !window || !callback )
2490 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null", 0);
2496 Dali::DevelWindow::AddFramePresentedCallback( *window, std::unique_ptr< Dali::CallbackBase >( Dali::MakeCallback( callback ) ), nuiFrameId );
2498 CALL_CATCH_EXCEPTION();
2501 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetPositionSizeWithOrientation(void* jarg1, void* jarg2, int jarg3)
2503 Dali::Window* window = (Dali::Window*)jarg1;
2505 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2509 Dali::Rect<int>* positionSize = (Dali::Rect<int>*)jarg2;
2510 if (!positionSize) {
2511 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Rect< int > const & type is null", 0);
2515 Dali::WindowOrientation orientation = (Dali::WindowOrientation)jarg3;
2518 Dali::DevelWindow::SetPositionSizeWithOrientation(*window, *positionSize, orientation);
2519 } CALL_CATCH_EXCEPTION();
2524 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_RequestMoveToServer(void* jarg1)
2526 Dali::Window* window = (Dali::Window*)jarg1;
2528 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2534 Dali::DevelWindow::RequestMoveToServer(*window);
2535 } CALL_CATCH_EXCEPTION();
2540 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_RequestResizeToServer(void* jarg1, int jarg2)
2542 Dali::Window* window = (Dali::Window*)jarg1;
2544 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2548 Dali::WindowResizeDirection direction = (Dali::WindowResizeDirection)jarg2;
2552 Dali::DevelWindow::RequestResizeToServer(*window, direction);
2553 } CALL_CATCH_EXCEPTION();
2558 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_EnableFloatingMode(void* jarg1, bool jarg2)
2560 Dali::Window* window = (Dali::Window*)jarg1;
2562 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2566 bool enable = jarg2;
2569 Dali::DevelWindow::EnableFloatingMode(*window, enable);
2570 } CALL_CATCH_EXCEPTION();
2575 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_IncludeInputRegion(void* winHandle, void* region)
2577 Dali::Window* window = (Dali::Window*)winHandle;
2578 Dali::Rect<int> *addedRegion = (Dali::Rect<int> *)region;
2580 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2585 Dali::DevelWindow::IncludeInputRegion(*window, *addedRegion);
2586 } CALL_CATCH_EXCEPTION();
2591 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_ExcludeInputRegion(void* winHandle, void* region)
2593 Dali::Window* window = (Dali::Window*)winHandle;
2594 Dali::Rect<int> *subtractedRegion = (Dali::Rect<int> *)region;
2596 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2601 Dali::DevelWindow::ExcludeInputRegion(*window, *subtractedRegion);
2602 } CALL_CATCH_EXCEPTION();
2607 SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_Window_Accessibility_Highlight_Signal(void* winHandle) {
2608 Dali::Window* window = (Dali::Window*) winHandle;
2609 Dali::DevelWindow::AccessibilityHighlightSignalType* result = 0;
2613 result = (Dali::DevelWindow::AccessibilityHighlightSignalType*) &( Dali::DevelWindow::AccessibilityHighlightSignal(*window) );
2615 CALL_CATCH_EXCEPTION(0);
2617 return (void*)result;
2620 SWIGEXPORT bool SWIGSTDCALL CSharp_Dali_Window_Accessibility_Highlight_Signal_Empty(void* accessibilityHighlightSignalTypeHandle) {
2622 Dali::DevelWindow::AccessibilityHighlightSignalType* accessibilityHighlightSignalType = (Dali::DevelWindow::AccessibilityHighlightSignalType*) accessibilityHighlightSignalTypeHandle;
2624 if (accessibilityHighlightSignalType == nullptr) {
2625 DALI_LOG_ERROR("[ERR] accessibilityHighlightSignalType == nullptr");
2631 result = accessibilityHighlightSignalType->Empty();
2633 CALL_CATCH_EXCEPTION(false);
2638 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_Window_Accessibility_Highlight_Signal_GetConnectionCount(void* accessibilityHighlightSignalTypeHandle) {
2639 unsigned int result;
2640 Dali::DevelWindow::AccessibilityHighlightSignalType* accessibilityHighlightSignalType = (Dali::DevelWindow::AccessibilityHighlightSignalType *) accessibilityHighlightSignalTypeHandle;
2642 if (accessibilityHighlightSignalType == nullptr) {
2643 DALI_LOG_ERROR("[ERR] accessibilityHighlightSignalType == nullptr");
2649 result = accessibilityHighlightSignalType->GetConnectionCount();
2651 CALL_CATCH_EXCEPTION(0);
2656 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Accessibility_Highlight_Signal_Connect(void* accessibilityHighlightSignalTypeHandle, void* winHandle) {
2657 Dali::DevelWindow::AccessibilityHighlightSignalType* accessibilityHighlightSignalType = (Dali::DevelWindow::AccessibilityHighlightSignalType *)accessibilityHighlightSignalTypeHandle;
2658 void (*window)(Dali::Window, bool) = ( void (*)(Dali::Window, bool) )winHandle;
2660 if (accessibilityHighlightSignalType == nullptr) {
2661 DALI_LOG_ERROR("[ERR] accessibilityHighlightSignalType == nullptr");
2667 accessibilityHighlightSignalType->Connect(window);
2669 CALL_CATCH_EXCEPTION();
2674 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Accessibility_Highlight_Signal_Disconnect(void* accessibilityHighlightSignalTypeHandle, void* winHandle) {
2675 Dali::DevelWindow::AccessibilityHighlightSignalType* accessibilityHighlightSignalType = (Dali::DevelWindow::AccessibilityHighlightSignalType*)accessibilityHighlightSignalTypeHandle;
2676 void (*window)(Dali::Window, bool) = (void (*)(Dali::Window, bool))winHandle;
2678 if (accessibilityHighlightSignalType == nullptr) {
2679 DALI_LOG_ERROR("[ERR] accessibilityHighlightSignalType == nullptr");
2685 accessibilityHighlightSignalType->Disconnect(window);
2687 CALL_CATCH_EXCEPTION();
2692 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Accessibility_Highlight_Signal_delete(void* accessibilityHighlightSignalTypeHandle) {
2693 Dali::DevelWindow::AccessibilityHighlightSignalType* accessibilityHighlightSignalType = (Dali::DevelWindow::AccessibilityHighlightSignalType*)accessibilityHighlightSignalTypeHandle;
2697 delete accessibilityHighlightSignalType;
2699 CALL_CATCH_EXCEPTION();
2704 SWIGEXPORT bool SWIGSTDCALL CSharp_Dali_Window_IsWindowRotating(void* winHandle)
2706 Dali::Window* window = (Dali::Window*)winHandle;
2707 bool result = false;
2709 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2714 result = Dali::DevelWindow::IsWindowRotating(*window);
2715 } CALL_CATCH_EXCEPTION(false);
2721 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_GetLastKeyEvent(void* winHandle)
2723 Dali::Window* window = (Dali::Window*)winHandle;
2725 Dali::KeyEvent *result = 0;
2727 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2732 result = (Dali::KeyEvent *)&Dali::DevelWindow::GetLastKeyEvent(*window);
2733 } CALL_CATCH_EXCEPTION(0);
2735 jresult = (void *)result;
2739 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_GetLastTouchEvent(void* winHandle)
2741 Dali::Window* window = (Dali::Window*)winHandle;
2743 Dali::TouchEvent *result = 0;
2745 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2750 result = (Dali::TouchEvent *)&Dali::DevelWindow::GetLastTouchEvent(*window);
2751 } CALL_CATCH_EXCEPTION(0);
2753 jresult = (void *)result;
2757 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_InternalRetrievingLastKeyEvent(void* winHandle, void* keyHandle)
2759 Dali::Window* window = (Dali::Window*)winHandle;
2760 Dali::KeyEvent* keyEvent = (Dali::KeyEvent*)keyHandle;
2763 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2767 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::KeyEvent", 0);
2772 (*keyEvent) = *((Dali::KeyEvent *)&Dali::DevelWindow::GetLastKeyEvent(*window));
2773 } CALL_CATCH_EXCEPTION();
2777 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_InternalRetrievingLastTouchEvent(void* winHandle, void* touchHandle)
2779 Dali::Window* window = (Dali::Window*)winHandle;
2780 Dali::TouchEvent* touchEvent = (Dali::TouchEvent*)touchHandle;
2783 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2787 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::TouchEvent", 0);
2792 (*touchEvent) = *((Dali::TouchEvent *)&Dali::DevelWindow::GetLastTouchEvent(*window));
2793 } CALL_CATCH_EXCEPTION();
2797 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetNeedsRotationCompletedAcknowledgement(void* winHandle, bool needAcknowledgement)
2799 Dali::Window* window = (Dali::Window*)winHandle;
2801 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2806 Dali::DevelWindow::SetNeedsRotationCompletedAcknowledgement(*window, needAcknowledgement);
2807 } CALL_CATCH_EXCEPTION();
2811 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SendRotationCompletedAcknowledgement(void* winHandle)
2813 Dali::Window* window = (Dali::Window*)winHandle;
2815 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2820 Dali::DevelWindow::SendRotationCompletedAcknowledgement(*window);
2821 } CALL_CATCH_EXCEPTION();
2825 /* Moved signal binding */
2826 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_Moved_Signal(void* winHandle)
2829 Dali::Window window;
2831 Dali::DevelWindow::MovedSignalType* movedSignal;
2833 win = (Dali::Window *)winHandle;
2835 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2841 movedSignal = (Dali::DevelWindow::MovedSignalType *) &Dali::DevelWindow::MovedSignal(window);
2842 } CALL_CATCH_EXCEPTION(0);
2845 result = (void *)movedSignal;
2850 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_Moved_Signal_Empty(void * signal)
2852 unsigned int result;
2853 Dali::Signal< void (Dali::Window, Dali::Window::WindowPosition) > *movedSignal = (Dali::Signal< void (Dali::Window, Dali::Window::WindowPosition) > *) 0 ;
2856 movedSignal = (Dali::Signal< void (Dali::Window, Dali::Window::WindowPosition) > *)signal;
2859 flag = (bool)Dali_Signal_Window_Moved_Signal_Empty((Dali::Signal< void (Dali::Window, Dali::Window::WindowPosition) > const *)movedSignal);
2860 } CALL_CATCH_EXCEPTION(0);
2863 result = (unsigned int)flag;
2868 SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_Moved_Signal_GetConnectionCount(void * signal) {
2869 unsigned long result;
2870 Dali::Signal< void (Dali::Window, Dali::Window::WindowPosition) > *movedSignal = (Dali::Signal< void (Dali::Window, Dali::Window::WindowPosition) > *) 0 ;
2873 movedSignal = (Dali::Signal< void (Dali::Window, Dali::Window::WindowPosition) > *)signal;
2876 count = Dali_Signal_Window_Moved_Signal_GetConnectionCount((Dali::Signal< void (Dali::Window, Dali::Window::WindowPosition) > const *)movedSignal);
2877 } CALL_CATCH_EXCEPTION(0);
2880 result = (unsigned long)count;
2885 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Moved_Signal_Connect(void * signal, void * func) {
2886 Dali::Signal< void (Dali::Window, Dali::Window::WindowPosition) > *movedSignal = (Dali::Signal< void (Dali::Window, Dali::Window::WindowPosition) > *) 0 ;
2887 void (*functionPtr)(Dali::Window, Dali::Window::WindowPosition) = (void (*)(Dali::Window, Dali::Window::WindowPosition)) 0 ;
2889 movedSignal = (Dali::Signal< void (Dali::Window, Dali::Window::WindowPosition) > *)signal;
2890 functionPtr = (void (*)(Dali::Window, Dali::Window::WindowPosition))func;
2893 Dali_Signal_Window_Moved_Signal_Connect(movedSignal, functionPtr);
2894 } CALL_CATCH_EXCEPTION();
2900 SWIGEXPORT void SWIGSTDCALL CSharp_Moved_Signal_Disconnect(void * signal, void * func) {
2901 Dali::Signal< void (Dali::Window, Dali::Window::WindowPosition) > *movedSignal = (Dali::Signal< void (Dali::Window, Dali::Window::WindowPosition) > *) 0 ;
2902 void (*functionPtr)(Dali::Window, Dali::Window::WindowPosition) = (void (*)(Dali::Window, Dali::Window::WindowPosition)) 0 ;
2904 movedSignal = (Dali::Signal< void (Dali::Window, Dali::Window::WindowPosition) > *)signal;
2905 functionPtr = (void (*)(Dali::Window, Dali::Window::WindowPosition))func;
2908 Dali_Signal_Window_Moved_Signal_Disconnect(movedSignal, functionPtr);
2909 } CALL_CATCH_EXCEPTION();
2915 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Moved_Signal_Emit(void * signal, void* winHandle, void * position) {
2916 Dali::Signal< void (Dali::Window, Dali::Window::WindowPosition) > *movedSignal = (Dali::Signal< void (Dali::Window, Dali::Window::WindowPosition) > *) 0 ;
2917 Dali::Window* win = (Dali::Window*)winHandle;
2918 Dali::Window window;
2919 Dali::Window::WindowPosition windowPosition;
2920 Dali::Window::WindowPosition *pPosition;
2922 movedSignal = (Dali::Signal< void (Dali::Window, Dali::Window::WindowPosition) > *)signal;
2923 if (movedSignal == nullptr || window == nullptr) {
2924 DALI_LOG_ERROR("[ERR] movedSignal == nullptr or window == nullptr");
2928 pPosition = (Dali::Window::WindowPosition *)position;
2930 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Vector2", 0);
2934 windowPosition = *pPosition;
2937 Dali_Signal_Window_Moved_Signal_Emit(movedSignal, window, windowPosition);
2938 } CALL_CATCH_EXCEPTION();
2944 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_Moved_Signal() {
2946 Dali::Signal< void (Dali::Window, Dali::Window::WindowPosition) > *movedSignal = 0 ;
2950 movedSignal = (Dali::Signal< void (Dali::Window, Dali::Window::WindowPosition) > *)new Dali::Signal< void (Dali::Window, Dali::Window::WindowPosition) >();
2951 } CALL_CATCH_EXCEPTION(0);
2954 result = (void *)movedSignal;
2959 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_Moved_Signal(void * signal) {
2960 Dali::Signal< void (Dali::Window, Dali::Window::WindowPosition) > *movedSignal = (Dali::Signal< void (Dali::Window, Dali::Window::WindowPosition) > *) 0 ;
2962 movedSignal = (Dali::Signal< void (Dali::Window, Dali::Window::WindowPosition) > *)signal;
2966 } CALL_CATCH_EXCEPTION();
2971 /* Orientation Changed signal binding */
2972 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_Orientation_Changed_Signal(void* winHandle)
2975 Dali::Window window;
2977 Dali::DevelWindow::OrientationChangedSignalType* orientationChangedSignal;
2979 win = (Dali::Window *)winHandle;
2981 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
2987 orientationChangedSignal = (Dali::DevelWindow::OrientationChangedSignalType *) &Dali::DevelWindow::OrientationChangedSignal(window);
2988 } CALL_CATCH_EXCEPTION(0);
2991 result = (void *)orientationChangedSignal;
2996 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_Orientation_Changed_Signal_Empty(void * signal)
2998 unsigned int result;
2999 Dali::Signal< void (Dali::Window, Dali::WindowOrientation) > *orientationChangedSignal = (Dali::Signal< void (Dali::Window, Dali::WindowOrientation) > *) 0 ;
3002 orientationChangedSignal = (Dali::Signal< void (Dali::Window, Dali::WindowOrientation) > *)signal;
3005 flag = (bool)Dali_Signal_Window_Orientation_Changed_Signal_Empty((Dali::Signal< void (Dali::Window, Dali::WindowOrientation) > const *)orientationChangedSignal);
3006 } CALL_CATCH_EXCEPTION(0);
3009 result = (unsigned int)flag;
3014 SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_Orientation_Changed_Signal_GetConnectionCount(void * signal) {
3015 unsigned long result;
3016 Dali::Signal< void (Dali::Window, Dali::WindowOrientation) > *orientationChangedSignal = (Dali::Signal< void (Dali::Window, Dali::WindowOrientation) > *) 0 ;
3019 orientationChangedSignal = (Dali::Signal< void (Dali::Window, Dali::WindowOrientation) > *)signal;
3022 count = Dali_Signal_Window_Orientation_Changed_Signal_GetConnectionCount((Dali::Signal< void (Dali::Window, Dali::WindowOrientation) > const *)orientationChangedSignal);
3023 } CALL_CATCH_EXCEPTION(0);
3026 result = (unsigned long)count;
3031 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Orientation_Changed_Signal_Connect(void * signal, void * func) {
3032 Dali::Signal< void (Dali::Window, Dali::WindowOrientation) > *orientationChangedSignal = (Dali::Signal< void (Dali::Window, Dali::WindowOrientation) > *) 0 ;
3033 void (*functionPtr)(Dali::Window, Dali::WindowOrientation) = (void (*)(Dali::Window, Dali::WindowOrientation)) 0 ;
3035 orientationChangedSignal = (Dali::Signal< void (Dali::Window, Dali::WindowOrientation) > *)signal;
3036 functionPtr = (void (*)(Dali::Window, Dali::WindowOrientation))func;
3039 Dali_Signal_Window_Orientation_Changed_Signal_Connect(orientationChangedSignal, functionPtr);
3040 } CALL_CATCH_EXCEPTION();
3046 SWIGEXPORT void SWIGSTDCALL CSharp_Orientation_Changed_Signal_Disconnect(void * signal, void * func) {
3047 Dali::Signal< void (Dali::Window, Dali::WindowOrientation) > *orientationChangedSignal = (Dali::Signal< void (Dali::Window, Dali::WindowOrientation) > *) 0 ;
3048 void (*functionPtr)(Dali::Window, Dali::WindowOrientation) = (void (*)(Dali::Window, Dali::WindowOrientation)) 0 ;
3050 orientationChangedSignal = (Dali::Signal< void (Dali::Window, Dali::WindowOrientation) > *)signal;
3051 functionPtr = (void (*)(Dali::Window, Dali::WindowOrientation))func;
3054 Dali_Signal_Window_Orientation_Changed_Signal_Disconnect(orientationChangedSignal, functionPtr);
3055 } CALL_CATCH_EXCEPTION();
3061 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Orientation_Changed_Signal_Emit(void * signal, void* winHandle, int orientation) {
3062 Dali::Signal< void (Dali::Window, Dali::WindowOrientation) > *orientationChangedSignal = (Dali::Signal< void (Dali::Window, Dali::WindowOrientation) > *) 0 ;
3063 Dali::Window* win = (Dali::Window*)winHandle;
3064 Dali::Window window;
3065 Dali::WindowOrientation windowOrientation;
3067 orientationChangedSignal = (Dali::Signal< void (Dali::Window, Dali::WindowOrientation) > *)signal;
3068 if (orientationChangedSignal == nullptr || window == nullptr) {
3069 DALI_LOG_ERROR("[ERR] orientationChangedSignal == nullptr or window == nullptr");
3074 windowOrientation = static_cast<Dali::WindowOrientation>(orientation);
3077 Dali_Signal_Window_Orientation_Changed_Signal_Emit(orientationChangedSignal, window, windowOrientation);
3078 } CALL_CATCH_EXCEPTION();
3084 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_Orientation_Changed_Signal() {
3086 Dali::Signal< void (Dali::Window, Dali::WindowOrientation) > *orientationChangedSignal = 0 ;
3090 orientationChangedSignal = (Dali::Signal< void (Dali::Window, Dali::WindowOrientation) > *)new Dali::Signal< void (Dali::Window, Dali::WindowOrientation) >();
3091 } CALL_CATCH_EXCEPTION(0);
3094 result = (void *)orientationChangedSignal;
3099 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_Orientation_Changed_Signal(void * signal) {
3100 Dali::Signal< void (Dali::Window, Dali::WindowOrientation) > *orientationChangedSignal = (Dali::Signal< void (Dali::Window, Dali::WindowOrientation) > *) 0 ;
3102 orientationChangedSignal = (Dali::Signal< void (Dali::Window, Dali::WindowOrientation) > *)signal;
3105 delete orientationChangedSignal;
3106 } CALL_CATCH_EXCEPTION();
3112 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_WindowMouseInOutEventSignal(void* winHandle)
3115 Dali::Window window;
3117 Dali::DevelWindow::MouseInOutEventSignalType* mouseInOutSignal;
3119 win = (Dali::Window *)winHandle;
3121 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
3127 mouseInOutSignal = (Dali::DevelWindow::MouseInOutEventSignalType *) &Dali::DevelWindow::MouseInOutEventSignal(window);
3128 } CALL_CATCH_EXCEPTION(0);
3131 result = (void *)mouseInOutSignal;
3136 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_WindowMouseInOutEventSignal_Empty(void * jarg1) {
3137 unsigned int jresult ;
3138 Dali::Signal< void (Dali::Window, Dali::DevelWindow::MouseInOutEvent const &) > *arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::MouseInOutEvent const &) > *) 0 ;
3141 arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::MouseInOutEvent const &) > *)jarg1;
3144 result = (bool)Dali_Signal_Window_MouseInOutEvent_Signal_Empty((Dali::Signal< void (Dali::Window, Dali::DevelWindow::MouseInOutEvent const &) > const *)arg1);
3145 } CALL_CATCH_EXCEPTION(0);
3153 SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_WindowMouseInOutEventSignal_GetConnectionCount(void * jarg1) {
3154 unsigned long jresult ;
3155 Dali::Signal< void (Dali::Window, Dali::DevelWindow::MouseInOutEvent const &) > *arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::MouseInOutEvent const &) > *) 0 ;
3158 arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::MouseInOutEvent const &) > *)jarg1;
3161 result = Dali_Signal_Window_MouseInOutEvent_Signal_GetConnectionCount((Dali::Signal< void (Dali::Window, Dali::DevelWindow::MouseInOutEvent const &) > const *)arg1);
3162 } CALL_CATCH_EXCEPTION(0);
3165 jresult = (unsigned long)result;
3170 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WindowMouseInOutEventSignal_Connect(void * jarg1, void * jarg2) {
3171 Dali::Signal< void (Dali::Window, Dali::DevelWindow::MouseInOutEvent const &) > *arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::MouseInOutEvent const &) > *) 0 ;
3172 void (*arg2)(Dali::Window, Dali::DevelWindow::MouseInOutEvent const &) = (void (*)(Dali::Window, Dali::DevelWindow::MouseInOutEvent const &)) 0 ;
3174 arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::MouseInOutEvent const &) > *)jarg1;
3175 arg2 = (void (*)(Dali::Window, Dali::DevelWindow::MouseInOutEvent const &))jarg2;
3178 Dali_Signal_Window_MouseInOutEvent_Signal_Connect(arg1,arg2);
3179 } CALL_CATCH_EXCEPTION();
3185 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WindowMouseInOutEventSignal_Disconnect(void * jarg1, void * jarg2) {
3186 Dali::Signal< void (Dali::Window, Dali::DevelWindow::MouseInOutEvent const &) > *arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::MouseInOutEvent const &) > *) 0 ;
3187 void (*arg2)(Dali::Window, Dali::DevelWindow::MouseInOutEvent const &) = (void (*)(Dali::Window, Dali::DevelWindow::MouseInOutEvent const &)) 0 ;
3189 arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::MouseInOutEvent const &) > *)jarg1;
3190 arg2 = (void (*)(Dali::Window, Dali::DevelWindow::MouseInOutEvent const &))jarg2;
3193 Dali_Signal_Window_MouseInOutEvent_Signal_Disconnect(arg1,arg2);
3194 } CALL_CATCH_EXCEPTION();
3200 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WindowMouseInOutEventSignal_Emit(void * jarg1, void* jarg2, void* jarg3) {
3201 Dali::Signal< void (Dali::Window, Dali::DevelWindow::MouseInOutEvent const &) > *arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::MouseInOutEvent const &) > *)jarg1;
3202 Dali::Window* arg2 = (Dali::Window*)jarg2;
3203 Dali::DevelWindow::MouseInOutEvent* arg3 = (Dali::DevelWindow::MouseInOutEvent*)jarg3;
3206 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Signal", 0);
3211 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
3216 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::DevelWindow::MouseInOutEvent", 0);
3222 Dali_Signal_Window_MouseInOutEvent_Signal_Emit(arg1,*arg2,*arg3);
3223 } CALL_CATCH_EXCEPTION();
3229 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_WindowMouseInOutEventSignal() {
3231 Dali::Signal< void (Dali::Window, Dali::DevelWindow::MouseInOutEvent const &) > *result = 0 ;
3235 result = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::MouseInOutEvent const &) > *)new Dali::Signal< void (Dali::Window, Dali::DevelWindow::MouseInOutEvent const &) >();
3236 } CALL_CATCH_EXCEPTION(0);
3239 jresult = (void *)result;
3244 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_WindowMouseInOutEventSignal(void * jarg1) {
3245 Dali::Signal< void (Dali::Window, Dali::DevelWindow::MouseInOutEvent const &) > *arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::MouseInOutEvent const &) > *) 0 ;
3247 arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::MouseInOutEvent const &) > *)jarg1;
3251 } CALL_CATCH_EXCEPTION();
3257 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_MouseInOutEvent__SWIG_0(int jarg1, unsigned int jarg2, void * jarg3, unsigned int jarg4) {
3259 Dali::DevelWindow::MouseInOutEvent::Type arg1 ;
3261 Dali::Vector2 arg3 ;
3264 Dali::Vector2 *argp3 ;
3266 Dali::DevelWindow::MouseInOutEvent *result = 0;
3268 arg1 = static_cast<Dali::DevelWindow::MouseInOutEvent::Type>(jarg1);
3269 arg2 = (unsigned int)jarg2;
3270 argp3 = (Dali::Vector2 *)jarg3;
3272 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Vector2", 0);
3276 arg4 = (unsigned int)jarg4;
3279 result = (Dali::DevelWindow::MouseInOutEvent *)new Dali::DevelWindow::MouseInOutEvent(arg1, arg2, arg3, arg4, Dali::Device::Class::NONE, Dali::Device::Subclass::NONE);
3280 } CALL_CATCH_EXCEPTION(0);
3283 jresult = (void *)result;
3288 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_MouseInOutEvent(void * jarg1) {
3289 Dali::DevelWindow::MouseInOutEvent *arg1 = (Dali::DevelWindow::MouseInOutEvent *) 0 ;
3291 arg1 = (Dali::DevelWindow::MouseInOutEvent *)jarg1;
3295 } CALL_CATCH_EXCEPTION();
3301 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_MouseInOutEvent_type_get(void * jarg1) {
3303 Dali::DevelWindow::MouseInOutEvent *arg1 = (Dali::DevelWindow::MouseInOutEvent *) 0 ;
3304 Dali::DevelWindow::MouseInOutEvent::Type result;
3306 arg1 = (Dali::DevelWindow::MouseInOutEvent *)jarg1;
3309 result = ((Dali::DevelWindow::MouseInOutEvent const *)arg1)->type;
3310 } CALL_CATCH_EXCEPTION(0);
3313 jresult = (int)result;
3318 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_MouseInOutEvent_modifiers_get(void * jarg1) {
3319 unsigned int jresult ;
3320 Dali::DevelWindow::MouseInOutEvent *arg1 = (Dali::DevelWindow::MouseInOutEvent *) 0 ;
3321 unsigned int result;
3323 arg1 = (Dali::DevelWindow::MouseInOutEvent *)jarg1;
3326 result = ((Dali::DevelWindow::MouseInOutEvent const *)arg1)->modifiers;
3327 } CALL_CATCH_EXCEPTION(0);
3335 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_MouseInOutEvent_point_get(void * jarg1) {
3337 Dali::DevelWindow::MouseInOutEvent *arg1 = (Dali::DevelWindow::MouseInOutEvent *) 0 ;
3338 Dali::Vector2 *result = 0 ;
3340 arg1 = (Dali::DevelWindow::MouseInOutEvent *)jarg1;
3343 result = (Dali::Vector2 *) &((Dali::DevelWindow::MouseInOutEvent const *)arg1)->point;
3344 } CALL_CATCH_EXCEPTION(0);
3347 jresult = (void *)result;
3352 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_MouseInOutEvent_timeStamp_get(void * jarg1) {
3353 unsigned int jresult ;
3354 Dali::DevelWindow::MouseInOutEvent *arg1 = (Dali::DevelWindow::MouseInOutEvent *) 0 ;
3355 unsigned int result;
3357 arg1 = (Dali::DevelWindow::MouseInOutEvent *)jarg1;
3360 result = ((Dali::DevelWindow::MouseInOutEvent const *)arg1)->timeStamp;
3361 } CALL_CATCH_EXCEPTION(0);
3369 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_MouseInOutEvent_GetDeviceClass(void * jarg1) {
3371 Dali::DevelWindow::MouseInOutEvent *arg1 = 0 ;
3372 Dali::Device::Class::Type result;
3374 arg1 = (Dali::DevelWindow::MouseInOutEvent *)jarg1;
3376 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::DevelWindow::MouseInOutEvent const & type is null", 0);
3381 result = (Dali::Device::Class::Type)arg1->deviceClass;
3382 } CALL_CATCH_EXCEPTION(0);
3385 jresult = (int)result;
3389 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_MouseInOutEvent_GetDeviceSubClass(void * jarg1) {
3391 Dali::DevelWindow::MouseInOutEvent *arg1 = 0 ;
3392 Dali::Device::Subclass::Type result;
3394 arg1 = (Dali::DevelWindow::MouseInOutEvent *)jarg1;
3396 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::DevelWindow::MouseInOutEvent const & type is null", 0);
3401 result = (Dali::Device::Subclass::Type)arg1->deviceSubclass;
3402 } CALL_CATCH_EXCEPTION(0);
3405 jresult = (int)result;