1 /** Copyright (c) 2017 Samsung Electronics Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
7 * http://www.apache.org/licenses/LICENSE-2.0
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
17 #ifndef CSHARP_WIDGET_VIEW
18 #define CSHARP_WIDGET_VIEW
23 #include <widget_viewer_dali/public_api/widget_view/widget_view.h>
25 SWIGINTERN bool Dali_Signal_Sl_void_Sp_Dali_WidgetView_WidgetView_SP__Sg__Empty(Dali::Signal< void (Dali::WidgetView::WidgetView) > const *self){
28 SWIGINTERN std::size_t Dali_Signal_Sl_void_Sp_Dali_WidgetView_WidgetView_SP__Sg__GetConnectionCount(Dali::Signal< void (Dali::WidgetView::WidgetView) > const *self){
29 return self->GetConnectionCount();
31 SWIGINTERN void Dali_Signal_Sl_void_Sp_Dali_WidgetView_WidgetView_SP__Sg__Connect(Dali::Signal< void (Dali::WidgetView::WidgetView) > *self,void (*func)(Dali::WidgetView::WidgetView)){
32 self->Connect( func );
34 SWIGINTERN void Dali_Signal_Sl_void_Sp_Dali_WidgetView_WidgetView_SP__Sg__Disconnect(Dali::Signal< void (Dali::WidgetView::WidgetView) > *self,void (*func)(Dali::WidgetView::WidgetView)){
35 self->Disconnect( func );
37 SWIGINTERN void Dali_Signal_Sl_void_Sp_Dali_WidgetView_WidgetView_SP__Sg__Emit(Dali::Signal< void (Dali::WidgetView::WidgetView) > *self,Dali::WidgetView::WidgetView arg){
45 SWIGEXPORT Dali::Toolkit::Control * SWIGSTDCALL CSharp_Dali_WidgetView_SWIGUpcast(Dali::WidgetView::WidgetView *jarg1) {
46 return (Dali::Toolkit::Control *)jarg1;
49 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WidgetView_Property_WIDGET_ID_get() {
53 result = (int)Dali::WidgetView::WidgetView::Property::WIDGET_ID;
54 jresult = (int)result;
59 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WidgetView_Property_INSTANCE_ID_get() {
63 result = (int)Dali::WidgetView::WidgetView::Property::INSTANCE_ID;
64 jresult = (int)result;
69 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WidgetView_Property_CONTENT_INFO_get() {
73 result = (int)Dali::WidgetView::WidgetView::Property::CONTENT_INFO;
74 jresult = (int)result;
79 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WidgetView_Property_TITLE_get() {
83 result = (int)Dali::WidgetView::WidgetView::Property::TITLE;
84 jresult = (int)result;
89 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WidgetView_Property_UPDATE_PERIOD_get() {
93 result = (int)Dali::WidgetView::WidgetView::Property::UPDATE_PERIOD;
94 jresult = (int)result;
99 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WidgetView_Property_PREVIEW_get() {
103 result = (int)Dali::WidgetView::WidgetView::Property::PREVIEW;
104 jresult = (int)result;
109 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WidgetView_Property_LOADING_TEXT_get() {
113 result = (int)Dali::WidgetView::WidgetView::Property::LOADING_TEXT;
114 jresult = (int)result;
119 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WidgetView_Property_WIDGET_STATE_FAULTED_get() {
123 result = (int)Dali::WidgetView::WidgetView::Property::WIDGET_STATE_FAULTED;
124 jresult = (int)result;
129 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WidgetView_Property_PERMANENT_DELETE_get() {
133 result = (int)Dali::WidgetView::WidgetView::Property::PERMANENT_DELETE;
134 jresult = (int)result;
138 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WidgetView_Property_RETRY_TEXT_get() {
142 result = (int)Dali::WidgetView::WidgetView::Property::RETRY_TEXT;
143 jresult = (int)result;
147 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WidgetView_Property_EFFECT_get() {
151 result = (int)Dali::WidgetView::WidgetView::Property::EFFECT;
152 jresult = (int)result;
157 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_WidgetView_Property() {
159 Dali::WidgetView::WidgetView::Property *result = 0 ;
163 result = (Dali::WidgetView::WidgetView::Property *)new Dali::WidgetView::WidgetView::Property();
164 } catch (std::out_of_range& e) {
166 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
168 } catch (std::exception& e) {
170 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
172 } catch (Dali::DaliException e) {
174 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
178 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
183 jresult = (void *)result;
188 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_WidgetView_Property(void * jarg1) {
189 Dali::WidgetView::WidgetView::Property *arg1 = (Dali::WidgetView::WidgetView::Property *) 0 ;
191 arg1 = (Dali::WidgetView::WidgetView::Property *)jarg1;
195 } catch (std::out_of_range& e) {
197 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
199 } catch (std::exception& e) {
201 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
203 } catch (Dali::DaliException e) {
205 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
209 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
217 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_WidgetView_New(char * jarg1, char * jarg2, int jarg3, int jarg4, float jarg5) {
219 std::string *arg1 = 0 ;
220 std::string *arg2 = 0 ;
224 Dali::WidgetView::WidgetView result;
227 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
230 std::string arg1_str(jarg1);
233 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
236 std::string arg2_str(jarg2);
243 result = Dali::WidgetView::WidgetView::New((std::string const &)*arg1,(std::string const &)*arg2,arg3,arg4,arg5);
244 } catch (std::out_of_range& e) {
246 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
248 } catch (std::exception& e) {
250 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
252 } catch (Dali::DaliException e) {
254 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
258 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
263 jresult = new Dali::WidgetView::WidgetView((const Dali::WidgetView::WidgetView &)result);
265 //argout typemap for const std::string&
268 //argout typemap for const std::string&
274 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_WidgetView_DownCast(void * jarg1) {
276 Dali::BaseHandle arg1 ;
277 Dali::BaseHandle *argp1 ;
278 Dali::WidgetView::WidgetView result;
280 argp1 = (Dali::BaseHandle *)jarg1;
282 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::BaseHandle", 0);
288 result = Dali::WidgetView::WidgetView::DownCast(arg1);
289 } catch (std::out_of_range& e) {
291 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
293 } catch (std::exception& e) {
295 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
297 } catch (Dali::DaliException e) {
299 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
303 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
308 jresult = new Dali::WidgetView::WidgetView((const Dali::WidgetView::WidgetView &)result);
313 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_WidgetView__SWIG_0() {
315 Dali::WidgetView::WidgetView *result = 0 ;
319 result = (Dali::WidgetView::WidgetView *)new Dali::WidgetView::WidgetView();
320 } catch (std::out_of_range& e) {
322 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
324 } catch (std::exception& e) {
326 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
328 } catch (Dali::DaliException e) {
330 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
334 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
339 jresult = (void *)result;
344 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_WidgetView__SWIG_1(void * jarg1) {
346 Dali::WidgetView::WidgetView *arg1 = 0 ;
347 Dali::WidgetView::WidgetView *result = 0 ;
349 arg1 = (Dali::WidgetView::WidgetView *)jarg1;
351 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::WidgetView::WidgetView const & type is null", 0);
356 result = (Dali::WidgetView::WidgetView *)new Dali::WidgetView::WidgetView((Dali::WidgetView::WidgetView const &)*arg1);
357 } catch (std::out_of_range& e) {
359 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
361 } catch (std::exception& e) {
363 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
365 } catch (Dali::DaliException e) {
367 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
371 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
376 jresult = (void *)result;
381 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_WidgetView_Assign(void * jarg1, void * jarg2) {
383 Dali::WidgetView::WidgetView *arg1 = (Dali::WidgetView::WidgetView *) 0 ;
384 Dali::WidgetView::WidgetView *arg2 = 0 ;
385 Dali::WidgetView::WidgetView *result = 0 ;
387 arg1 = (Dali::WidgetView::WidgetView *)jarg1;
388 arg2 = (Dali::WidgetView::WidgetView *)jarg2;
390 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::WidgetView::WidgetView const & type is null", 0);
395 result = (Dali::WidgetView::WidgetView *) &(arg1)->operator =((Dali::WidgetView::WidgetView const &)*arg2);
396 } catch (std::out_of_range& e) {
398 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
400 } catch (std::exception& e) {
402 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
404 } catch (Dali::DaliException e) {
406 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
410 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
415 jresult = (void *)result;
420 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_WidgetView(void * jarg1) {
421 Dali::WidgetView::WidgetView *arg1 = (Dali::WidgetView::WidgetView *) 0 ;
423 arg1 = (Dali::WidgetView::WidgetView *)jarg1;
427 } catch (std::out_of_range& e) {
429 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
431 } catch (std::exception& e) {
433 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
435 } catch (Dali::DaliException e) {
437 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
441 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
449 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_WidgetView_PauseWidget(void * jarg1) {
450 unsigned int jresult ;
451 Dali::WidgetView::WidgetView *arg1 = (Dali::WidgetView::WidgetView *) 0 ;
454 arg1 = (Dali::WidgetView::WidgetView *)jarg1;
457 result = (bool)(arg1)->PauseWidget();
458 } catch (std::out_of_range& e) {
460 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
462 } catch (std::exception& e) {
464 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
466 } catch (Dali::DaliException e) {
468 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
472 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
482 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_WidgetView_ResumeWidget(void * jarg1) {
483 unsigned int jresult ;
484 Dali::WidgetView::WidgetView *arg1 = (Dali::WidgetView::WidgetView *) 0 ;
487 arg1 = (Dali::WidgetView::WidgetView *)jarg1;
490 result = (bool)(arg1)->ResumeWidget();
491 } catch (std::out_of_range& e) {
493 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
495 } catch (std::exception& e) {
497 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
499 } catch (Dali::DaliException e) {
501 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
505 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
515 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_WidgetView_CancelTouchEvent(void * jarg1) {
516 unsigned int jresult ;
517 Dali::WidgetView::WidgetView *arg1 = (Dali::WidgetView::WidgetView *) 0 ;
520 arg1 = (Dali::WidgetView::WidgetView *)jarg1;
523 result = (bool)(arg1)->CancelTouchEvent();
524 } catch (std::out_of_range& e) {
526 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
528 } catch (std::exception& e) {
530 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
532 } catch (Dali::DaliException e) {
534 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
538 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
548 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WidgetView_ActivateFaultedWidget(void * jarg1) {
549 Dali::WidgetView::WidgetView *arg1 = (Dali::WidgetView::WidgetView *) 0 ;
551 arg1 = (Dali::WidgetView::WidgetView *)jarg1;
554 (arg1)->ActivateFaultedWidget();
555 } catch (std::out_of_range& e) {
557 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
559 } catch (std::exception& e) {
561 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
563 } catch (Dali::DaliException e) {
564 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
566 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
571 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_WidgetView_TerminateWidget(void * jarg1) {
572 unsigned int jresult;
573 Dali::WidgetView::WidgetView *arg1 = (Dali::WidgetView::WidgetView *) 0 ;
576 arg1 = (Dali::WidgetView::WidgetView *)jarg1;
579 result = (bool)(arg1)->TerminateWidget();
580 } catch (std::out_of_range& e) {
582 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
584 } catch (std::exception& e) {
586 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
588 } catch (Dali::DaliException e) {
589 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
591 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
600 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_WidgetView_WidgetAddedSignal(void * jarg1) {
602 Dali::WidgetView::WidgetView *arg1 = (Dali::WidgetView::WidgetView *) 0 ;
603 Dali::WidgetView::WidgetView::WidgetViewSignalType *result = 0 ;
605 arg1 = (Dali::WidgetView::WidgetView *)jarg1;
608 result = (Dali::WidgetView::WidgetView::WidgetViewSignalType *) &(arg1)->WidgetAddedSignal();
609 } catch (std::out_of_range& e) {
611 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
613 } catch (std::exception& e) {
615 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
617 } catch (Dali::DaliException e) {
619 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
623 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
628 jresult = (void *)result;
633 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_WidgetView_WidgetDeletedSignal(void * jarg1) {
635 Dali::WidgetView::WidgetView *arg1 = (Dali::WidgetView::WidgetView *) 0 ;
636 Dali::WidgetView::WidgetView::WidgetViewSignalType *result = 0 ;
638 arg1 = (Dali::WidgetView::WidgetView *)jarg1;
641 result = (Dali::WidgetView::WidgetView::WidgetViewSignalType *) &(arg1)->WidgetDeletedSignal();
642 } catch (std::out_of_range& e) {
644 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
646 } catch (std::exception& e) {
648 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
650 } catch (Dali::DaliException e) {
652 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
656 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
661 jresult = (void *)result;
666 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_WidgetView_WidgetCreationAbortedSignal(void * jarg1) {
668 Dali::WidgetView::WidgetView *arg1 = (Dali::WidgetView::WidgetView *) 0 ;
669 Dali::WidgetView::WidgetView::WidgetViewSignalType *result = 0 ;
671 arg1 = (Dali::WidgetView::WidgetView *)jarg1;
674 result = (Dali::WidgetView::WidgetView::WidgetViewSignalType *) &(arg1)->WidgetCreationAbortedSignal();
675 } catch (std::out_of_range& e) {
677 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
679 } catch (std::exception& e) {
681 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
683 } catch (Dali::DaliException e) {
685 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
689 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
694 jresult = (void *)result;
699 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_WidgetView_WidgetContentUpdatedSignal(void * jarg1) {
701 Dali::WidgetView::WidgetView *arg1 = (Dali::WidgetView::WidgetView *) 0 ;
702 Dali::WidgetView::WidgetView::WidgetViewSignalType *result = 0 ;
704 arg1 = (Dali::WidgetView::WidgetView *)jarg1;
707 result = (Dali::WidgetView::WidgetView::WidgetViewSignalType *) &(arg1)->WidgetContentUpdatedSignal();
708 } catch (std::out_of_range& e) {
710 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
712 } catch (std::exception& e) {
714 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
716 } catch (Dali::DaliException e) {
718 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
722 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
727 jresult = (void *)result;
732 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_WidgetView_WidgetUpdatePeriodChangedSignal(void * jarg1) {
734 Dali::WidgetView::WidgetView *arg1 = (Dali::WidgetView::WidgetView *) 0 ;
735 Dali::WidgetView::WidgetView::WidgetViewSignalType *result = 0 ;
737 arg1 = (Dali::WidgetView::WidgetView *)jarg1;
740 result = (Dali::WidgetView::WidgetView::WidgetViewSignalType *) &(arg1)->WidgetUpdatePeriodChangedSignal();
741 } catch (std::out_of_range& e) {
743 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
745 } catch (std::exception& e) {
747 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
749 } catch (Dali::DaliException e) {
751 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
755 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
760 jresult = (void *)result;
765 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_WidgetView_WidgetFaultedSignal(void * jarg1) {
767 Dali::WidgetView::WidgetView *arg1 = (Dali::WidgetView::WidgetView *) 0 ;
768 Dali::WidgetView::WidgetView::WidgetViewSignalType *result = 0 ;
770 arg1 = (Dali::WidgetView::WidgetView *)jarg1;
773 result = (Dali::WidgetView::WidgetView::WidgetViewSignalType *) &(arg1)->WidgetFaultedSignal();
774 } catch (std::out_of_range& e) {
776 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
778 } catch (std::exception& e) {
780 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
782 } catch (Dali::DaliException e) {
784 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
788 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
793 jresult = (void *)result;
799 //For widget view signal
800 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_WidgetViewSignal_Empty(void * jarg1) {
801 unsigned int jresult ;
802 Dali::Signal< void (Dali::WidgetView::WidgetView) > *arg1 = (Dali::Signal< void (Dali::WidgetView::WidgetView) > *) 0 ;
805 arg1 = (Dali::Signal< void (Dali::WidgetView::WidgetView) > *)jarg1;
808 result = (bool)Dali_Signal_Sl_void_Sp_Dali_WidgetView_WidgetView_SP__Sg__Empty((Dali::Signal< void (Dali::WidgetView::WidgetView) > const *)arg1);
809 } catch (std::out_of_range& e) {
811 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
813 } catch (std::exception& e) {
815 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
817 } catch (Dali::DaliException e) {
819 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
823 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
833 SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_WidgetViewSignal_GetConnectionCount(void * jarg1) {
834 unsigned long jresult ;
835 Dali::Signal< void (Dali::WidgetView::WidgetView) > *arg1 = (Dali::Signal< void (Dali::WidgetView::WidgetView) > *) 0 ;
838 arg1 = (Dali::Signal< void (Dali::WidgetView::WidgetView) > *)jarg1;
841 result = Dali_Signal_Sl_void_Sp_Dali_WidgetView_WidgetView_SP__Sg__GetConnectionCount((Dali::Signal< void (Dali::WidgetView::WidgetView) > const *)arg1);
842 } catch (std::out_of_range& e) {
844 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
846 } catch (std::exception& e) {
848 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
850 } catch (Dali::DaliException e) {
852 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
856 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
861 jresult = (unsigned long)result;
866 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WidgetViewSignal_Connect(void * jarg1, void * jarg2) {
867 Dali::Signal< void (Dali::WidgetView::WidgetView) > *arg1 = (Dali::Signal< void (Dali::WidgetView::WidgetView) > *) 0 ;
868 void (*arg2)(Dali::WidgetView::WidgetView) = (void (*)(Dali::WidgetView::WidgetView)) 0 ;
870 arg1 = (Dali::Signal< void (Dali::WidgetView::WidgetView) > *)jarg1;
871 arg2 = (void (*)(Dali::WidgetView::WidgetView))jarg2;
874 Dali_Signal_Sl_void_Sp_Dali_WidgetView_WidgetView_SP__Sg__Connect(arg1,arg2);
875 } catch (std::out_of_range& e) {
877 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
879 } catch (std::exception& e) {
881 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
883 } catch (Dali::DaliException e) {
885 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
889 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
897 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WidgetViewSignal_Disconnect(void * jarg1, void * jarg2) {
898 Dali::Signal< void (Dali::WidgetView::WidgetView) > *arg1 = (Dali::Signal< void (Dali::WidgetView::WidgetView) > *) 0 ;
899 void (*arg2)(Dali::WidgetView::WidgetView) = (void (*)(Dali::WidgetView::WidgetView)) 0 ;
901 arg1 = (Dali::Signal< void (Dali::WidgetView::WidgetView) > *)jarg1;
902 arg2 = (void (*)(Dali::WidgetView::WidgetView))jarg2;
905 Dali_Signal_Sl_void_Sp_Dali_WidgetView_WidgetView_SP__Sg__Disconnect(arg1,arg2);
906 } catch (std::out_of_range& e) {
908 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
910 } catch (std::exception& e) {
912 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
914 } catch (Dali::DaliException e) {
916 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
920 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
928 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WidgetViewSignal_Emit(void * jarg1, void * jarg2) {
929 Dali::Signal< void (Dali::WidgetView::WidgetView) > *arg1 = (Dali::Signal< void (Dali::WidgetView::WidgetView) > *) 0 ;
930 Dali::WidgetView::WidgetView arg2 ;
931 Dali::WidgetView::WidgetView *argp2 ;
933 arg1 = (Dali::Signal< void (Dali::WidgetView::WidgetView) > *)jarg1;
934 argp2 = (Dali::WidgetView::WidgetView *)jarg2;
936 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::WidgetView::WidgetView", 0);
942 Dali_Signal_Sl_void_Sp_Dali_WidgetView_WidgetView_SP__Sg__Emit(arg1,arg2);
943 } catch (std::out_of_range& e) {
945 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
947 } catch (std::exception& e) {
949 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
951 } catch (Dali::DaliException e) {
953 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
957 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
965 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_WidgetViewSignal() {
967 Dali::Signal< void (Dali::WidgetView::WidgetView) > *result = 0 ;
971 result = (Dali::Signal< void (Dali::WidgetView::WidgetView) > *)new Dali::Signal< void (Dali::WidgetView::WidgetView) >();
972 } catch (std::out_of_range& e) {
974 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
976 } catch (std::exception& e) {
978 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
980 } catch (Dali::DaliException e) {
982 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
986 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
991 jresult = (void *)result;
996 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_WidgetViewSignal(void * jarg1) {
997 Dali::Signal< void (Dali::WidgetView::WidgetView) > *arg1 = (Dali::Signal< void (Dali::WidgetView::WidgetView) > *) 0 ;
999 arg1 = (Dali::Signal< void (Dali::WidgetView::WidgetView) > *)jarg1;
1003 } catch (std::out_of_range& e) {
1005 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1007 } catch (std::exception& e) {
1009 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1011 } catch (Dali::DaliException e) {
1013 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1017 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;