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.
22 #include <dali/public-api/watch/watch-time.h>
23 #include <dali/public-api/watch/watch-application.h>
25 /* Callback for returning strings to C# without leaking memory */
26 typedef char * (SWIGSTDCALL* SWIG_CSharpStringHelperCallback)(const char *);
27 extern SWIG_CSharpStringHelperCallback SWIG_csharp_string_callback;
30 // keep argcs and argv so they're always available to DALi
32 char **argWatchV = NULL;
34 SWIGINTERN bool Dali_Signal_Sl_void_Sp_Dali_Application_SA__Sc_Dali_WatchTime_SS_const_SA__SP__Sg__Empty(Dali::Signal< void (Dali::Application &,Dali::WatchTime const &) > const *self){
37 SWIGINTERN std::size_t Dali_Signal_Sl_void_Sp_Dali_Application_SA__Sc_Dali_WatchTime_SS_const_SA__SP__Sg__GetConnectionCount(Dali::Signal< void (Dali::Application &,Dali::WatchTime const &) > const *self){
38 return self->GetConnectionCount();
40 SWIGINTERN void Dali_Signal_Sl_void_Sp_Dali_Application_SA__Sc_Dali_WatchTime_SS_const_SA__SP__Sg__Connect(Dali::Signal< void (Dali::Application &,Dali::WatchTime const &) > *self,void (*func)(Dali::Application &,Dali::WatchTime const &)){
41 self->Connect( func );
43 SWIGINTERN void Dali_Signal_Sl_void_Sp_Dali_Application_SA__Sc_Dali_WatchTime_SS_const_SA__SP__Sg__Disconnect(Dali::Signal< void (Dali::Application &,Dali::WatchTime const &) > *self,void (*func)(Dali::Application &,Dali::WatchTime const &)){
44 self->Disconnect( func );
46 SWIGINTERN void Dali_Signal_Sl_void_Sp_Dali_Application_SA__Sc_Dali_WatchTime_SS_const_SA__SP__Sg__Emit(Dali::Signal< void (Dali::Application &,Dali::WatchTime const &) > *self,Dali::Application &arg1,Dali::WatchTime const &arg2){
47 self->Emit( arg1, arg2 );
50 SWIGINTERN bool Dali_Signal_Sl_void_Sp_Dali_Application_SA__Sc_bool_SP__Sg__Empty(Dali::Signal< void (Dali::Application &,bool) > const *self){
53 SWIGINTERN std::size_t Dali_Signal_Sl_void_Sp_Dali_Application_SA__Sc_bool_SP__Sg__GetConnectionCount(Dali::Signal< void (Dali::Application &,bool) > const *self){
54 return self->GetConnectionCount();
56 SWIGINTERN void Dali_Signal_Sl_void_Sp_Dali_Application_SA__Sc_bool_SP__Sg__Connect(Dali::Signal< void (Dali::Application &,bool) > *self,void (*func)(Dali::Application &,bool)){
57 self->Connect( func );
59 SWIGINTERN void Dali_Signal_Sl_void_Sp_Dali_Application_SA__Sc_bool_SP__Sg__Disconnect(Dali::Signal< void (Dali::Application &,bool) > *self,void (*func)(Dali::Application &,bool)){
60 self->Disconnect( func );
62 SWIGINTERN void Dali_Signal_Sl_void_Sp_Dali_Application_SA__Sc_bool_SP__Sg__Emit(Dali::Signal< void (Dali::Application &,bool) > *self,Dali::Application &arg1,bool arg2){
63 self->Emit( arg1, arg2 );
72 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_WatchTime() {
74 Dali::WatchTime *result = 0 ;
78 result = (Dali::WatchTime *)new Dali::WatchTime();
79 } catch (std::out_of_range& e) {
81 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
83 } catch (std::exception& e) {
85 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
89 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
93 jresult = (void *)result;
98 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_WatchTime(void * jarg1) {
99 Dali::WatchTime *arg1 = (Dali::WatchTime *) 0 ;
101 arg1 = (Dali::WatchTime *)jarg1;
105 } catch (std::out_of_range& e) {
107 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
109 } catch (std::exception& e) {
111 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
115 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
122 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WatchTime_GetHour(void * jarg1) {
124 Dali::WatchTime *arg1 = (Dali::WatchTime *) 0 ;
127 arg1 = (Dali::WatchTime *)jarg1;
130 result = (int)((Dali::WatchTime const *)arg1)->GetHour();
131 } catch (std::out_of_range& e) {
133 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
135 } catch (std::exception& e) {
137 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
141 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
150 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WatchTime_GetHour24(void * jarg1) {
152 Dali::WatchTime *arg1 = (Dali::WatchTime *) 0 ;
155 arg1 = (Dali::WatchTime *)jarg1;
158 result = (int)((Dali::WatchTime const *)arg1)->GetHour24();
159 } catch (std::out_of_range& e) {
161 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
163 } catch (std::exception& e) {
165 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
169 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
178 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WatchTime_GetMinute(void * jarg1) {
180 Dali::WatchTime *arg1 = (Dali::WatchTime *) 0 ;
183 arg1 = (Dali::WatchTime *)jarg1;
186 result = (int)((Dali::WatchTime const *)arg1)->GetMinute();
187 } catch (std::out_of_range& e) {
189 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
191 } catch (std::exception& e) {
193 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
197 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
206 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WatchTime_GetSecond(void * jarg1) {
208 Dali::WatchTime *arg1 = (Dali::WatchTime *) 0 ;
211 arg1 = (Dali::WatchTime *)jarg1;
214 result = (int)((Dali::WatchTime const *)arg1)->GetSecond();
215 } catch (std::out_of_range& e) {
217 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
219 } catch (std::exception& e) {
221 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
225 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
234 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WatchTime_GetMillisecond(void * jarg1) {
236 Dali::WatchTime *arg1 = (Dali::WatchTime *) 0 ;
239 arg1 = (Dali::WatchTime *)jarg1;
242 result = (int)((Dali::WatchTime const *)arg1)->GetMillisecond();
243 } catch (std::out_of_range& e) {
245 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
247 } catch (std::exception& e) {
249 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
253 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
262 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WatchTime_GetYear(void * jarg1) {
264 Dali::WatchTime *arg1 = (Dali::WatchTime *) 0 ;
267 arg1 = (Dali::WatchTime *)jarg1;
270 result = (int)((Dali::WatchTime const *)arg1)->GetYear();
271 } catch (std::out_of_range& e) {
273 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
275 } catch (std::exception& e) {
277 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
281 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
290 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WatchTime_GetMonth(void * jarg1) {
292 Dali::WatchTime *arg1 = (Dali::WatchTime *) 0 ;
295 arg1 = (Dali::WatchTime *)jarg1;
298 result = (int)((Dali::WatchTime const *)arg1)->GetMonth();
299 } catch (std::out_of_range& e) {
301 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
303 } catch (std::exception& e) {
305 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
309 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
318 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WatchTime_GetDay(void * jarg1) {
320 Dali::WatchTime *arg1 = (Dali::WatchTime *) 0 ;
323 arg1 = (Dali::WatchTime *)jarg1;
326 result = (int)((Dali::WatchTime const *)arg1)->GetDay();
327 } catch (std::out_of_range& e) {
329 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
331 } catch (std::exception& e) {
333 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
337 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
346 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_WatchTime_GetDayOfWeek(void * jarg1) {
348 Dali::WatchTime *arg1 = (Dali::WatchTime *) 0 ;
351 arg1 = (Dali::WatchTime *)jarg1;
354 result = (int)((Dali::WatchTime const *)arg1)->GetDayOfWeek();
355 } catch (std::out_of_range& e) {
357 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
359 } catch (std::exception& e) {
361 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
365 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
374 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_WatchTime_GetUtcTime(void * jarg1) {
376 Dali::WatchTime *arg1 = (Dali::WatchTime *) 0 ;
379 arg1 = (Dali::WatchTime *)jarg1;
382 result = ((Dali::WatchTime const *)arg1)->GetUtcTime();
383 } catch (std::out_of_range& e) {
385 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
387 } catch (std::exception& e) {
389 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
393 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
397 jresult = new tm((const tm &)result);
402 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_WatchTime_GetUtcTimeStamp(void * jarg1) {
404 Dali::WatchTime *arg1 = (Dali::WatchTime *) 0 ;
407 arg1 = (Dali::WatchTime *)jarg1;
410 result = ((Dali::WatchTime const *)arg1)->GetUtcTimeStamp();
411 } catch (std::out_of_range& e) {
413 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
415 } catch (std::exception& e) {
417 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
421 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
425 jresult = new time_t((const time_t &)result);
430 SWIGEXPORT char * SWIGSTDCALL CSharp_Dali_WatchTime_GetTimeZone(void * jarg1) {
432 Dali::WatchTime *arg1 = (Dali::WatchTime *) 0 ;
435 arg1 = (Dali::WatchTime *)jarg1;
438 result = (char *)((Dali::WatchTime const *)arg1)->GetTimeZone();
439 } catch (std::out_of_range& e) {
441 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
443 } catch (std::exception& e) {
445 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
449 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
453 jresult = SWIG_csharp_string_callback((const char *)result);
458 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_WatchTime_GetDaylightSavingTimeStatus(void * jarg1) {
459 unsigned int jresult ;
460 Dali::WatchTime *arg1 = (Dali::WatchTime *) 0 ;
463 arg1 = (Dali::WatchTime *)jarg1;
466 result = (bool)((Dali::WatchTime const *)arg1)->GetDaylightSavingTimeStatus();
467 } catch (std::out_of_range& e) {
469 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
471 } catch (std::exception& e) {
473 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
477 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
486 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_WatchApplication_New__SWIG_0() {
488 Dali::WatchApplication result;
492 result = Dali::WatchApplication::New();
493 } catch (std::out_of_range& e) {
495 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
497 } catch (std::exception& e) {
499 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
503 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
507 jresult = new Dali::WatchApplication((const Dali::WatchApplication &)result);
512 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_WatchApplication_New__SWIG_1(int jarg1, char * jarg2) {
514 int *arg1 = (int *) 0 ;
516 Dali::WatchApplication result;
522 argWatchV = new char*[jarg1 + 1];
524 retPtr = strtok_r(jarg2, " ", &nextPtr);
525 argWatchV[index] = new char[strlen(retPtr) + 1];
526 strncpy(argWatchV[index], retPtr, strlen(retPtr));
527 argWatchV[index][strlen(retPtr)] = '\0';
530 while( index < jarg1 )
532 retPtr = strtok_r(NULL, " ", &nextPtr);
533 argWatchV[index] = new char[strlen(retPtr)+1];
534 strncpy(argWatchV[index], retPtr, strlen(retPtr));
535 argWatchV[index][strlen(retPtr)] = '\0';
540 argWatchV[jarg1] = NULL;
546 result = Dali::WatchApplication::New(arg1,arg2);
547 } catch (std::out_of_range& e) {
549 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
551 } catch (std::exception& e) {
553 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
557 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
561 jresult = new Dali::WatchApplication((const Dali::WatchApplication &)result);
566 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_WatchApplication_New__SWIG_2(int jarg1, char * jarg2, char * jarg3) {
568 int *arg1 = (int *) 0 ;
570 std::string *arg3 = 0 ;
571 Dali::WatchApplication result;
577 argWatchV = new char*[jarg1 + 1];
579 retPtr = strtok_r(jarg2, " ", &nextPtr);
580 argWatchV[index] = new char[strlen(retPtr) + 1];
581 strncpy(argWatchV[index], retPtr, strlen(retPtr));
582 argWatchV[index][strlen(retPtr)] = '\0';
585 while( index < jarg1 )
587 retPtr = strtok_r(NULL, " ", &nextPtr);
588 argWatchV[index] = new char[strlen(retPtr)+1];
589 strncpy(argWatchV[index], retPtr, strlen(retPtr));
590 argWatchV[index][strlen(retPtr)] = '\0';
595 argWatchV[jarg1] = NULL;
600 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
603 std::string arg3_str(jarg3);
607 result = Dali::WatchApplication::New(arg1,arg2,(std::string const &)*arg3);
608 } catch (std::out_of_range& e) {
610 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
612 } catch (std::exception& e) {
614 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
618 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
622 jresult = new Dali::WatchApplication((const Dali::WatchApplication &)result);
624 //argout typemap for const std::string&
630 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_WatchApplication__SWIG_0() {
632 Dali::WatchApplication *result = 0 ;
636 result = (Dali::WatchApplication *)new Dali::WatchApplication();
637 } catch (std::out_of_range& e) {
639 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
641 } catch (std::exception& e) {
643 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
647 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
651 jresult = (void *)result;
656 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_WatchApplication__SWIG_1(void * jarg1) {
658 Dali::WatchApplication *arg1 = 0 ;
659 Dali::WatchApplication *result = 0 ;
661 arg1 = (Dali::WatchApplication *)jarg1;
663 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::WatchApplication const & type is null", 0);
668 result = (Dali::WatchApplication *)new Dali::WatchApplication((Dali::WatchApplication const &)*arg1);
669 } catch (std::out_of_range& e) {
671 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
673 } catch (std::exception& e) {
675 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
679 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
683 jresult = (void *)result;
688 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_WatchApplication_Assign(void * jarg1, void * jarg2) {
690 Dali::WatchApplication *arg1 = (Dali::WatchApplication *) 0 ;
691 Dali::WatchApplication *arg2 = 0 ;
692 Dali::WatchApplication *result = 0 ;
694 arg1 = (Dali::WatchApplication *)jarg1;
695 arg2 = (Dali::WatchApplication *)jarg2;
697 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::WatchApplication const & type is null", 0);
702 result = (Dali::WatchApplication *) &(arg1)->operator =((Dali::WatchApplication const &)*arg2);
703 } catch (std::out_of_range& e) {
705 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
707 } catch (std::exception& e) {
709 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
713 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
717 jresult = (void *)result;
722 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_WatchApplication(void * jarg1) {
723 Dali::WatchApplication *arg1 = (Dali::WatchApplication *) 0 ;
725 arg1 = (Dali::WatchApplication *)jarg1;
732 for (int i=0; i<argWatchC+1; i++)
734 delete [] argWatchV[i];
738 } catch (std::out_of_range& e) {
740 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
742 } catch (std::exception& e) {
744 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
748 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
755 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_WatchApplication_TimeTickSignal(void * jarg1) {
757 Dali::WatchApplication *arg1 = (Dali::WatchApplication *) 0 ;
758 Dali::WatchApplication::WatchTimeSignal *result = 0 ;
760 arg1 = (Dali::WatchApplication *)jarg1;
763 result = (Dali::WatchApplication::WatchTimeSignal *) &(arg1)->TimeTickSignal();
764 } catch (std::out_of_range& e) {
766 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
768 } catch (std::exception& e) {
770 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
774 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
778 jresult = (void *)result;
783 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_WatchApplication_AmbientTickSignal(void * jarg1) {
785 Dali::WatchApplication *arg1 = (Dali::WatchApplication *) 0 ;
786 Dali::WatchApplication::WatchTimeSignal *result = 0 ;
788 arg1 = (Dali::WatchApplication *)jarg1;
791 result = (Dali::WatchApplication::WatchTimeSignal *) &(arg1)->AmbientTickSignal();
792 } catch (std::out_of_range& e) {
794 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
796 } catch (std::exception& e) {
798 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
802 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
806 jresult = (void *)result;
811 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_WatchApplication_AmbientChangedSignal(void * jarg1) {
813 Dali::WatchApplication *arg1 = (Dali::WatchApplication *) 0 ;
814 Dali::WatchApplication::WatchBoolSignal *result = 0 ;
816 arg1 = (Dali::WatchApplication *)jarg1;
819 result = (Dali::WatchApplication::WatchBoolSignal *) &(arg1)->AmbientChangedSignal();
820 } catch (std::out_of_range& e) {
822 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
824 } catch (std::exception& e) {
826 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
830 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
834 jresult = (void *)result;
839 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_WatchTimeSignal_Empty(void * jarg1) {
840 unsigned int jresult ;
841 Dali::Signal< void (Dali::Application &,Dali::WatchTime const &) > *arg1 = (Dali::Signal< void (Dali::Application &,Dali::WatchTime const &) > *) 0 ;
844 arg1 = (Dali::Signal< void (Dali::Application &,Dali::WatchTime const &) > *)jarg1;
847 result = (bool)Dali_Signal_Sl_void_Sp_Dali_Application_SA__Sc_Dali_WatchTime_SS_const_SA__SP__Sg__Empty((Dali::Signal< void (Dali::Application &,Dali::WatchTime const &) > const *)arg1);
848 } catch (std::out_of_range& e) {
850 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
852 } catch (std::exception& e) {
854 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
858 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
867 SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_WatchTimeSignal_GetConnectionCount(void * jarg1) {
868 unsigned long jresult ;
869 Dali::Signal< void (Dali::Application &,Dali::WatchTime const &) > *arg1 = (Dali::Signal< void (Dali::Application &,Dali::WatchTime const &) > *) 0 ;
872 arg1 = (Dali::Signal< void (Dali::Application &,Dali::WatchTime const &) > *)jarg1;
875 result = Dali_Signal_Sl_void_Sp_Dali_Application_SA__Sc_Dali_WatchTime_SS_const_SA__SP__Sg__GetConnectionCount((Dali::Signal< void (Dali::Application &,Dali::WatchTime const &) > const *)arg1);
876 } catch (std::out_of_range& e) {
878 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
880 } catch (std::exception& e) {
882 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
886 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
890 jresult = (unsigned long)result;
895 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WatchTimeSignal_Connect(void * jarg1, void * jarg2) {
896 Dali::Signal< void (Dali::Application &,Dali::WatchTime const &) > *arg1 = (Dali::Signal< void (Dali::Application &,Dali::WatchTime const &) > *) 0 ;
897 void (*arg2)(Dali::Application &,Dali::WatchTime const &) = (void (*)(Dali::Application &,Dali::WatchTime const &)) 0 ;
899 arg1 = (Dali::Signal< void (Dali::Application &,Dali::WatchTime const &) > *)jarg1;
900 arg2 = (void (*)(Dali::Application &,Dali::WatchTime const &))jarg2;
903 Dali_Signal_Sl_void_Sp_Dali_Application_SA__Sc_Dali_WatchTime_SS_const_SA__SP__Sg__Connect(arg1,arg2);
904 } catch (std::out_of_range& e) {
906 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
908 } catch (std::exception& e) {
910 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
914 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
921 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WatchTimeSignal_Disconnect(void * jarg1, void * jarg2) {
922 Dali::Signal< void (Dali::Application &,Dali::WatchTime const &) > *arg1 = (Dali::Signal< void (Dali::Application &,Dali::WatchTime const &) > *) 0 ;
923 void (*arg2)(Dali::Application &,Dali::WatchTime const &) = (void (*)(Dali::Application &,Dali::WatchTime const &)) 0 ;
925 arg1 = (Dali::Signal< void (Dali::Application &,Dali::WatchTime const &) > *)jarg1;
926 arg2 = (void (*)(Dali::Application &,Dali::WatchTime const &))jarg2;
929 Dali_Signal_Sl_void_Sp_Dali_Application_SA__Sc_Dali_WatchTime_SS_const_SA__SP__Sg__Disconnect(arg1,arg2);
930 } catch (std::out_of_range& e) {
932 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
934 } catch (std::exception& e) {
936 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
940 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
947 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WatchTimeSignal_Emit(void * jarg1, void * jarg2, void * jarg3) {
948 Dali::Signal< void (Dali::Application &,Dali::WatchTime const &) > *arg1 = (Dali::Signal< void (Dali::Application &,Dali::WatchTime const &) > *) 0 ;
949 Dali::Application *arg2 = 0 ;
950 Dali::WatchTime *arg3 = 0 ;
952 arg1 = (Dali::Signal< void (Dali::Application &,Dali::WatchTime const &) > *)jarg1;
953 arg2 = (Dali::Application *)jarg2;
955 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Application & type is null", 0);
958 arg3 = (Dali::WatchTime *)jarg3;
960 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::WatchTime const & type is null", 0);
965 Dali_Signal_Sl_void_Sp_Dali_Application_SA__Sc_Dali_WatchTime_SS_const_SA__SP__Sg__Emit(arg1,*arg2,(Dali::WatchTime const &)*arg3);
966 } catch (std::out_of_range& e) {
968 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
970 } catch (std::exception& e) {
972 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
976 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
983 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_WatchTimeSignal() {
985 Dali::Signal< void (Dali::Application &,Dali::WatchTime const &) > *result = 0 ;
989 result = (Dali::Signal< void (Dali::Application &,Dali::WatchTime const &) > *)new Dali::Signal< void (Dali::Application &,Dali::WatchTime const &) >();
990 } catch (std::out_of_range& e) {
992 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
994 } catch (std::exception& e) {
996 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1000 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1004 jresult = (void *)result;
1009 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_WatchTimeSignal(void * jarg1) {
1010 Dali::Signal< void (Dali::Application &,Dali::WatchTime const &) > *arg1 = (Dali::Signal< void (Dali::Application &,Dali::WatchTime const &) > *) 0 ;
1012 arg1 = (Dali::Signal< void (Dali::Application &,Dali::WatchTime const &) > *)jarg1;
1016 } catch (std::out_of_range& e) {
1018 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1020 } catch (std::exception& e) {
1022 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1026 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1033 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_WatchBoolSignal_Empty(void * jarg1) {
1034 unsigned int jresult ;
1035 Dali::Signal< void (Dali::Application &,bool) > *arg1 = (Dali::Signal< void (Dali::Application &,bool) > *) 0 ;
1038 arg1 = (Dali::Signal< void (Dali::Application &,bool) > *)jarg1;
1041 result = (bool)Dali_Signal_Sl_void_Sp_Dali_Application_SA__Sc_bool_SP__Sg__Empty((Dali::Signal< void (Dali::Application &,bool) > const *)arg1);
1042 } catch (std::out_of_range& e) {
1044 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1046 } catch (std::exception& e) {
1048 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1052 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1061 SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_WatchBoolSignal_GetConnectionCount(void * jarg1) {
1062 unsigned long jresult ;
1063 Dali::Signal< void (Dali::Application &,bool) > *arg1 = (Dali::Signal< void (Dali::Application &,bool) > *) 0 ;
1066 arg1 = (Dali::Signal< void (Dali::Application &,bool) > *)jarg1;
1069 result = Dali_Signal_Sl_void_Sp_Dali_Application_SA__Sc_bool_SP__Sg__GetConnectionCount((Dali::Signal< void (Dali::Application &,bool) > const *)arg1);
1070 } catch (std::out_of_range& e) {
1072 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1074 } catch (std::exception& e) {
1076 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1080 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1084 jresult = (unsigned long)result;
1089 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WatchBoolSignal_Connect(void * jarg1, void * jarg2) {
1090 Dali::Signal< void (Dali::Application &,bool) > *arg1 = (Dali::Signal< void (Dali::Application &,bool) > *) 0 ;
1091 void (*arg2)(Dali::Application &,bool) = (void (*)(Dali::Application &,bool)) 0 ;
1093 arg1 = (Dali::Signal< void (Dali::Application &,bool) > *)jarg1;
1094 arg2 = (void (*)(Dali::Application &,bool))jarg2;
1097 Dali_Signal_Sl_void_Sp_Dali_Application_SA__Sc_bool_SP__Sg__Connect(arg1,arg2);
1098 } catch (std::out_of_range& e) {
1100 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1102 } catch (std::exception& e) {
1104 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1108 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1115 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WatchBoolSignal_Disconnect(void * jarg1, void * jarg2) {
1116 Dali::Signal< void (Dali::Application &,bool) > *arg1 = (Dali::Signal< void (Dali::Application &,bool) > *) 0 ;
1117 void (*arg2)(Dali::Application &,bool) = (void (*)(Dali::Application &,bool)) 0 ;
1119 arg1 = (Dali::Signal< void (Dali::Application &,bool) > *)jarg1;
1120 arg2 = (void (*)(Dali::Application &,bool))jarg2;
1123 Dali_Signal_Sl_void_Sp_Dali_Application_SA__Sc_bool_SP__Sg__Disconnect(arg1,arg2);
1124 } catch (std::out_of_range& e) {
1126 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1128 } catch (std::exception& e) {
1130 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1134 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1141 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WatchBoolSignal_Emit(void * jarg1, void * jarg2, unsigned int jarg3) {
1142 Dali::Signal< void (Dali::Application &,bool) > *arg1 = (Dali::Signal< void (Dali::Application &,bool) > *) 0 ;
1143 Dali::Application *arg2 = 0 ;
1146 arg1 = (Dali::Signal< void (Dali::Application &,bool) > *)jarg1;
1147 arg2 = (Dali::Application *)jarg2;
1149 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Application & type is null", 0);
1152 arg3 = jarg3 ? true : false;
1155 Dali_Signal_Sl_void_Sp_Dali_Application_SA__Sc_bool_SP__Sg__Emit(arg1,*arg2,arg3);
1156 } catch (std::out_of_range& e) {
1158 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1160 } catch (std::exception& e) {
1162 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1166 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1173 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_WatchBoolSignal() {
1175 Dali::Signal< void (Dali::Application &,bool) > *result = 0 ;
1179 result = (Dali::Signal< void (Dali::Application &,bool) > *)new Dali::Signal< void (Dali::Application &,bool) >();
1180 } catch (std::out_of_range& e) {
1182 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1184 } catch (std::exception& e) {
1186 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1190 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1194 jresult = (void *)result;
1199 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_WatchBoolSignal(void * jarg1) {
1200 Dali::Signal< void (Dali::Application &,bool) > *arg1 = (Dali::Signal< void (Dali::Application &,bool) > *) 0 ;
1202 arg1 = (Dali::Signal< void (Dali::Application &,bool) > *)jarg1;
1206 } catch (std::out_of_range& e) {
1208 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1210 } catch (std::exception& e) {
1212 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1216 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;