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_APPLICATION
18 #define CSHARP_APPLICATION
23 #include <dali/public-api/adaptor-framework/application.h>
24 #include <dali/devel-api/adaptor-framework/application-devel.h>
26 /* Callback for returning strings to C# without leaking memory */
27 typedef char * (SWIGSTDCALL* SWIG_CSharpStringHelperCallback)(const char *);
28 extern SWIG_CSharpStringHelperCallback SWIG_csharp_string_callback;
31 // keep argcs and argv so they're always available to DALi
35 SWIGINTERN bool Dali_Signal_Sl_void_Sp_Dali_DeviceStatus_Battery_Status_SP__Sg__Empty(Dali::Signal< void (Dali::DeviceStatus::Battery::Status) > const *self){
38 SWIGINTERN std::size_t Dali_Signal_Sl_void_Sp_Dali_DeviceStatus_Battery_Status_SP__Sg__GetConnectionCount(Dali::Signal< void (Dali::DeviceStatus::Battery::Status) > const *self){
39 return self->GetConnectionCount();
41 SWIGINTERN void Dali_Signal_Sl_void_Sp_Dali_DeviceStatus_Battery_Status_SP__Sg__Connect(Dali::Signal< void (Dali::DeviceStatus::Battery::Status) > *self,void (*func)(Dali::DeviceStatus::Battery::Status)){
42 self->Connect( func );
44 SWIGINTERN void Dali_Signal_Sl_void_Sp_Dali_DeviceStatus_Battery_Status_SP__Sg__Disconnect(Dali::Signal< void (Dali::DeviceStatus::Battery::Status) > *self,void (*func)(Dali::DeviceStatus::Battery::Status)){
45 self->Disconnect( func );
47 SWIGINTERN void Dali_Signal_Sl_void_Sp_Dali_DeviceStatus_Battery_Status_SP__Sg__Emit(Dali::Signal< void (Dali::DeviceStatus::Battery::Status) > *self,Dali::DeviceStatus::Battery::Status arg){
50 SWIGINTERN bool Dali_Signal_Sl_void_Sp_Dali_DeviceStatus_Memory_Status_SP__Sg__Empty(Dali::Signal< void (Dali::DeviceStatus::Memory::Status) > const *self){
53 SWIGINTERN std::size_t Dali_Signal_Sl_void_Sp_Dali_DeviceStatus_Memory_Status_SP__Sg__GetConnectionCount(Dali::Signal< void (Dali::DeviceStatus::Memory::Status) > const *self){
54 return self->GetConnectionCount();
56 SWIGINTERN void Dali_Signal_Sl_void_Sp_Dali_DeviceStatus_Memory_Status_SP__Sg__Connect(Dali::Signal< void (Dali::DeviceStatus::Memory::Status) > *self,void (*func)(Dali::DeviceStatus::Memory::Status)){
57 self->Connect( func );
59 SWIGINTERN void Dali_Signal_Sl_void_Sp_Dali_DeviceStatus_Memory_Status_SP__Sg__Disconnect(Dali::Signal< void (Dali::DeviceStatus::Memory::Status) > *self,void (*func)(Dali::DeviceStatus::Memory::Status)){
60 self->Disconnect( func );
62 SWIGINTERN void Dali_Signal_Sl_void_Sp_Dali_DeviceStatus_Memory_Status_SP__Sg__Emit(Dali::Signal< void (Dali::DeviceStatus::Memory::Status) > *self,Dali::DeviceStatus::Memory::Status arg){
66 SWIGINTERN bool Dali_Signal_Sl_void_Sp_Dali_Application_SA__SP__Sg__Empty(Dali::Signal< void (Dali::Application &) > const *self){
69 SWIGINTERN std::size_t Dali_Signal_Sl_void_Sp_Dali_Application_SA__SP__Sg__GetConnectionCount(Dali::Signal< void (Dali::Application &) > const *self){
70 return self->GetConnectionCount();
72 SWIGINTERN void Dali_Signal_Sl_void_Sp_Dali_Application_SA__SP__Sg__Connect(Dali::Signal< void (Dali::Application &) > *self,void (*func)(Dali::Application &)){
73 self->Connect( func );
75 SWIGINTERN void Dali_Signal_Sl_void_Sp_Dali_Application_SA__SP__Sg__Disconnect(Dali::Signal< void (Dali::Application &) > *self,void (*func)(Dali::Application &)){
76 self->Disconnect( func );
78 SWIGINTERN void Dali_Signal_Sl_void_Sp_Dali_Application_SA__SP__Sg__Emit(Dali::Signal< void (Dali::Application &) > *self,Dali::Application &arg){
82 SWIGINTERN bool Dali_Signal_Sl_void_Sp_Dali_Application_SA__Sc_void_Sm__SP__Sg__Empty(Dali::Signal< void (Dali::Application &,void *) > const *self){
85 SWIGINTERN std::size_t Dali_Signal_Sl_void_Sp_Dali_Application_SA__Sc_void_Sm__SP__Sg__GetConnectionCount(Dali::Signal< void (Dali::Application &,void *) > const *self){
86 return self->GetConnectionCount();
88 SWIGINTERN void Dali_Signal_Sl_void_Sp_Dali_Application_SA__Sc_void_Sm__SP__Sg__Connect(Dali::Signal< void (Dali::Application &,void *) > *self,void (*func)(Dali::Application &,void *)){
89 self->Connect( func );
91 SWIGINTERN void Dali_Signal_Sl_void_Sp_Dali_Application_SA__Sc_void_Sm__SP__Sg__Disconnect(Dali::Signal< void (Dali::Application &,void *) > *self,void (*func)(Dali::Application &,void *)){
92 self->Disconnect( func );
94 SWIGINTERN void Dali_Signal_Sl_void_Sp_Dali_Application_SA__Sc_void_Sm__SP__Sg__Emit(Dali::Signal< void (Dali::Application &,void *) > *self,Dali::Application &arg1,void *arg2){
95 self->Emit( arg1, arg2 );
102 /*Application binding*/
103 SWIGEXPORT Dali::BaseHandle * SWIGSTDCALL CSharp_Dali_Application_SWIGUpcast(Dali::Application *jarg1) {
104 return (Dali::BaseHandle *)jarg1;
107 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Application_New__SWIG_0() {
109 Dali::Application result;
113 result = Dali::Application::New();
114 } catch (std::out_of_range& e) {
116 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
118 } catch (std::exception& e) {
120 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
122 } catch (Dali::DaliException e) {
124 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
128 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
133 jresult = new Dali::Application((const Dali::Application &)result);
138 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Application_New__SWIG_1(int jarg1) {
143 Dali::Application result;
145 std::string app_name = "dali-csharp-app";
146 int stringLength = app_name.length();
147 argV = new char*[arg1 + 1];
148 argV[0] = new char[stringLength + 1];
150 strncpy(argV[0], app_name.c_str(), stringLength);
151 argV[0][stringLength] = '\0';
158 result = Dali::Application::New(&arg1, arg2);
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;
167 } catch (Dali::DaliException e) {
169 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
173 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
178 jresult = new Dali::Application((const Dali::Application &)result);
183 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Application_New__SWIG_2(int jarg1, char * jarg3) {
187 std::string *arg3 = 0;
189 Dali::Application result;
191 std::string app_name = "dali-csharp-app";
192 int stringLength = app_name.length();
193 argV = new char*[arg1 + 1];
194 argV[0] = new char[stringLength + 1];
196 strncpy(argV[0], app_name.c_str(), stringLength);
197 argV[0][stringLength] = '\0';
204 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
209 std::string arg3_str(jarg3);
213 result = Dali::Application::New(&arg1, arg2,(std::string const &)*arg3);
214 } catch (std::out_of_range& e) {
216 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
218 } catch (std::exception& e) {
220 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
222 } catch (Dali::DaliException e) {
224 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
228 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
233 jresult = new Dali::Application((const Dali::Application &)result);
235 //argout typemap for const std::string&
241 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Application_New__SWIG_3(int jarg1, char * jarg3, int jarg4) {
245 std::string *arg3 = 0;
246 Dali::Application::WINDOW_MODE arg4;
248 Dali::Application result;
250 std::string app_name = "dali-csharp-app";
251 int stringLength = app_name.length();
252 argV = new char*[arg1 + 1];
253 argV[0] = new char[stringLength + 1];
255 strncpy(argV[0], app_name.c_str(), stringLength);
256 argV[0][stringLength] = '\0';
262 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
267 std::string arg3_str(jarg3);
269 arg4 = (Dali::Application::WINDOW_MODE)jarg4;
272 result = Dali::Application::New(&arg1, arg2,(std::string const &)*arg3,arg4);
273 } catch (std::out_of_range& e) {
275 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
277 } catch (std::exception& e) {
279 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
281 } catch (Dali::DaliException e) {
283 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
287 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
292 jresult = new Dali::Application((const Dali::Application &)result);
294 //argout typemap for const std::string&
300 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Application_New__MANUAL_4(int jarg1, char * jarg2, char * jarg3, int jarg4) {
302 int *arg1 = (int *) 0 ;
304 std::string *arg3 = 0 ;
305 Dali::Application::WINDOW_MODE arg4 ;
306 Dali::Application result;
308 // Todo generate argv data from the C# args
314 argV = new char*[jarg1 + 1];
316 for(retPtr = strtok_r(jarg2, " ", &nextPtr);
317 retPtr != NULL && index < jarg1;
318 retPtr = strtok_r(NULL, " ", &nextPtr))
321 length = strlen(retPtr);
322 argV[ index ] = new char[ length + 1 ];
323 strncpy( argV[ index ], retPtr, length );
324 argV[ index ][ length ] = '\0';
328 while( index < jarg1 )
330 //if jarg1 - index >1, maybe cause error.
342 std::string arg3_str(jarg3);
344 arg4 = (Dali::Application::WINDOW_MODE)jarg4;
347 result = Dali::Application::New(arg1,arg2,(std::string const &)*arg3,arg4);
348 } catch (std::out_of_range& e) {
350 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
352 } catch (std::exception& e) {
354 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
356 } catch (Dali::DaliException e) {
358 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
362 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
366 jresult = new Dali::Application((const Dali::Application &)result);
370 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_Application__SWIG_0() {
372 Dali::Application *result = 0 ;
376 result = (Dali::Application *)new Dali::Application();
377 } catch (std::out_of_range& e) {
379 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
381 } catch (std::exception& e) {
383 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
385 } catch (Dali::DaliException e) {
387 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
391 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
396 jresult = (void *)result;
401 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_Application__SWIG_1(void * jarg1) {
403 Dali::Application *arg1 = 0 ;
404 Dali::Application *result = 0 ;
406 arg1 = (Dali::Application *)jarg1;
408 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Application const & type is null", 0);
413 result = (Dali::Application *)new Dali::Application((Dali::Application const &)*arg1);
414 } catch (std::out_of_range& e) {
416 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
418 } catch (std::exception& e) {
420 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
422 } catch (Dali::DaliException e) {
424 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
428 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
433 jresult = (void *)result;
438 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Application_Assign(void * jarg1, void * jarg2) {
440 Dali::Application *arg1 = (Dali::Application *) 0 ;
441 Dali::Application *arg2 = 0 ;
442 Dali::Application *result = 0 ;
444 arg1 = (Dali::Application *)jarg1;
445 arg2 = (Dali::Application *)jarg2;
447 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Application const & type is null", 0);
452 result = (Dali::Application *) &(arg1)->operator =((Dali::Application const &)*arg2);
453 } catch (std::out_of_range& e) {
455 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
457 } catch (std::exception& e) {
459 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
461 } catch (Dali::DaliException e) {
463 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
467 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
472 jresult = (void *)result;
477 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_Application(void * jarg1) {
478 Dali::Application *arg1 = (Dali::Application *) 0 ;
480 arg1 = (Dali::Application *)jarg1;
487 for( int i=0; i < argC+1; i++)
493 } catch (std::out_of_range& e) {
495 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
497 } catch (std::exception& e) {
499 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
501 } catch (Dali::DaliException e) {
503 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
507 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
515 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Application_MainLoop__SWIG_0(void * jarg1) {
516 Dali::Application *arg1 = (Dali::Application *) 0 ;
518 arg1 = (Dali::Application *)jarg1;
522 } catch (std::out_of_range& e) {
524 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
526 } catch (std::exception& e) {
528 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
530 } catch (Dali::DaliException e) {
532 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
536 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
544 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Application_MainLoop__SWIG_1(void * jarg1, void * jarg2) {
545 Dali::Application *arg1 = (Dali::Application *) 0 ;
546 Dali::Configuration::ContextLoss arg2 ;
547 Dali::Configuration::ContextLoss *argp2 ;
549 arg1 = (Dali::Application *)jarg1;
550 argp2 = (Dali::Configuration::ContextLoss *)jarg2;
552 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Configuration::ContextLoss", 0);
558 (arg1)->MainLoop(arg2);
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_Application_Lower(void * jarg1) {
582 Dali::Application *arg1 = (Dali::Application *) 0 ;
584 arg1 = (Dali::Application *)jarg1;
588 } catch (std::out_of_range& e) {
590 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
592 } catch (std::exception& e) {
594 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
596 } catch (Dali::DaliException e) {
598 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
602 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
610 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Application_Quit(void * jarg1) {
611 Dali::Application *arg1 = (Dali::Application *) 0 ;
613 arg1 = (Dali::Application *)jarg1;
617 } catch (std::out_of_range& e) {
619 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
621 } catch (std::exception& e) {
623 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
625 } catch (Dali::DaliException e) {
627 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
631 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
639 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_Application_AddIdle(void * jarg1, void * jarg2) {
640 unsigned int jresult ;
641 Dali::Application *arg1 = (Dali::Application *) 0 ;
642 Dali::CallbackBase *arg2 = (Dali::CallbackBase *) 0 ;
645 arg1 = (Dali::Application *)jarg1;
646 arg2 = (Dali::CallbackBase *)jarg2;
649 result = (bool)(arg1)->AddIdle(arg2);
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;
674 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Application_GetWindow(void * jarg1) {
676 Dali::Application *arg1 = (Dali::Application *) 0 ;
679 arg1 = (Dali::Application *)jarg1;
682 result = (arg1)->GetWindow();
683 } catch (std::out_of_range& e) {
685 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
687 } catch (std::exception& e) {
689 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
691 } catch (Dali::DaliException e) {
693 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
697 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
702 jresult = new Dali::Window((const Dali::Window &)result);
707 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Application_ReplaceWindow(void * jarg1, void * jarg2, char * jarg3) {
708 Dali::Application *arg1 = (Dali::Application *) 0 ;
709 Dali::PositionSize arg2 ;
710 std::string *arg3 = 0 ;
711 Dali::PositionSize *argp2 ;
713 arg1 = (Dali::Application *)jarg1;
714 argp2 = (Dali::PositionSize *)jarg2;
716 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::PositionSize", 0);
721 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
724 std::string arg3_str(jarg3);
728 (arg1)->ReplaceWindow(arg2,(std::string const &)*arg3);
729 } catch (std::out_of_range& e) {
731 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
733 } catch (std::exception& e) {
735 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
737 } catch (Dali::DaliException e) {
739 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
743 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
749 //argout typemap for const std::string&
754 SWIGEXPORT char * SWIGSTDCALL CSharp_Dali_Application_GetResourcePath() {
760 result = Dali::Application::GetResourcePath();
761 } catch (std::out_of_range& e) {
763 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
765 } catch (std::exception& e) {
767 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
769 } catch (Dali::DaliException e) {
771 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
775 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
780 jresult = SWIG_csharp_string_callback((&result)->c_str());
784 SWIGEXPORT char * SWIGSTDCALL CSharp_Dali_Application_GetRegion(void * jarg1) {
786 Dali::Application *arg1 = (Dali::Application *) 0 ;
789 arg1 = (Dali::Application *)jarg1;
792 result = (arg1)->GetRegion();
793 } catch (std::out_of_range& e) {
795 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
797 } catch (std::exception& e) {
799 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
801 } catch (Dali::DaliException e) {
803 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
807 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
811 jresult = SWIG_csharp_string_callback((&result)->c_str());
816 SWIGEXPORT char * SWIGSTDCALL CSharp_Dali_Application_GetLanguage(void * jarg1) {
818 Dali::Application *arg1 = (Dali::Application *) 0 ;
821 arg1 = (Dali::Application *)jarg1;
824 result = (arg1)->GetLanguage();
825 } catch (std::out_of_range& e) {
827 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
829 } catch (std::exception& e) {
831 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
833 } catch (Dali::DaliException e) {
835 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
839 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
843 jresult = SWIG_csharp_string_callback((&result)->c_str());
847 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Application_SetViewMode(void * jarg1, int jarg2) {
848 Dali::Application *arg1 = (Dali::Application *) 0 ;
849 Dali::ViewMode arg2 ;
851 arg1 = (Dali::Application *)jarg1;
852 arg2 = (Dali::ViewMode)jarg2;
855 (arg1)->SetViewMode(arg2);
856 } catch (std::out_of_range& e) {
858 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
860 } catch (std::exception& e) {
862 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
864 } catch (Dali::DaliException e) {
866 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
870 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
878 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_Application_GetViewMode(void * jarg1) {
880 Dali::Application *arg1 = (Dali::Application *) 0 ;
881 Dali::ViewMode result;
883 arg1 = (Dali::Application *)jarg1;
886 result = (Dali::ViewMode)((Dali::Application const *)arg1)->GetViewMode();
887 } catch (std::out_of_range& e) {
889 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
891 } catch (std::exception& e) {
893 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
895 } catch (Dali::DaliException e) {
897 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
901 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
906 jresult = (int)result;
911 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Application_SetStereoBase(void * jarg1, float jarg2) {
912 Dali::Application *arg1 = (Dali::Application *) 0 ;
915 arg1 = (Dali::Application *)jarg1;
919 (arg1)->SetStereoBase(arg2);
920 } catch (std::out_of_range& e) {
922 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
924 } catch (std::exception& e) {
926 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
928 } catch (Dali::DaliException e) {
930 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
934 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
942 SWIGEXPORT float SWIGSTDCALL CSharp_Dali_Application_GetStereoBase(void * jarg1) {
944 Dali::Application *arg1 = (Dali::Application *) 0 ;
947 arg1 = (Dali::Application *)jarg1;
950 result = (float)((Dali::Application const *)arg1)->GetStereoBase();
951 } catch (std::out_of_range& e) {
953 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
955 } catch (std::exception& e) {
957 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
959 } catch (Dali::DaliException e) {
961 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
965 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
975 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Application_InitSignal(void * jarg1) {
977 Dali::Application *arg1 = (Dali::Application *) 0 ;
978 Dali::Application::AppSignalType *result = 0 ;
980 arg1 = (Dali::Application *)jarg1;
983 result = (Dali::Application::AppSignalType *) &(arg1)->InitSignal();
984 } catch (std::out_of_range& e) {
986 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
988 } catch (std::exception& e) {
990 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
992 } catch (Dali::DaliException e) {
994 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
998 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1003 jresult = (void *)result;
1008 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Application_TerminateSignal(void * jarg1) {
1010 Dali::Application *arg1 = (Dali::Application *) 0 ;
1011 Dali::Application::AppSignalType *result = 0 ;
1013 arg1 = (Dali::Application *)jarg1;
1016 result = (Dali::Application::AppSignalType *) &(arg1)->TerminateSignal();
1017 } catch (std::out_of_range& e) {
1019 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1021 } catch (std::exception& e) {
1023 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1025 } catch (Dali::DaliException e) {
1027 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1031 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1036 jresult = (void *)result;
1041 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Application_PauseSignal(void * jarg1) {
1043 Dali::Application *arg1 = (Dali::Application *) 0 ;
1044 Dali::Application::AppSignalType *result = 0 ;
1046 arg1 = (Dali::Application *)jarg1;
1049 result = (Dali::Application::AppSignalType *) &(arg1)->PauseSignal();
1050 } catch (std::out_of_range& e) {
1052 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1054 } catch (std::exception& e) {
1056 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1058 } catch (Dali::DaliException e) {
1060 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1064 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1069 jresult = (void *)result;
1074 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Application_ResumeSignal(void * jarg1) {
1076 Dali::Application *arg1 = (Dali::Application *) 0 ;
1077 Dali::Application::AppSignalType *result = 0 ;
1079 arg1 = (Dali::Application *)jarg1;
1082 result = (Dali::Application::AppSignalType *) &(arg1)->ResumeSignal();
1083 } catch (std::out_of_range& e) {
1085 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1087 } catch (std::exception& e) {
1089 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1091 } catch (Dali::DaliException e) {
1093 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1097 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1102 jresult = (void *)result;
1107 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Application_ResetSignal(void * jarg1) {
1109 Dali::Application *arg1 = (Dali::Application *) 0 ;
1110 Dali::Application::AppSignalType *result = 0 ;
1112 arg1 = (Dali::Application *)jarg1;
1115 result = (Dali::Application::AppSignalType *) &(arg1)->ResetSignal();
1116 } catch (std::out_of_range& e) {
1118 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1120 } catch (std::exception& e) {
1122 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1124 } catch (Dali::DaliException e) {
1126 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1130 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1135 jresult = (void *)result;
1140 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Application_ResizeSignal(void * jarg1) {
1142 Dali::Application *arg1 = (Dali::Application *) 0 ;
1143 Dali::Application::AppSignalType *result = 0 ;
1145 arg1 = (Dali::Application *)jarg1;
1148 result = (Dali::Application::AppSignalType *) &(arg1)->ResizeSignal();
1149 } catch (std::out_of_range& e) {
1151 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1153 } catch (std::exception& e) {
1155 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1157 } catch (Dali::DaliException e) {
1159 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1163 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1168 jresult = (void *)result;
1173 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Application_AppControlSignal(void * jarg1) {
1175 Dali::Application *arg1 = (Dali::Application *) 0 ;
1176 Dali::Application::AppControlSignalType *result = 0 ;
1178 arg1 = (Dali::Application *)jarg1;
1181 result = (Dali::Application::AppControlSignalType *) &(arg1)->AppControlSignal();
1182 } catch (std::out_of_range& e) {
1184 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1186 } catch (std::exception& e) {
1188 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1190 } catch (Dali::DaliException e) {
1192 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1196 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1201 jresult = (void *)result;
1206 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Application_LanguageChangedSignal(void * jarg1) {
1208 Dali::Application *arg1 = (Dali::Application *) 0 ;
1209 Dali::Application::AppSignalType *result = 0 ;
1211 arg1 = (Dali::Application *)jarg1;
1214 result = (Dali::Application::AppSignalType *) &(arg1)->LanguageChangedSignal();
1215 } catch (std::out_of_range& e) {
1217 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1219 } catch (std::exception& e) {
1221 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1223 } catch (Dali::DaliException e) {
1225 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1229 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1234 jresult = (void *)result;
1239 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Application_RegionChangedSignal(void * jarg1) {
1241 Dali::Application *arg1 = (Dali::Application *) 0 ;
1242 Dali::Application::AppSignalType *result = 0 ;
1244 arg1 = (Dali::Application *)jarg1;
1247 result = (Dali::Application::AppSignalType *) &(arg1)->RegionChangedSignal();
1248 } catch (std::out_of_range& e) {
1250 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1252 } catch (std::exception& e) {
1254 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1256 } catch (Dali::DaliException e) {
1258 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1262 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1267 jresult = (void *)result;
1271 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Application_LowBatterySignal(void * jarg1) {
1273 Dali::Application *arg1 = (Dali::Application *) 0 ;
1274 Dali::Application::LowBatterySignalType *result = 0 ;
1276 arg1 = (Dali::Application *)jarg1;
1279 result = (Dali::Application::LowBatterySignalType *) &(arg1)->LowBatterySignal();
1280 } catch (std::out_of_range& e) {
1282 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1284 } catch (std::exception& e) {
1286 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1288 } catch (Dali::DaliException e) {
1290 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1294 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1299 jresult = (void *)result;
1304 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Application_LowMemorySignal(void * jarg1) {
1306 Dali::Application *arg1 = (Dali::Application *) 0 ;
1307 Dali::Application::LowMemorySignalType *result = 0 ;
1309 arg1 = (Dali::Application *)jarg1;
1312 result = (Dali::Application::LowMemorySignalType *) &(arg1)->LowMemorySignal();
1313 } catch (std::out_of_range& e) {
1315 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1317 } catch (std::exception& e) {
1319 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1321 } catch (Dali::DaliException e) {
1323 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1327 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1331 jresult = (void *)result;
1336 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_Application_LowBatterySignalType_Empty(void * jarg1) {
1337 unsigned int jresult ;
1338 Dali::Signal< void (Dali::DeviceStatus::Battery::Status) > *arg1 = (Dali::Signal< void (Dali::DeviceStatus::Battery::Status) > *) 0 ;
1341 arg1 = (Dali::Signal< void (Dali::DeviceStatus::Battery::Status) > *)jarg1;
1344 result = (bool)Dali_Signal_Sl_void_Sp_Dali_DeviceStatus_Battery_Status_SP__Sg__Empty((Dali::Signal< void (Dali::DeviceStatus::Battery::Status) > const *)arg1);
1345 } catch (std::out_of_range& e) {
1347 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1349 } catch (std::exception& e) {
1351 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1353 } catch (Dali::DaliException e) {
1355 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1359 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1369 SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_Application_LowBatterySignalType_GetConnectionCount(void * jarg1) {
1370 unsigned long jresult ;
1371 Dali::Signal< void (Dali::DeviceStatus::Battery::Status) > *arg1 = (Dali::Signal< void (Dali::DeviceStatus::Battery::Status) > *) 0 ;
1374 arg1 = (Dali::Signal< void (Dali::DeviceStatus::Battery::Status) > *)jarg1;
1377 result = Dali_Signal_Sl_void_Sp_Dali_DeviceStatus_Battery_Status_SP__Sg__GetConnectionCount((Dali::Signal< void (Dali::DeviceStatus::Battery::Status) > const *)arg1);
1378 } catch (std::out_of_range& e) {
1380 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1382 } catch (std::exception& e) {
1384 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1386 } catch (Dali::DaliException e) {
1388 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1392 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1396 jresult = (unsigned long)result;
1401 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Application_LowBatterySignalType_Connect(void * jarg1, void * jarg2) {
1402 Dali::Signal< void (Dali::DeviceStatus::Battery::Status) > *arg1 = (Dali::Signal< void (Dali::DeviceStatus::Battery::Status) > *) 0 ;
1403 void (*arg2)(Dali::DeviceStatus::Battery::Status) = (void (*)(Dali::DeviceStatus::Battery::Status)) 0 ;
1405 arg1 = (Dali::Signal< void (Dali::DeviceStatus::Battery::Status) > *)jarg1;
1406 arg2 = (void (*)(Dali::DeviceStatus::Battery::Status))jarg2;
1409 Dali_Signal_Sl_void_Sp_Dali_DeviceStatus_Battery_Status_SP__Sg__Connect(arg1,arg2);
1410 } catch (std::out_of_range& e) {
1412 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1414 } catch (std::exception& e) {
1416 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1418 } catch (Dali::DaliException e) {
1420 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1424 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1431 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Application_LowBatterySignalType_Disconnect(void * jarg1, void * jarg2) {
1432 Dali::Signal< void (Dali::DeviceStatus::Battery::Status) > *arg1 = (Dali::Signal< void (Dali::DeviceStatus::Battery::Status) > *) 0 ;
1433 void (*arg2)(Dali::DeviceStatus::Battery::Status) = (void (*)(Dali::DeviceStatus::Battery::Status)) 0 ;
1435 arg1 = (Dali::Signal< void (Dali::DeviceStatus::Battery::Status) > *)jarg1;
1436 arg2 = (void (*)(Dali::DeviceStatus::Battery::Status))jarg2;
1439 Dali_Signal_Sl_void_Sp_Dali_DeviceStatus_Battery_Status_SP__Sg__Disconnect(arg1,arg2);
1440 } catch (std::out_of_range& e) {
1442 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1444 } catch (std::exception& e) {
1446 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1448 } catch (Dali::DaliException e) {
1450 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1454 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1461 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Application_LowBatterySignalType_Emit(void * jarg1, void * jarg2) {
1462 Dali::Signal< void (Dali::DeviceStatus::Battery::Status) > *arg1 = (Dali::Signal< void (Dali::DeviceStatus::Battery::Status) > *) 0 ;
1463 Dali::DeviceStatus::Battery::Status arg2 ;
1464 Dali::DeviceStatus::Battery::Status *argp2 ;
1466 arg1 = (Dali::Signal< void (Dali::DeviceStatus::Battery::Status) > *)jarg1;
1467 argp2 = (Dali::DeviceStatus::Battery::Status *)jarg2;
1469 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::DeviceStatus::Battery::Status", 0);
1475 Dali_Signal_Sl_void_Sp_Dali_DeviceStatus_Battery_Status_SP__Sg__Emit(arg1,arg2);
1476 } catch (std::out_of_range& e) {
1478 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1480 } catch (std::exception& e) {
1482 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1484 } catch (Dali::DaliException e) {
1486 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1490 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1497 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Application_new_LowBatterySignalType() {
1499 Dali::Signal< void (Dali::DeviceStatus::Battery::Status) > *result = 0 ;
1503 result = (Dali::Signal< void (Dali::DeviceStatus::Battery::Status) > *)new Dali::Signal< void (Dali::DeviceStatus::Battery::Status) >();
1504 } catch (std::out_of_range& e) {
1506 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1508 } catch (std::exception& e) {
1510 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1512 } catch (Dali::DaliException e) {
1514 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1518 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1523 jresult = (void *)result;
1528 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Application_delete_LowBatterySignalType(void * jarg1) {
1529 Dali::Signal< void (Dali::DeviceStatus::Battery::Status) > *arg1 = (Dali::Signal< void (Dali::DeviceStatus::Battery::Status) > *) 0 ;
1531 arg1 = (Dali::Signal< void (Dali::DeviceStatus::Battery::Status) > *)jarg1;
1535 } catch (std::out_of_range& e) {
1537 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1539 } catch (std::exception& e) {
1541 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1543 } catch (Dali::DaliException e) {
1545 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1549 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1556 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_Application_LowMemorySignalType_Empty(void * jarg1) {
1557 unsigned int jresult ;
1558 Dali::Signal< void (Dali::DeviceStatus::Memory::Status) > *arg1 = (Dali::Signal< void (Dali::DeviceStatus::Memory::Status) > *) 0 ;
1561 arg1 = (Dali::Signal< void (Dali::DeviceStatus::Memory::Status) > *)jarg1;
1564 result = (bool)Dali_Signal_Sl_void_Sp_Dali_DeviceStatus_Memory_Status_SP__Sg__Empty((Dali::Signal< void (Dali::DeviceStatus::Memory::Status) > const *)arg1);
1565 } catch (std::out_of_range& e) {
1567 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1569 } catch (std::exception& e) {
1571 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1573 } catch (Dali::DaliException e) {
1575 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1579 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1588 SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_Application_LowMemorySignalType_GetConnectionCount(void * jarg1) {
1589 unsigned long jresult ;
1590 Dali::Signal< void (Dali::DeviceStatus::Memory::Status) > *arg1 = (Dali::Signal< void (Dali::DeviceStatus::Memory::Status) > *) 0 ;
1593 arg1 = (Dali::Signal< void (Dali::DeviceStatus::Memory::Status) > *)jarg1;
1596 result = Dali_Signal_Sl_void_Sp_Dali_DeviceStatus_Memory_Status_SP__Sg__GetConnectionCount((Dali::Signal< void (Dali::DeviceStatus::Memory::Status) > const *)arg1);
1597 } catch (std::out_of_range& e) {
1599 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1601 } catch (std::exception& e) {
1603 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1605 } catch (Dali::DaliException e) {
1607 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1611 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1615 jresult = (unsigned long)result;
1620 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Application_LowMemorySignalType_Connect(void * jarg1, void * jarg2) {
1621 Dali::Signal< void (Dali::DeviceStatus::Memory::Status) > *arg1 = (Dali::Signal< void (Dali::DeviceStatus::Memory::Status) > *) 0 ;
1622 void (*arg2)(Dali::DeviceStatus::Memory::Status) = (void (*)(Dali::DeviceStatus::Memory::Status)) 0 ;
1624 arg1 = (Dali::Signal< void (Dali::DeviceStatus::Memory::Status) > *)jarg1;
1625 arg2 = (void (*)(Dali::DeviceStatus::Memory::Status))jarg2;
1628 Dali_Signal_Sl_void_Sp_Dali_DeviceStatus_Memory_Status_SP__Sg__Connect(arg1,arg2);
1629 } catch (std::out_of_range& e) {
1631 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1633 } catch (std::exception& e) {
1635 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1637 } catch (Dali::DaliException e) {
1639 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1643 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1650 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Application_LowMemorySignalType_Disconnect(void * jarg1, void * jarg2) {
1651 Dali::Signal< void (Dali::DeviceStatus::Memory::Status) > *arg1 = (Dali::Signal< void (Dali::DeviceStatus::Memory::Status) > *) 0 ;
1652 void (*arg2)(Dali::DeviceStatus::Memory::Status) = (void (*)(Dali::DeviceStatus::Memory::Status)) 0 ;
1654 arg1 = (Dali::Signal< void (Dali::DeviceStatus::Memory::Status) > *)jarg1;
1655 arg2 = (void (*)(Dali::DeviceStatus::Memory::Status))jarg2;
1658 Dali_Signal_Sl_void_Sp_Dali_DeviceStatus_Memory_Status_SP__Sg__Disconnect(arg1,arg2);
1659 } catch (std::out_of_range& e) {
1661 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1663 } catch (std::exception& e) {
1665 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1667 } catch (Dali::DaliException e) {
1669 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1673 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1680 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Application_LowMemorySignalType_Emit(void * jarg1, void * jarg2) {
1681 Dali::Signal< void (Dali::DeviceStatus::Memory::Status) > *arg1 = (Dali::Signal< void (Dali::DeviceStatus::Memory::Status) > *) 0 ;
1682 Dali::DeviceStatus::Memory::Status arg2 ;
1683 Dali::DeviceStatus::Memory::Status *argp2 ;
1685 arg1 = (Dali::Signal< void (Dali::DeviceStatus::Memory::Status) > *)jarg1;
1686 argp2 = (Dali::DeviceStatus::Memory::Status *)jarg2;
1688 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::DeviceStatus::Memory::Status", 0);
1694 Dali_Signal_Sl_void_Sp_Dali_DeviceStatus_Memory_Status_SP__Sg__Emit(arg1,arg2);
1695 } catch (std::out_of_range& e) {
1697 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1699 } catch (std::exception& e) {
1701 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1703 } catch (Dali::DaliException e) {
1705 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1709 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1716 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Application_new_LowMemorySignalType() {
1718 Dali::Signal< void (Dali::DeviceStatus::Memory::Status) > *result = 0 ;
1722 result = (Dali::Signal< void (Dali::DeviceStatus::Memory::Status) > *)new Dali::Signal< void (Dali::DeviceStatus::Memory::Status) >();
1723 } catch (std::out_of_range& e) {
1725 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1727 } catch (std::exception& e) {
1729 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1731 } catch (Dali::DaliException e) {
1733 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1737 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1741 jresult = (void *)result;
1746 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Application_delete_LowMemorySignalType(void * jarg1) {
1747 Dali::Signal< void (Dali::DeviceStatus::Memory::Status) > *arg1 = (Dali::Signal< void (Dali::DeviceStatus::Memory::Status) > *) 0 ;
1749 arg1 = (Dali::Signal< void (Dali::DeviceStatus::Memory::Status) > *)jarg1;
1753 } catch (std::out_of_range& e) {
1755 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1757 } catch (std::exception& e) {
1759 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1761 } catch (Dali::DaliException e) {
1763 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1767 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1774 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_ApplicationSignal_Empty(void * jarg1) {
1775 unsigned int jresult ;
1776 Dali::Signal< void (Dali::Application &) > *arg1 = (Dali::Signal< void (Dali::Application &) > *) 0 ;
1779 arg1 = (Dali::Signal< void (Dali::Application &) > *)jarg1;
1782 result = (bool)Dali_Signal_Sl_void_Sp_Dali_Application_SA__SP__Sg__Empty((Dali::Signal< void (Dali::Application &) > const *)arg1);
1783 } catch (std::out_of_range& e) {
1785 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1787 } catch (std::exception& e) {
1789 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1791 } catch (Dali::DaliException e) {
1793 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1797 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1807 SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_ApplicationSignal_GetConnectionCount(void * jarg1) {
1808 unsigned long jresult ;
1809 Dali::Signal< void (Dali::Application &) > *arg1 = (Dali::Signal< void (Dali::Application &) > *) 0 ;
1812 arg1 = (Dali::Signal< void (Dali::Application &) > *)jarg1;
1815 result = Dali_Signal_Sl_void_Sp_Dali_Application_SA__SP__Sg__GetConnectionCount((Dali::Signal< void (Dali::Application &) > const *)arg1);
1816 } catch (std::out_of_range& e) {
1818 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1820 } catch (std::exception& e) {
1822 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1824 } catch (Dali::DaliException e) {
1826 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1830 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1835 jresult = (unsigned long)result;
1840 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ApplicationSignal_Connect(void * jarg1, void * jarg2) {
1841 Dali::Signal< void (Dali::Application &) > *arg1 = (Dali::Signal< void (Dali::Application &) > *) 0 ;
1842 void (*arg2)(Dali::Application &) = (void (*)(Dali::Application &)) 0 ;
1844 arg1 = (Dali::Signal< void (Dali::Application &) > *)jarg1;
1845 arg2 = (void (*)(Dali::Application &))jarg2;
1848 Dali_Signal_Sl_void_Sp_Dali_Application_SA__SP__Sg__Connect(arg1,arg2);
1849 } catch (std::out_of_range& e) {
1851 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1853 } catch (std::exception& e) {
1855 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1857 } catch (Dali::DaliException e) {
1859 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1863 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1871 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ApplicationSignal_Disconnect(void * jarg1, void * jarg2) {
1872 Dali::Signal< void (Dali::Application &) > *arg1 = (Dali::Signal< void (Dali::Application &) > *) 0 ;
1873 void (*arg2)(Dali::Application &) = (void (*)(Dali::Application &)) 0 ;
1875 arg1 = (Dali::Signal< void (Dali::Application &) > *)jarg1;
1876 arg2 = (void (*)(Dali::Application &))jarg2;
1879 Dali_Signal_Sl_void_Sp_Dali_Application_SA__SP__Sg__Disconnect(arg1,arg2);
1880 } catch (std::out_of_range& e) {
1882 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1884 } catch (std::exception& e) {
1886 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1888 } catch (Dali::DaliException e) {
1890 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1894 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1902 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ApplicationSignal_Emit(void * jarg1, void * jarg2) {
1903 Dali::Signal< void (Dali::Application &) > *arg1 = (Dali::Signal< void (Dali::Application &) > *) 0 ;
1904 Dali::Application *arg2 = 0 ;
1906 arg1 = (Dali::Signal< void (Dali::Application &) > *)jarg1;
1907 arg2 = (Dali::Application *)jarg2;
1909 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Application & type is null", 0);
1914 Dali_Signal_Sl_void_Sp_Dali_Application_SA__SP__Sg__Emit(arg1,*arg2);
1915 } catch (std::out_of_range& e) {
1917 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1919 } catch (std::exception& e) {
1921 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1923 } catch (Dali::DaliException e) {
1925 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1929 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1937 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_ApplicationSignal() {
1939 Dali::Signal< void (Dali::Application &) > *result = 0 ;
1943 result = (Dali::Signal< void (Dali::Application &) > *)new Dali::Signal< void (Dali::Application &) >();
1944 } catch (std::out_of_range& e) {
1946 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1948 } catch (std::exception& e) {
1950 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1952 } catch (Dali::DaliException e) {
1954 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1958 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1963 jresult = (void *)result;
1968 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_ApplicationSignal(void * jarg1) {
1969 Dali::Signal< void (Dali::Application &) > *arg1 = (Dali::Signal< void (Dali::Application &) > *) 0 ;
1971 arg1 = (Dali::Signal< void (Dali::Application &) > *)jarg1;
1975 } catch (std::out_of_range& e) {
1977 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1979 } catch (std::exception& e) {
1981 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1983 } catch (Dali::DaliException e) {
1985 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1989 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1997 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_ApplicationControlSignal_Empty(void * jarg1) {
1998 unsigned int jresult ;
1999 Dali::Signal< void (Dali::Application &,void *) > *arg1 = (Dali::Signal< void (Dali::Application &,void *) > *) 0 ;
2002 arg1 = (Dali::Signal< void (Dali::Application &,void *) > *)jarg1;
2005 result = (bool)Dali_Signal_Sl_void_Sp_Dali_Application_SA__Sc_void_Sm__SP__Sg__Empty((Dali::Signal< void (Dali::Application &,void *) > const *)arg1);
2006 } catch (std::out_of_range& e) {
2008 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2010 } catch (std::exception& e) {
2012 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2014 } catch (Dali::DaliException e) {
2016 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2020 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2030 SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_ApplicationControlSignal_GetConnectionCount(void * jarg1) {
2031 unsigned long jresult ;
2032 Dali::Signal< void (Dali::Application &,void *) > *arg1 = (Dali::Signal< void (Dali::Application &,void *) > *) 0 ;
2035 arg1 = (Dali::Signal< void (Dali::Application &,void *) > *)jarg1;
2038 result = Dali_Signal_Sl_void_Sp_Dali_Application_SA__Sc_void_Sm__SP__Sg__GetConnectionCount((Dali::Signal< void (Dali::Application &,void *) > const *)arg1);
2039 } catch (std::out_of_range& e) {
2041 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2043 } catch (std::exception& e) {
2045 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2047 } catch (Dali::DaliException e) {
2049 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2053 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2058 jresult = (unsigned long)result;
2063 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ApplicationControlSignal_Connect(void * jarg1, void * jarg2) {
2064 Dali::Signal< void (Dali::Application &,void *) > *arg1 = (Dali::Signal< void (Dali::Application &,void *) > *) 0 ;
2065 void (*arg2)(Dali::Application &,void *) = (void (*)(Dali::Application &,void *)) 0 ;
2067 arg1 = (Dali::Signal< void (Dali::Application &,void *) > *)jarg1;
2068 arg2 = (void (*)(Dali::Application &,void *))jarg2;
2071 Dali_Signal_Sl_void_Sp_Dali_Application_SA__Sc_void_Sm__SP__Sg__Connect(arg1,arg2);
2072 } catch (std::out_of_range& e) {
2074 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2076 } catch (std::exception& e) {
2078 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2080 } catch (Dali::DaliException e) {
2082 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2086 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2094 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ApplicationControlSignal_Disconnect(void * jarg1, void * jarg2) {
2095 Dali::Signal< void (Dali::Application &,void *) > *arg1 = (Dali::Signal< void (Dali::Application &,void *) > *) 0 ;
2096 void (*arg2)(Dali::Application &,void *) = (void (*)(Dali::Application &,void *)) 0 ;
2098 arg1 = (Dali::Signal< void (Dali::Application &,void *) > *)jarg1;
2099 arg2 = (void (*)(Dali::Application &,void *))jarg2;
2102 Dali_Signal_Sl_void_Sp_Dali_Application_SA__Sc_void_Sm__SP__Sg__Disconnect(arg1,arg2);
2103 } catch (std::out_of_range& e) {
2105 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2107 } catch (std::exception& e) {
2109 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2111 } catch (Dali::DaliException e) {
2113 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2117 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2125 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ApplicationControlSignal_Emit(void * jarg1, void * jarg2, void * jarg3) {
2126 Dali::Signal< void (Dali::Application &,void *) > *arg1 = (Dali::Signal< void (Dali::Application &,void *) > *) 0 ;
2127 Dali::Application *arg2 = 0 ;
2128 void *arg3 = (void *) 0 ;
2130 arg1 = (Dali::Signal< void (Dali::Application &,void *) > *)jarg1;
2131 arg2 = (Dali::Application *)jarg2;
2133 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Application & type is null", 0);
2139 Dali_Signal_Sl_void_Sp_Dali_Application_SA__Sc_void_Sm__SP__Sg__Emit(arg1,*arg2,arg3);
2140 } catch (std::out_of_range& e) {
2142 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2144 } catch (std::exception& e) {
2146 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2148 } catch (Dali::DaliException e) {
2150 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2154 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2162 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_ApplicationControlSignal() {
2164 Dali::Signal< void (Dali::Application &,void *) > *result = 0 ;
2168 result = (Dali::Signal< void (Dali::Application &,void *) > *)new Dali::Signal< void (Dali::Application &,void *) >();
2169 } catch (std::out_of_range& e) {
2171 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2173 } catch (std::exception& e) {
2175 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2177 } catch (Dali::DaliException e) {
2179 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2183 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2188 jresult = (void *)result;
2193 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_ApplicationControlSignal(void * jarg1) {
2194 Dali::Signal< void (Dali::Application &,void *) > *arg1 = (Dali::Signal< void (Dali::Application &,void *) > *) 0 ;
2196 arg1 = (Dali::Signal< void (Dali::Application &,void *) > *)jarg1;
2200 } catch (std::out_of_range& e) {
2202 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
2204 } catch (std::exception& e) {
2206 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
2208 } catch (Dali::DaliException e) {
2210 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
2214 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
2222 /*application-devel binding*/
2224 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Application_New__SWIG_4(int jarg1, char * jarg3, int jarg4, void * jarg5) {
2226 int *arg1 = (int *) 0 ;
2228 std::string *arg3 = 0 ;
2229 Dali::Application::WINDOW_MODE arg4 ;
2230 Dali::PositionSize arg5 ;
2231 Dali::PositionSize *argp5 ;
2232 Dali::Application result;
2235 // Todo generate argv data from the C# args
2236 char **array; // two dimensional array
2237 int numStrings = 1; // number of strings
2238 int stringLength = 30; // max string length.
2239 array = (char **)malloc( (numStrings + 1 )* sizeof(char *) );
2241 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "array is null", 0);
2246 // allocate the string data
2247 for( int i=0; i < numStrings; i++)
2249 array[i]=(char *)malloc( stringLength * sizeof(char) );
2251 array[ numStrings ] = NULL; // we allocated +1 for hold the NULL part
2253 std::string temp = "dali-csharp-app";
2256 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "array[0] is null", 0);
2259 array[0][temp.copy(array[0], strlen(array[0])-1)] = '\0';
2265 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
2268 std::string arg3_str(jarg3);
2270 arg4 = (Dali::Application::WINDOW_MODE)jarg4;
2271 argp5 = (Dali::PositionSize *)jarg5;
2273 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::PositionSize", 0);
2279 result = Dali::Application::New(arg1,arg2,(std::string const &)*arg3,arg4,arg5);
2280 } catch (std::out_of_range& e) {
2282 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
2284 } catch (std::exception& e) {
2286 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
2288 } catch (Dali::DaliException e) {
2290 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
2294 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
2299 jresult = new Dali::Application((const Dali::Application &)result);