Support legacy way to create InputMethodContext
[platform/core/uifw/dali-csharp-binder.git] / dali-csharp-binder / src / devel-property-wrap.cpp
1 /*
2  * Copyright (c) 2019 Samsung Electronics Co., Ltd.
3  *
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
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
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.
15  *
16  */
17
18 #ifndef CSHARP_DEVEL_PROPERTY
19 #define CSHARP_DEVEL_PROPERTY
20 #endif
21
22 #include "common.h"
23
24 #include <dali/devel-api/actors/actor-devel.h>
25 #include <dali/devel-api/rendering/renderer-devel.h>
26 #include <dali-toolkit/devel-api/controls/control-devel.h>
27 #include <dali-toolkit/devel-api/controls/buttons/button-devel.h>
28 #include <dali-toolkit/devel-api/controls/buttons/button-devel.h>
29 #include <dali-toolkit/public-api/visuals/visual-properties.h>
30 #include <dali-toolkit/public-api/controls/text-controls/hidden-input-properties.h>
31 #include <dali-toolkit/devel-api/controls/text-controls/text-label-devel.h>
32 #include <dali-toolkit/devel-api/visuals/image-visual-actions-devel.h>
33 #include <dali-toolkit/devel-api/visuals/animated-image-visual-actions-devel.h>
34
35
36 using namespace Dali;
37 using namespace Dali::Toolkit;
38 using signalType = DevelControl::VisualEventSignalType;
39 using visualSignalType = Signal< void(Control, Property::Index, Property::Index) >;
40 using SignalCallbackFuncType = void(*)(Control, Property::Index, Property::Index);
41
42 SWIGINTERN bool _CSharp_Dali_VisualEventSignal_Empty(signalType const *self) {
43   return self->Empty();
44 }
45 SWIGINTERN std::size_t _CSharp_Dali_VisualEventSignal_GetConnectionCount(signalType *self) {
46   return self->GetConnectionCount();
47 }
48 SWIGINTERN void _CSharp_Dali_VisualEventSignal_Connect(signalType *self, SignalCallbackFuncType func) {
49   self->Connect(func);
50 }
51 SWIGINTERN void _CSharp_Dali_VisualEventSignal_Disconnect(signalType *self, SignalCallbackFuncType func) {
52   self->Disconnect(func);
53 }
54 SWIGINTERN void _CSharp_Dali_VisualEventSignal_Emit(signalType *self, Control arg1, Property::Index arg2, Property::Index arg3) {
55   self->Emit(arg1, arg2, arg3);
56 }
57
58 #ifdef __cplusplus
59 extern "C" {
60 #endif
61
62 SWIGEXPORT int SWIGSTDCALL CSharp_Actor_Property_SIBLING_ORDER_get() {
63
64   return Dali::DevelActor::Property::SIBLING_ORDER;
65 }
66
67 SWIGEXPORT int SWIGSTDCALL CSharp_Actor_Property_OPACITY_get() {
68
69   return Dali::DevelActor::Property::OPACITY;
70 }
71
72 SWIGEXPORT int SWIGSTDCALL CSharp_Actor_Property_SCREEN_POSITION_get() {
73
74   return Dali::DevelActor::Property::SCREEN_POSITION;
75 }
76
77 SWIGEXPORT int SWIGSTDCALL CSharp_Actor_Property_POSITION_USES_ANCHOR_POINT_get() {
78
79   return Dali::DevelActor::Property::POSITION_USES_ANCHOR_POINT;
80 }
81
82 SWIGEXPORT int SWIGSTDCALL CSharp_Actor_Property_INHERIT_LAYOUT_DIRECTION_get() {
83   return Dali::DevelActor::Property::INHERIT_LAYOUT_DIRECTION;
84 }
85
86 SWIGEXPORT int SWIGSTDCALL CSharp_Actor_Property_LAYOUT_DIRECTION_get() {
87   return Dali::DevelActor::Property::LAYOUT_DIRECTION;
88 }
89
90 SWIGEXPORT int SWIGSTDCALL CSharp_View_Property_TOOLTIP_get() {
91   int jresult ;
92   int result;
93
94   result = (int)Dali::Toolkit::DevelControl::Property::TOOLTIP;
95   jresult = (int)result;
96   return jresult;
97 }
98
99 SWIGEXPORT int SWIGSTDCALL CSharp_View_Property_STATE_get() {
100   int jresult ;
101   int result;
102
103   result = (int)Dali::Toolkit::DevelControl::Property::STATE;
104   jresult = (int)result;
105   return jresult;
106 }
107
108 SWIGEXPORT int SWIGSTDCALL CSharp_View_Property_SUB_STATE_get() {
109   int jresult ;
110   int result;
111
112   result = (int)Dali::Toolkit::DevelControl::Property::SUB_STATE;
113   jresult = (int)result;
114   return jresult;
115 }
116
117 SWIGEXPORT int SWIGSTDCALL CSharp_View_Property_LEFT_FOCUSABLE_ACTOR_ID_get() {
118   return Dali::Toolkit::DevelControl::Property::LEFT_FOCUSABLE_ACTOR_ID;
119 }
120
121 SWIGEXPORT int SWIGSTDCALL CSharp_View_Property_RIGHT_FOCUSABLE_ACTOR_ID_get() {
122   return Dali::Toolkit::DevelControl::Property::RIGHT_FOCUSABLE_ACTOR_ID;
123 }
124
125 SWIGEXPORT int SWIGSTDCALL CSharp_View_Property_UP_FOCUSABLE_ACTOR_ID_get() {
126   return Dali::Toolkit::DevelControl::Property::UP_FOCUSABLE_ACTOR_ID;
127 }
128
129 SWIGEXPORT int SWIGSTDCALL CSharp_View_Property_DOWN_FOCUSABLE_ACTOR_ID_get() {
130   return Dali::Toolkit::DevelControl::Property::DOWN_FOCUSABLE_ACTOR_ID;
131 }
132
133 SWIGEXPORT int SWIGSTDCALL CSharp_ItemView_Property_LAYOUT_get() {
134   int jresult ;
135   int result;
136
137   result = (int)Dali::Toolkit::ItemView::Property::LAYOUT;
138   jresult = (int)result;
139   return jresult;
140 }
141
142 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_UNSELECTED_VISUAL_get() {
143   int jresult ;
144   int result;
145
146   result = (int)Dali::Toolkit::Button::Property::UNSELECTED_VISUAL;
147   jresult = (int)result;
148   return jresult;
149 }
150
151 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_SELECTED_VISUAL_get() {
152   int jresult ;
153   int result;
154
155   result = (int)Dali::Toolkit::Button::Property::SELECTED_VISUAL;
156   jresult = (int)result;
157   return jresult;
158 }
159
160 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_DISABLED_SELECTED_VISUAL_get() {
161   int jresult ;
162   int result;
163
164   result = (int)Dali::Toolkit::Button::Property::DISABLED_SELECTED_VISUAL;
165   jresult = (int)result;
166   return jresult;
167 }
168
169 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_DISABLED_UNSELECTED_VISUAL_get() {
170   int jresult ;
171   int result;
172
173   result = (int)Dali::Toolkit::Button::Property::DISABLED_UNSELECTED_VISUAL;
174   jresult = (int)result;
175   return jresult;
176 }
177
178 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_UNSELECTED_BACKGROUND_VISUAL_get() {
179   int jresult ;
180   int result;
181
182   result = (int)Dali::Toolkit::Button::Property::UNSELECTED_BACKGROUND_VISUAL;
183   jresult = (int)result;
184   return jresult;
185 }
186
187 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_SELECTED_BACKGROUND_VISUAL_get() {
188   int jresult ;
189   int result;
190
191   result = (int)Dali::Toolkit::Button::Property::SELECTED_BACKGROUND_VISUAL;
192   jresult = (int)result;
193   return jresult;
194 }
195
196 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_DISABLED_UNSELECTED_BACKGROUND_VISUAL_get() {
197   int jresult ;
198   int result;
199
200   result = (int)Dali::Toolkit::Button::Property::DISABLED_UNSELECTED_BACKGROUND_VISUAL;
201   jresult = (int)result;
202   return jresult;
203 }
204
205 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_DISABLED_SELECTED_BACKGROUND_VISUAL_get() {
206   int jresult ;
207   int result;
208
209   result = (int)Dali::Toolkit::Button::Property::DISABLED_SELECTED_BACKGROUND_VISUAL;
210   jresult = (int)result;
211   return jresult;
212 }
213
214 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_LABEL_RELATIVE_ALIGNMENT_get() {
215   int jresult ;
216   int result;
217
218   result = (int)Dali::Toolkit::DevelButton::Property::LABEL_RELATIVE_ALIGNMENT;
219   jresult = (int)result;
220   return jresult;
221 }
222
223 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_LABEL_PADDING_get() {
224   int jresult ;
225   int result;
226
227   result = (int)Dali::Toolkit::DevelButton::Property::LABEL_PADDING;
228   jresult = (int)result;
229   return jresult;
230 }
231
232 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_VISUAL_PADDING_get() {
233   int jresult ;
234   int result;
235
236   result = (int)Dali::Toolkit::DevelButton::Property::VISUAL_PADDING;
237   jresult = (int)result;
238   return jresult;
239 }
240
241 SWIGEXPORT int SWIGSTDCALL CSharp_Visual_Property_TRANSFORM_get() {
242   int jresult ;
243   int result;
244
245   result = (int)Dali::Toolkit::Visual::Property::TRANSFORM;
246   jresult = (int)result;
247   return jresult;
248 }
249
250 SWIGEXPORT int SWIGSTDCALL CSharp_Visual_Property_PREMULTIPLIED_ALPHA_get() {
251   int jresult ;
252   int result;
253
254   result = (int)Dali::Toolkit::Visual::Property::PREMULTIPLIED_ALPHA;
255   jresult = (int)result;
256   return jresult;
257 }
258
259 SWIGEXPORT int SWIGSTDCALL CSharp_Visual_Property_MIX_COLOR_get() {
260   int jresult ;
261   int result;
262
263   result = (int)Dali::Toolkit::Visual::Property::MIX_COLOR;
264   jresult = (int)result;
265   return jresult;
266 }
267
268 SWIGEXPORT int SWIGSTDCALL CSharp_TextLabel_Property_PIXEL_SIZE_get() {
269   int jresult ;
270   int result;
271
272   result = (int)Dali::Toolkit::TextLabel::Property::PIXEL_SIZE;
273   jresult = (int)result;
274   return jresult;
275 }
276
277 SWIGEXPORT int SWIGSTDCALL CSharp_TextLabel_Property_ELLIPSIS_get() {
278   int jresult ;
279   int result;
280
281   result = (int)Dali::Toolkit::TextLabel::Property::ELLIPSIS;
282   jresult = (int)result;
283   return jresult;
284 }
285
286 SWIGEXPORT int SWIGSTDCALL CSharp_TextLabel_Property_AUTO_SCROLL_STOP_MODE_get() {
287   int jresult ;
288   int result;
289
290   result = (int)Dali::Toolkit::TextLabel::Property::AUTO_SCROLL_STOP_MODE;
291   jresult = (int)result;
292   return jresult;
293 }
294
295 SWIGEXPORT int SWIGSTDCALL CSharp_TextLabel_Property_AUTO_SCROLL_LOOP_DELAY_get() {
296   int jresult ;
297   int result;
298
299   result = (int)Dali::Toolkit::TextLabel::Property::AUTO_SCROLL_LOOP_DELAY;
300   jresult = (int)result;
301   return jresult;
302 }
303
304 SWIGEXPORT int SWIGSTDCALL CSharp_HIDDENINPUT_PROPERTY_MODE_get() {
305   int jresult ;
306   int result;
307
308   {
309     try {
310       result = (int)Dali::Toolkit::HiddenInput::Property::MODE;
311     } catch (std::out_of_range& e) {
312       {
313         SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
314       };
315     } catch (std::exception& e) {
316       {
317         SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
318       };
319     } catch (Dali::DaliException e) {
320       {
321         SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
322       };
323     } catch (...) {
324       {
325         SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
326       };
327     }
328   }
329
330   jresult = (int)result;
331   return jresult;
332 }
333
334 SWIGEXPORT int SWIGSTDCALL CSharp_HIDDENINPUT_PROPERTY_SUBSTITUTE_CHARACTER_get() {
335   int jresult ;
336   int result;
337
338   {
339     try {
340       result = (int)Dali::Toolkit::HiddenInput::Property::SUBSTITUTE_CHARACTER;
341     } catch (std::out_of_range& e) {
342       {
343         SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
344       };
345     } catch (std::exception& e) {
346       {
347         SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
348       };
349     } catch (Dali::DaliException e) {
350       {
351         SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
352       };
353     } catch (...) {
354       {
355         SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
356       };
357     }
358   }
359
360   jresult = (int)result;
361   return jresult;
362 }
363
364 SWIGEXPORT int SWIGSTDCALL CSharp_HIDDENINPUT_PROPERTY_SUBSTITUTE_COUNT_get() {
365   int jresult ;
366   int result;
367
368   {
369     try {
370       result = (int)Dali::Toolkit::HiddenInput::Property::SUBSTITUTE_COUNT;
371     } catch (std::out_of_range& e) {
372       {
373         SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
374       };
375     } catch (std::exception& e) {
376       {
377         SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
378       };
379     } catch (Dali::DaliException e) {
380       {
381         SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
382       };
383     } catch (...) {
384       {
385         SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
386       };
387     }
388   }
389
390   jresult = (int)result;
391   return jresult;
392 }
393
394 SWIGEXPORT int SWIGSTDCALL CSharp_HIDDENINPUT_PROPERTY_SHOW_LAST_CHARACTER_DURATION_get() {
395   int jresult ;
396   int result;
397
398   {
399     try {
400       result = (int)Dali::Toolkit::HiddenInput::Property::SHOW_LAST_CHARACTER_DURATION;
401     } catch (std::out_of_range& e) {
402       {
403         SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
404       };
405     } catch (std::exception& e) {
406       {
407         SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
408       };
409     } catch (Dali::DaliException e) {
410       {
411         SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
412       };
413     } catch (...) {
414       {
415         SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
416       };
417     }
418   }
419
420   jresult = (int)result;
421   return jresult;
422 }
423
424 SWIGEXPORT int SWIGSTDCALL CSharp_TextLabel_Property_LINE_COUNT_get() {
425   int jresult ;
426   int result;
427
428   result = (int)Dali::Toolkit::TextLabel::Property::LINE_COUNT;
429   jresult = (int)result;
430   return jresult;
431 }
432
433 SWIGEXPORT int SWIGSTDCALL CSharp_TextLabel_Property_LINE_WRAP_MODE_get() {
434   int jresult ;
435   int result;
436
437   result = (int)Dali::Toolkit::TextLabel::Property::LINE_WRAP_MODE;
438   jresult = (int)result;
439   return jresult;
440 }
441
442 SWIGEXPORT int SWIGSTDCALL CSharp_TextLabel_Property_TEXT_DIRECTION_get() {
443   int jresult ;
444   int result;
445
446   result = (int)Dali::Toolkit::DevelTextLabel::Property::TEXT_DIRECTION;
447   jresult = (int)result;
448   return jresult;
449 }
450
451 SWIGEXPORT int SWIGSTDCALL CSharp_TextLabel_Property_VERTICAL_LINE_ALIGNMENT_get() {
452   int jresult ;
453   int result;
454
455   result = (int)Dali::Toolkit::DevelTextLabel::Property::VERTICAL_LINE_ALIGNMENT;
456   jresult = (int)result;
457   return jresult;
458 }
459
460 SWIGEXPORT int SWIGSTDCALL CSharp_TextLabel_Property_MATCH_SYSTEM_LANGUAGE_DIRECTION_get() {
461   int jresult;
462   int result;
463
464   result = (int)Dali::Toolkit::DevelTextLabel::Property::MATCH_SYSTEM_LANGUAGE_DIRECTION;
465   jresult = (int)result;
466   return jresult;
467 }
468
469 SWIGEXPORT int SWIGSTDCALL CSharp_TextEditor_Property_LINE_WRAP_MODE_get() {
470   int jresult ;
471   int result;
472
473   result = (int)Dali::Toolkit::TextEditor::Property::LINE_WRAP_MODE;
474   jresult = (int)result;
475   return jresult;
476 }
477
478 SWIGEXPORT int SWIGSTDCALL CSharp_ImageView_IMAGE_VISUAL_ACTION_RELOAD_get()
479 {
480   return (int)Dali::Toolkit::DevelImageVisual::Action::RELOAD;
481 }
482
483 SWIGEXPORT int SWIGSTDCALL CSharp_ImageView_IMAGE_VISUAL_ACTION_PLAY_get()
484 {
485   return (int)Dali::Toolkit::DevelAnimatedImageVisual::Action::PLAY;
486 }
487
488 SWIGEXPORT int SWIGSTDCALL CSharp_ImageView_IMAGE_VISUAL_ACTION_PAUSE_get()
489 {
490   return (int)Dali::Toolkit::DevelAnimatedImageVisual::Action::PAUSE;
491 }
492
493 SWIGEXPORT int SWIGSTDCALL CSharp_ImageView_IMAGE_VISUAL_ACTION_STOP_get()
494 {
495   return (int)Dali::Toolkit::DevelAnimatedImageVisual::Action::STOP;
496 }
497
498
499
500 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_VisualEventSignal_Empty(void * jarg1) {
501   unsigned int jresult;
502   signalType *arg1 = (signalType *)0;
503   bool result;
504
505   arg1 = (signalType *)jarg1;
506   {
507     try {
508       result = (bool)_CSharp_Dali_VisualEventSignal_Empty((signalType *)arg1);
509     } catch (std::out_of_range& e) {
510       {
511         SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
512       };
513     } catch (std::exception& e) {
514       {
515         SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
516       };
517     } catch (Dali::DaliException e) {
518       {
519         SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
520       };
521     } catch (...) {
522       {
523         SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
524       };
525     }
526   }
527
528   jresult = result;
529   return jresult;
530 }
531
532 SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_VisualEventSignal_GetConnectionCount(void * jarg1) {
533   unsigned long jresult;
534   signalType *arg1 = (signalType *)0;
535   std::size_t result;
536
537   arg1 = (signalType *)jarg1;
538   {
539     try {
540       result = _CSharp_Dali_VisualEventSignal_GetConnectionCount((signalType *)arg1);
541     } catch (std::out_of_range& e) {
542       {
543         SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
544       };
545     } catch (std::exception& e) {
546       {
547         SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
548       };
549     } catch (Dali::DaliException e) {
550       {
551         SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
552       };
553     } catch (...) {
554       {
555         SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
556       };
557     }
558   }
559
560   jresult = (unsigned long)result;
561   return jresult;
562 }
563
564 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_VisualEventSignal_Connect(void * jarg1, void * jarg2) {
565   signalType *arg1 = (signalType *)0;
566   SignalCallbackFuncType arg2 = (SignalCallbackFuncType)0;
567
568   arg1 = (signalType *)jarg1;
569   arg2 = (SignalCallbackFuncType)jarg2;
570   {
571     try {
572       _CSharp_Dali_VisualEventSignal_Connect(arg1, arg2);
573     } catch (std::out_of_range& e) {
574       {
575         SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
576       };
577     } catch (std::exception& e) {
578       {
579         SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
580       };
581     } catch (Dali::DaliException e) {
582       {
583         SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
584       };
585     } catch (...) {
586       {
587         SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
588       };
589     }
590   }
591
592 }
593
594 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_VisualEventSignal_Disconnect(void * jarg1, void * jarg2) {
595   signalType *arg1 = (signalType *)0;
596   SignalCallbackFuncType arg2 = (SignalCallbackFuncType)0;
597
598   arg1 = (signalType *)jarg1;
599   arg2 = (SignalCallbackFuncType)jarg2;
600   {
601     try {
602       _CSharp_Dali_VisualEventSignal_Disconnect(arg1, arg2);
603     } catch (std::out_of_range& e) {
604       {
605         SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
606       };
607     } catch (std::exception& e) {
608       {
609         SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
610       };
611     } catch (Dali::DaliException e) {
612       {
613         SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
614       };
615     } catch (...) {
616       {
617         SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
618       };
619     }
620   }
621
622 }
623
624 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_VisualEventSignal_Emit(void * jarg1, void * jarg2, int jarg3, int jarg4) {
625   signalType *arg1 = (signalType *)0;
626   Control *arg2 = (Control *)0;
627   Dali::Property::Index arg3 = 0;
628   Dali::Property::Index arg4 = 0;
629
630   arg1 = (signalType *)jarg1;
631   arg2 = (Control *)jarg2;
632   arg3 = (Dali::Property::Index)jarg3;
633   arg4 = (Dali::Property::Index)jarg4;
634   {
635     try {
636       _CSharp_Dali_VisualEventSignal_Emit(arg1, *arg2, arg3, arg4);
637     } catch (std::out_of_range& e) {
638       {
639         SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
640       };
641     } catch (std::exception& e) {
642       {
643         SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
644       };
645     } catch (Dali::DaliException e) {
646       {
647         SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
648       };
649     } catch (...) {
650       {
651         SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
652       };
653     }
654   }
655
656 }
657
658 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_VisualEventSignal() {
659   void * jresult;
660   signalType *result = 0;
661
662   {
663     try {
664       result = (signalType *)new Dali::Signal< signalType >();
665     } catch (std::out_of_range& e) {
666       {
667         SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
668       };
669     } catch (std::exception& e) {
670       {
671         SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
672       };
673     } catch (Dali::DaliException e) {
674       {
675         SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
676       };
677     } catch (...) {
678       {
679         SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
680       };
681     }
682   }
683
684   jresult = (void *)result;
685   return jresult;
686 }
687
688 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_VisualEventSignal(void * jarg1) {
689   signalType *arg1 = (signalType *)0;
690
691   arg1 = (signalType *)jarg1;
692   {
693     try {
694       delete arg1;
695     } catch (std::out_of_range& e) {
696       {
697         SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
698       };
699     } catch (std::exception& e) {
700       {
701         SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
702       };
703     } catch (Dali::DaliException e) {
704       {
705         SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
706       };
707     } catch (...) {
708       {
709         SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
710       };
711     }
712   }
713
714 }
715
716 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_View_VisualEventSignal(void * jarg1) {
717   void * jresult;
718   Control *arg1 = (Dali::Toolkit::Control *) 0;
719   visualSignalType *result;
720
721   arg1 = (Dali::Toolkit::Control *)jarg1;
722   {
723     try {
724       result = (visualSignalType*)&(DevelControl::VisualEventSignal(*arg1));
725     } catch (std::out_of_range& e) {
726       {
727         SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
728       };
729     } catch (std::exception& e) {
730       {
731         SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
732       };
733     } catch (Dali::DaliException e) {
734       {
735         SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
736       };
737     } catch (...) {
738       {
739         SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
740       };
741     }
742   }
743
744   jresult = (void *)(result);
745   return jresult;
746 }
747
748
749 #ifdef __cplusplus
750 }
751 #endif