2 * Copyright (c) 2016 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.
18 #ifndef CSHARP_ADAPTOR
19 #define CSHARP_ADAPTOR
23 #include <dali/integration-api/adaptors/adaptor.h>
24 // #include <dali/public-api/adaptor-framework/application-configuration.h>
27 SWIGINTERN bool Dali_Signal_Sl_void_Sp_Dali_Adaptor_SA__SP__Sg__Empty(Dali::Signal< void (Dali::Adaptor &) > const *self){
30 SWIGINTERN std::size_t Dali_Signal_Sl_void_Sp_Dali_Adaptor_SA__SP__Sg__GetConnectionCount(Dali::Signal< void (Dali::Adaptor &) > const *self){
31 return self->GetConnectionCount();
33 SWIGINTERN void Dali_Signal_Sl_void_Sp_Dali_Adaptor_SA__SP__Sg__Connect(Dali::Signal< void (Dali::Adaptor &) > *self,void (*func)(Dali::Adaptor &)){
34 self->Connect( func );
36 SWIGINTERN void Dali_Signal_Sl_void_Sp_Dali_Adaptor_SA__SP__Sg__Disconnect(Dali::Signal< void (Dali::Adaptor &) > *self,void (*func)(Dali::Adaptor &)){
37 self->Disconnect( func );
39 SWIGINTERN void Dali_Signal_Sl_void_Sp_Dali_Adaptor_SA__SP__Sg__Emit(Dali::Signal< void (Dali::Adaptor &) > *self,Dali::Adaptor &arg){
48 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Adaptor_New__SWIG_0(void * jarg1) {
52 Dali::Adaptor *result = 0 ;
54 argp1 = (Dali::Window *)jarg1;
56 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
62 result = (Dali::Adaptor *) &Dali::Adaptor::New(arg1);
63 } catch (std::out_of_range& e) {
65 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
67 } catch (std::exception& e) {
69 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
71 } catch (Dali::DaliException e) {
73 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
77 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
82 jresult = (void *)result;
87 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Adaptor_New__SWIG_1(void * jarg1, void * jarg2) {
90 Dali::Configuration::ContextLoss arg2 ;
92 Dali::Configuration::ContextLoss *argp2 ;
93 Dali::Adaptor *result = 0 ;
95 argp1 = (Dali::Window *)jarg1;
97 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
101 argp2 = (Dali::Configuration::ContextLoss *)jarg2;
103 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Configuration::ContextLoss", 0);
109 result = (Dali::Adaptor *) &Dali::Adaptor::New(arg1,arg2);
110 } catch (std::out_of_range& e) {
112 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
114 } catch (std::exception& e) {
116 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
118 } catch (Dali::DaliException e) {
120 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
124 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
129 jresult = (void *)result;
134 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Adaptor_New__SWIG_2(void * jarg1, void * jarg2) {
137 Dali::RenderSurface *arg2 = 0 ;
139 Dali::Adaptor *result = 0 ;
141 argp1 = (Dali::Any *)jarg1;
143 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Any", 0);
147 arg2 = (Dali::RenderSurface *)jarg2;
149 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::RenderSurface const & type is null", 0);
154 result = (Dali::Adaptor *) &Dali::Adaptor::New(arg1,(Dali::RenderSurface const &)*arg2,Dali::Configuration::APPLICATION_DOES_NOT_HANDLE_CONTEXT_LOSS);
155 } catch (std::out_of_range& e) {
157 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
159 } catch (std::exception& e) {
161 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
163 } catch (Dali::DaliException e) {
165 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
169 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
174 jresult = (void *)result;
179 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Adaptor_New__SWIG_3(void * jarg1, void * jarg2, void * jarg3) {
182 Dali::RenderSurface *arg2 = 0 ;
183 Dali::Configuration::ContextLoss arg3 ;
185 Dali::Configuration::ContextLoss *argp3 ;
186 Dali::Adaptor *result = 0 ;
188 argp1 = (Dali::Any *)jarg1;
190 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Any", 0);
194 arg2 = (Dali::RenderSurface *)jarg2;
196 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::RenderSurface const & type is null", 0);
199 argp3 = (Dali::Configuration::ContextLoss *)jarg3;
201 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Configuration::ContextLoss", 0);
207 result = (Dali::Adaptor *) &Dali::Adaptor::New(arg1,(Dali::RenderSurface const &)*arg2,arg3);
208 } catch (std::out_of_range& e) {
210 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
212 } catch (std::exception& e) {
214 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
216 } catch (Dali::DaliException e) {
218 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
222 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
227 jresult = (void *)result;
232 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_Adaptor(void * jarg1) {
233 Dali::Adaptor *arg1 = (Dali::Adaptor *) 0 ;
235 arg1 = (Dali::Adaptor *)jarg1;
239 } catch (std::out_of_range& e) {
241 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
243 } catch (std::exception& e) {
245 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
247 } catch (Dali::DaliException e) {
249 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
253 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
261 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Adaptor_Start(void * jarg1) {
262 Dali::Adaptor *arg1 = (Dali::Adaptor *) 0 ;
264 arg1 = (Dali::Adaptor *)jarg1;
268 } catch (std::out_of_range& e) {
270 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
272 } catch (std::exception& e) {
274 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
276 } catch (Dali::DaliException e) {
278 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
282 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
290 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Adaptor_Pause(void * jarg1) {
291 Dali::Adaptor *arg1 = (Dali::Adaptor *) 0 ;
293 arg1 = (Dali::Adaptor *)jarg1;
297 } catch (std::out_of_range& e) {
299 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
301 } catch (std::exception& e) {
303 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
305 } catch (Dali::DaliException e) {
307 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
311 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
319 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Adaptor_Resume(void * jarg1) {
320 Dali::Adaptor *arg1 = (Dali::Adaptor *) 0 ;
322 arg1 = (Dali::Adaptor *)jarg1;
326 } catch (std::out_of_range& e) {
328 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
330 } catch (std::exception& e) {
332 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
334 } catch (Dali::DaliException e) {
336 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
340 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
348 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Adaptor_Stop(void * jarg1) {
349 Dali::Adaptor *arg1 = (Dali::Adaptor *) 0 ;
351 arg1 = (Dali::Adaptor *)jarg1;
355 } catch (std::out_of_range& e) {
357 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
359 } catch (std::exception& e) {
361 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
363 } catch (Dali::DaliException e) {
365 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
369 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
377 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_Adaptor_AddIdle(void * jarg1, void * jarg2) {
378 unsigned int jresult ;
379 Dali::Adaptor *arg1 = (Dali::Adaptor *) 0 ;
380 Dali::CallbackBase *arg2 = (Dali::CallbackBase *) 0 ;
383 arg1 = (Dali::Adaptor *)jarg1;
384 arg2 = (Dali::CallbackBase *)jarg2;
387 result = (bool)(arg1)->AddIdle(arg2);
388 } catch (std::out_of_range& e) {
390 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
392 } catch (std::exception& e) {
394 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
396 } catch (Dali::DaliException e) {
398 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
402 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
412 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Adaptor_RemoveIdle(void * jarg1, void * jarg2) {
413 Dali::Adaptor *arg1 = (Dali::Adaptor *) 0 ;
414 Dali::CallbackBase *arg2 = (Dali::CallbackBase *) 0 ;
416 arg1 = (Dali::Adaptor *)jarg1;
417 arg2 = (Dali::CallbackBase *)jarg2;
420 (arg1)->RemoveIdle(arg2);
421 } catch (std::out_of_range& e) {
423 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
425 } catch (std::exception& e) {
427 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
429 } catch (Dali::DaliException e) {
431 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
435 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
443 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Adaptor_ReplaceSurface(void * jarg1, void * jarg2, void * jarg3) {
444 Dali::Adaptor *arg1 = (Dali::Adaptor *) 0 ;
446 Dali::RenderSurface *arg3 = 0 ;
449 arg1 = (Dali::Adaptor *)jarg1;
450 argp2 = (Dali::Any *)jarg2;
452 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Any", 0);
456 arg3 = (Dali::RenderSurface *)jarg3;
458 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::RenderSurface & type is null", 0);
463 (arg1)->ReplaceSurface(arg2,*arg3);
464 } catch (std::out_of_range& e) {
466 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
468 } catch (std::exception& e) {
470 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
472 } catch (Dali::DaliException e) {
474 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
478 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
486 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Adaptor_GetSurface(void * jarg1) {
488 Dali::Adaptor *arg1 = (Dali::Adaptor *) 0 ;
489 Dali::RenderSurface *result = 0 ;
491 arg1 = (Dali::Adaptor *)jarg1;
494 result = (Dali::RenderSurface *) &(arg1)->GetSurface();
495 } catch (std::out_of_range& e) {
497 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
499 } catch (std::exception& e) {
501 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
503 } catch (Dali::DaliException e) {
505 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
509 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
514 jresult = (void *)result;
519 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Adaptor_GetNativeWindowHandle(void * jarg1) {
521 Dali::Adaptor *arg1 = (Dali::Adaptor *) 0 ;
524 arg1 = (Dali::Adaptor *)jarg1;
527 result = (arg1)->GetNativeWindowHandle();
528 } catch (std::out_of_range& e) {
530 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
532 } catch (std::exception& e) {
534 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
536 } catch (Dali::DaliException e) {
538 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
542 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
547 jresult = new Dali::Any((const Dali::Any &)result);
552 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Adaptor_ReleaseSurfaceLock(void * jarg1) {
553 Dali::Adaptor *arg1 = (Dali::Adaptor *) 0 ;
555 arg1 = (Dali::Adaptor *)jarg1;
558 (arg1)->ReleaseSurfaceLock();
559 } catch (std::out_of_range& e) {
561 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
563 } catch (std::exception& e) {
565 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
567 } catch (Dali::DaliException e) {
569 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
573 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
581 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Adaptor_SetRenderRefreshRate(void * jarg1, unsigned int jarg2) {
582 Dali::Adaptor *arg1 = (Dali::Adaptor *) 0 ;
585 arg1 = (Dali::Adaptor *)jarg1;
586 arg2 = (unsigned int)jarg2;
589 (arg1)->SetRenderRefreshRate(arg2);
590 } catch (std::out_of_range& e) {
592 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
594 } catch (std::exception& e) {
596 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
598 } catch (Dali::DaliException e) {
600 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
604 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
612 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Adaptor_SetUseHardwareVSync(void * jarg1, unsigned int jarg2) {
613 Dali::Adaptor *arg1 = (Dali::Adaptor *) 0 ;
616 arg1 = (Dali::Adaptor *)jarg1;
617 arg2 = jarg2 ? true : false;
620 (arg1)->SetUseHardwareVSync(arg2);
621 } catch (std::out_of_range& e) {
623 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
625 } catch (std::exception& e) {
627 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
629 } catch (Dali::DaliException e) {
631 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
635 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
643 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Adaptor_Get() {
645 Dali::Adaptor *result = 0 ;
649 result = (Dali::Adaptor *) &Dali::Adaptor::Get();
650 } catch (std::out_of_range& e) {
652 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
654 } catch (std::exception& e) {
656 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
658 } catch (Dali::DaliException e) {
660 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
664 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
669 jresult = (void *)result;
674 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_Adaptor_IsAvailable() {
675 unsigned int jresult ;
680 result = (bool)Dali::Adaptor::IsAvailable();
681 } catch (std::out_of_range& e) {
683 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
685 } catch (std::exception& e) {
687 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
689 } catch (Dali::DaliException e) {
691 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
695 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
705 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Adaptor_NotifySceneCreated(void * jarg1) {
706 Dali::Adaptor *arg1 = (Dali::Adaptor *) 0 ;
708 arg1 = (Dali::Adaptor *)jarg1;
711 (arg1)->NotifySceneCreated();
712 } catch (std::out_of_range& e) {
714 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
716 } catch (std::exception& e) {
718 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
720 } catch (Dali::DaliException e) {
722 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
726 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
734 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Adaptor_NotifyLanguageChanged(void * jarg1) {
735 Dali::Adaptor *arg1 = (Dali::Adaptor *) 0 ;
737 arg1 = (Dali::Adaptor *)jarg1;
740 (arg1)->NotifyLanguageChanged();
741 } catch (std::out_of_range& e) {
743 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
745 } catch (std::exception& e) {
747 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
749 } catch (Dali::DaliException e) {
751 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
755 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
763 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Adaptor_SetMinimumPinchDistance(void * jarg1, float jarg2) {
764 Dali::Adaptor *arg1 = (Dali::Adaptor *) 0 ;
767 arg1 = (Dali::Adaptor *)jarg1;
771 (arg1)->SetMinimumPinchDistance(arg2);
772 } catch (std::out_of_range& e) {
774 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
776 } catch (std::exception& e) {
778 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
780 } catch (Dali::DaliException e) {
782 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
786 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
794 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Adaptor_FeedTouchPoint(void * jarg1, void * jarg2, int jarg3) {
795 Dali::Adaptor *arg1 = (Dali::Adaptor *) 0 ;
796 Dali::TouchPoint *arg2 = 0 ;
799 arg1 = (Dali::Adaptor *)jarg1;
800 arg2 = (Dali::TouchPoint *)jarg2;
802 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::TouchPoint & type is null", 0);
808 (arg1)->FeedTouchPoint(*arg2,arg3);
809 } catch (std::out_of_range& e) {
811 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
813 } catch (std::exception& e) {
815 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
817 } catch (Dali::DaliException e) {
819 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
823 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
831 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Adaptor_FeedWheelEvent(void * jarg1, void * jarg2) {
832 Dali::Adaptor *arg1 = (Dali::Adaptor *) 0 ;
833 Dali::WheelEvent *arg2 = 0 ;
835 arg1 = (Dali::Adaptor *)jarg1;
836 arg2 = (Dali::WheelEvent *)jarg2;
838 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::WheelEvent & type is null", 0);
843 (arg1)->FeedWheelEvent(*arg2);
844 } catch (std::out_of_range& e) {
846 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
848 } catch (std::exception& e) {
850 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
852 } catch (Dali::DaliException e) {
854 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
858 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
866 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Adaptor_FeedKeyEvent(void * jarg1, void * jarg2) {
867 Dali::Adaptor *arg1 = (Dali::Adaptor *) 0 ;
868 Dali::KeyEvent *arg2 = 0 ;
870 arg1 = (Dali::Adaptor *)jarg1;
871 arg2 = (Dali::KeyEvent *)jarg2;
873 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::KeyEvent & type is null", 0);
878 (arg1)->FeedKeyEvent(*arg2);
879 } catch (std::out_of_range& e) {
881 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
883 } catch (std::exception& e) {
885 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
887 } catch (Dali::DaliException e) {
889 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
893 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
901 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Adaptor_SceneCreated(void * jarg1) {
902 Dali::Adaptor *arg1 = (Dali::Adaptor *) 0 ;
904 arg1 = (Dali::Adaptor *)jarg1;
907 (arg1)->SceneCreated();
908 } catch (std::out_of_range& e) {
910 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
912 } catch (std::exception& e) {
914 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
916 } catch (Dali::DaliException e) {
918 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
922 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
930 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Adaptor_SetViewMode(void * jarg1, int jarg2) {
931 Dali::Adaptor *arg1 = (Dali::Adaptor *) 0 ;
932 Dali::ViewMode arg2 ;
934 arg1 = (Dali::Adaptor *)jarg1;
935 arg2 = (Dali::ViewMode)jarg2;
938 (arg1)->SetViewMode(arg2);
939 } catch (std::out_of_range& e) {
941 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
943 } catch (std::exception& e) {
945 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
947 } catch (Dali::DaliException e) {
949 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
953 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
961 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Adaptor_SetStereoBase(void * jarg1, float jarg2) {
962 Dali::Adaptor *arg1 = (Dali::Adaptor *) 0 ;
965 arg1 = (Dali::Adaptor *)jarg1;
969 (arg1)->SetStereoBase(arg2);
970 } catch (std::out_of_range& e) {
972 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
974 } catch (std::exception& e) {
976 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
978 } catch (Dali::DaliException e) {
980 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
984 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
991 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Adaptor_ResizedSignal(void * jarg1) {
993 Dali::Adaptor *arg1 = (Dali::Adaptor *) 0 ;
994 Dali::Adaptor::AdaptorSignalType *result = 0 ;
996 arg1 = (Dali::Adaptor *)jarg1;
999 result = (Dali::Adaptor::AdaptorSignalType *) &(arg1)->ResizedSignal();
1000 } catch (std::out_of_range& e) {
1002 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1004 } catch (std::exception& e) {
1006 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1008 } catch (Dali::DaliException e) {
1010 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1014 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1019 jresult = (void *)result;
1024 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Adaptor_LanguageChangedSignal(void * jarg1) {
1026 Dali::Adaptor *arg1 = (Dali::Adaptor *) 0 ;
1027 Dali::Adaptor::AdaptorSignalType *result = 0 ;
1029 arg1 = (Dali::Adaptor *)jarg1;
1032 result = (Dali::Adaptor::AdaptorSignalType *) &(arg1)->LanguageChangedSignal();
1033 } catch (std::out_of_range& e) {
1035 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1037 } catch (std::exception& e) {
1039 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1041 } catch (Dali::DaliException e) {
1043 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1047 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1052 jresult = (void *)result;
1057 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_AdaptorSignalType_Empty(void * jarg1) {
1058 unsigned int jresult ;
1059 Dali::Signal< void (Dali::Adaptor &) > *arg1 = (Dali::Signal< void (Dali::Adaptor &) > *) 0 ;
1062 arg1 = (Dali::Signal< void (Dali::Adaptor &) > *)jarg1;
1065 result = (bool)Dali_Signal_Sl_void_Sp_Dali_Adaptor_SA__SP__Sg__Empty((Dali::Signal< void (Dali::Adaptor &) > const *)arg1);
1066 } catch (std::out_of_range& e) {
1068 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1070 } catch (std::exception& e) {
1072 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1074 } catch (Dali::DaliException e) {
1076 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1080 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1090 SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_AdaptorSignalType_GetConnectionCount(void * jarg1) {
1091 unsigned long jresult ;
1092 Dali::Signal< void (Dali::Adaptor &) > *arg1 = (Dali::Signal< void (Dali::Adaptor &) > *) 0 ;
1095 arg1 = (Dali::Signal< void (Dali::Adaptor &) > *)jarg1;
1098 result = Dali_Signal_Sl_void_Sp_Dali_Adaptor_SA__SP__Sg__GetConnectionCount((Dali::Signal< void (Dali::Adaptor &) > const *)arg1);
1099 } catch (std::out_of_range& e) {
1101 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1103 } catch (std::exception& e) {
1105 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1107 } catch (Dali::DaliException e) {
1109 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1113 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1118 jresult = (unsigned long)result;
1123 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_AdaptorSignalType_Connect(void * jarg1, void * jarg2) {
1124 Dali::Signal< void (Dali::Adaptor &) > *arg1 = (Dali::Signal< void (Dali::Adaptor &) > *) 0 ;
1125 void (*arg2)(Dali::Adaptor &) = (void (*)(Dali::Adaptor &)) 0 ;
1127 arg1 = (Dali::Signal< void (Dali::Adaptor &) > *)jarg1;
1128 arg2 = (void (*)(Dali::Adaptor &))jarg2;
1131 Dali_Signal_Sl_void_Sp_Dali_Adaptor_SA__SP__Sg__Connect(arg1,arg2);
1132 } catch (std::out_of_range& e) {
1134 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1136 } catch (std::exception& e) {
1138 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1140 } catch (Dali::DaliException e) {
1142 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1146 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1154 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_AdaptorSignalType_Disconnect(void * jarg1, void * jarg2) {
1155 Dali::Signal< void (Dali::Adaptor &) > *arg1 = (Dali::Signal< void (Dali::Adaptor &) > *) 0 ;
1156 void (*arg2)(Dali::Adaptor &) = (void (*)(Dali::Adaptor &)) 0 ;
1158 arg1 = (Dali::Signal< void (Dali::Adaptor &) > *)jarg1;
1159 arg2 = (void (*)(Dali::Adaptor &))jarg2;
1162 Dali_Signal_Sl_void_Sp_Dali_Adaptor_SA__SP__Sg__Disconnect(arg1,arg2);
1163 } catch (std::out_of_range& e) {
1165 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1167 } catch (std::exception& e) {
1169 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1171 } catch (Dali::DaliException e) {
1173 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1177 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1185 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_AdaptorSignalType_Emit(void * jarg1, void * jarg2) {
1186 Dali::Signal< void (Dali::Adaptor &) > *arg1 = (Dali::Signal< void (Dali::Adaptor &) > *) 0 ;
1187 Dali::Adaptor *arg2 = 0 ;
1189 arg1 = (Dali::Signal< void (Dali::Adaptor &) > *)jarg1;
1190 arg2 = (Dali::Adaptor *)jarg2;
1192 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Adaptor & type is null", 0);
1197 Dali_Signal_Sl_void_Sp_Dali_Adaptor_SA__SP__Sg__Emit(arg1,*arg2);
1198 } catch (std::out_of_range& e) {
1200 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1202 } catch (std::exception& e) {
1204 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1206 } catch (Dali::DaliException e) {
1208 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1212 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1220 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_AdaptorSignalType() {
1222 Dali::Signal< void (Dali::Adaptor &) > *result = 0 ;
1226 result = (Dali::Signal< void (Dali::Adaptor &) > *)new Dali::Signal< void (Dali::Adaptor &) >();
1227 } catch (std::out_of_range& e) {
1229 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1231 } catch (std::exception& e) {
1233 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1235 } catch (Dali::DaliException e) {
1237 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1241 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1246 jresult = (void *)result;
1251 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_AdaptorSignalType(void * jarg1) {
1252 Dali::Signal< void (Dali::Adaptor &) > *arg1 = (Dali::Signal< void (Dali::Adaptor &) > *) 0 ;
1254 arg1 = (Dali::Signal< void (Dali::Adaptor &) > *)jarg1;
1258 } catch (std::out_of_range& e) {
1260 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1262 } catch (std::exception& e) {
1264 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1266 } catch (Dali::DaliException e) {
1268 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1272 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;