Merge "Add an API for getting web view when request is intercepted." into devel/master
authordongsug song <dongsug.song@samsung.com>
Thu, 11 Aug 2022 09:08:08 +0000 (09:08 +0000)
committerGerrit Code Review <gerrit@review>
Thu, 11 Aug 2022 09:08:08 +0000 (09:08 +0000)
13 files changed:
.gitignore
build/tizen/profiles/common-profile.cmake
build/tizen/profiles/ivi-profile.cmake
build/tizen/profiles/mobile-profile.cmake
build/tizen/profiles/tv-profile.cmake
build/tizen/profiles/wearable-profile.cmake
dali-csharp-binder/file.list
dali-csharp-binder/src/application-wrap.cpp [changed mode: 0755->0644]
dali-csharp-binder/src/dali-wrap.cpp
dali-csharp-binder/src/model-view-wrap.cpp
dali-csharp-binder/src/model3d-view-wrap.cpp [deleted file]
dali-csharp-binder/src/window-wrap.cpp
packaging/dali-csharp-binder.spec

index 1666db7..a03317a 100755 (executable)
@@ -38,3 +38,5 @@ build/tizen/build/
 build/tizen/cmake_install.cmake
 build/tizen/dali-scene3d/cmake_install.cmake
 build/tizen/install_manifest.txt
+build/tizen/libdali2-csharp-binder.so*
+build/tizen/dali-scene3d/libdali2-csharp-binder-scene3d.so*
\ No newline at end of file
index 050fad5..8cd4e1b 100644 (file)
@@ -8,6 +8,14 @@ SET( SOURCES
 ADD_DEFINITIONS( "-DTIZEN_BUILD" )\r
 PKG_CHECK_MODULES(DALIWIDGET widget_viewer_dali)\r
 SET( DALI_CFLAGS ${DALI_CFLAGS} ${DALIWIDGET_CFLAGS})\r
+SET( DALI_LDFLAGS ${DALI_LDFLAGS} ${DALIWIDGET_LDFLAGS})\r
+\r
+IF ( ENABLE_RIVE_ANIMATION )\r
+  PKG_CHECK_MODULES(DALIRIVEVIEW dali2-extension-rive-animation-view)\r
+  SET( DALI_CFLAGS ${DALI_CFLAGS} ${DALIRIVEVIEW_CFLAGS})\r
+  SET( DALI_LDFLAGS ${DALI_LDFLAGS} ${DALIRIVEVIEW_LDFLAGS})\r
+  SET( SOURCES ${SOURCES} ${dali_csharp_binder_tizen_rive_src_files} )\r
+ENDIF()\r
 \r
 IF( ENABLE_ECORE_WAYLAND2 )\r
   PKG_CHECK_MODULES(WAYLAND ecore-wl2)\r
@@ -38,4 +46,5 @@ ENDIF()
 SET( PROFILE_INCLUDE_DIRECTORIES\r
   ${WAYLAND_INCLUDE_DIRS}\r
   ${DALIWIDGET_INCLUDE_DIRS}\r
+  ${DALIRIVEVIEW_INCLUDE_DIRS}\r
 )\r
index ac40666..15190ea 100644 (file)
@@ -8,10 +8,12 @@ SET( SOURCES
 ADD_DEFINITIONS( "-DTIZEN_BUILD" )\r
 PKG_CHECK_MODULES(DALIWIDGET widget_viewer_dali)\r
 SET( DALI_CFLAGS ${DALI_CFLAGS} ${DALIWIDGET_CFLAGS})\r
+SET( DALI_LDFLAGS ${DALI_LDFLAGS} ${DALIWIDGET_LDFLAGS})\r
 \r
 IF ( ENABLE_RIVE_ANIMATION )\r
   PKG_CHECK_MODULES(DALIRIVEVIEW dali2-extension-rive-animation-view)\r
   SET( DALI_CFLAGS ${DALI_CFLAGS} ${DALIRIVEVIEW_CFLAGS})\r
+  SET( DALI_LDFLAGS ${DALI_LDFLAGS} ${DALIRIVEVIEW_LDFLAGS})\r
   SET( SOURCES ${SOURCES} ${dali_csharp_binder_tizen_rive_src_files} )\r
 ENDIF()\r
 \r
index a84a2c8..7359550 100644 (file)
@@ -8,10 +8,12 @@ SET( SOURCES
 ADD_DEFINITIONS( "-DTIZEN_BUILD" )\r
 PKG_CHECK_MODULES(DALIWIDGET widget_viewer_dali)\r
 SET( DALI_CFLAGS ${DALI_CFLAGS} ${DALIWIDGET_CFLAGS})\r
+SET( DALI_LDFLAGS ${DALI_LDFLAGS} ${DALIWIDGET_LDFLAGS})\r
 \r
 IF ( ENABLE_RIVE_ANIMATION )\r
   PKG_CHECK_MODULES(DALIRIVEVIEW dali2-extension-rive-animation-view)\r
   SET( DALI_CFLAGS ${DALI_CFLAGS} ${DALIRIVEVIEW_CFLAGS})\r
+  SET( DALI_LDFLAGS ${DALI_LDFLAGS} ${DALIRIVEVIEW_LDFLAGS})\r
   SET( SOURCES ${SOURCES} ${dali_csharp_binder_tizen_rive_src_files} )\r
 ENDIF()\r
 \r
index 58cd1c6..847e000 100644 (file)
@@ -8,10 +8,12 @@ SET( SOURCES
 ADD_DEFINITIONS( "-DTIZEN_BUILD" )\r
 PKG_CHECK_MODULES(DALIWIDGET widget_viewer_dali)\r
 SET( DALI_CFLAGS ${DALI_CFLAGS} ${DALIWIDGET_CFLAGS})\r
+SET( DALI_LDFLAGS ${DALI_LDFLAGS} ${DALIWIDGET_LDFLAGS})\r
 \r
 IF ( ENABLE_RIVE_ANIMATION )\r
   PKG_CHECK_MODULES(DALIRIVEVIEW dali2-extension-rive-animation-view)\r
   SET( DALI_CFLAGS ${DALI_CFLAGS} ${DALIRIVEVIEW_CFLAGS})\r
+  SET( DALI_LDFLAGS ${DALI_LDFLAGS} ${DALIRIVEVIEW_LDFLAGS})\r
   SET( SOURCES ${SOURCES} ${dali_csharp_binder_tizen_rive_src_files} )\r
 ENDIF()\r
 \r
index 1997605..853df54 100644 (file)
@@ -9,10 +9,12 @@ SET( SOURCES
 ADD_DEFINITIONS( "-DTIZEN_BUILD" )\r
 PKG_CHECK_MODULES(DALIWIDGET widget_viewer_dali)\r
 SET( DALI_CFLAGS ${DALI_CFLAGS} ${DALIWIDGET_CFLAGS})\r
+SET( DALI_LDFLAGS ${DALI_LDFLAGS} ${DALIWIDGET_LDFLAGS})\r
 \r
 IF ( ENABLE_RIVE_ANIMATION )\r
   PKG_CHECK_MODULES(DALIRIVEVIEW dali2-extension-rive-animation-view)\r
   SET( DALI_CFLAGS ${DALI_CFLAGS} ${DALIRIVEVIEW_CFLAGS})\r
+  SET( DALI_LDFLAGS ${DALI_LDFLAGS} ${DALIRIVEVIEW_LDFLAGS})\r
   SET( SOURCES ${SOURCES} ${dali_csharp_binder_tizen_rive_src_files} )\r
 ENDIF()\r
 \r
@@ -26,6 +28,7 @@ IF( ENABLE_PROFILE )
   PKG_CHECK_MODULES(DALIWATCHVIEW watch_viewer_dali)\r
   PKG_CHECK_MODULES(DALIWATCHHOLDERBASE watch-holder-base)\r
   SET( DALI_CFLAGS ${DALI_CFLAGS} ${DALIWATCHVIEW_CFLAGS} ${DALIWATCHHOLDERBASE_CFLAGS})\r
+  SET( DALI_LDFLAGS ${DALI_LDFLAGS} ${DALIWATCHVIEW_LDFLAGS} ${DALIWATCHHOLDERBASE_LDFLAGS})\r
 ENDIF()\r
 \r
 # WAYLAND\r
index f643b21..037b685 100755 (executable)
@@ -1,11 +1,11 @@
 #
 # Add source files here
-# backend: common - ubuntu,mobile,tv,ivi,tizen-wearable
+# backend: common - ubuntu,mobile,tv,ivi,tizen-wearable,common
 # backend: tizen - mobile,tv,ivi,tizen-wearable
 # backend: tizen-wearable - tizen-wearable
 SET( dali_csharp_binder_dir ${CMAKE_CURRENT_SOURCE_DIR}/../../dali-csharp-binder )
 
-# module: csharp-binder, backend: common
+# module: csharp-binder, backend: common - ubuntu,mobile,tv,ivi,tizen-wearable,common
 SET( dali_csharp_binder_common_src_files
   ${dali_csharp_binder_dir}/src/common.cpp
   ${dali_csharp_binder_dir}/src/dali-wrap.cpp
@@ -51,14 +51,13 @@ SET( dali_csharp_binder_common_src_files
   ${dali_csharp_binder_dir}/src/atspi-wrap.cpp
   ${dali_csharp_binder_dir}/src/rotation-wrap.cpp
   ${dali_csharp_binder_dir}/src/input-options-wrap.cpp
-  ${dali_csharp_binder_dir}/src/model3d-view-wrap.cpp
   ${dali_csharp_binder_dir}/src/native-image-queue-wrap.cpp
   ${dali_csharp_binder_dir}/src/style-manager-wrap.cpp
   ${dali_csharp_binder_dir}/src/drag-and-drop-wrap.cpp
 )
 
 # added for key grab binding only for tizen
-# module: csharp-binder, backend: mobile,tv,ivi,watch
+# module: csharp-binder, backend: mobile,tv,ivi,watch,common
 SET( dali_csharp_binder_tizen_src_files
   ${dali_csharp_binder_dir}/src/key-grab-wrap.cpp
   ${dali_csharp_binder_dir}/src/keyboard-wrap.cpp
old mode 100755 (executable)
new mode 100644 (file)
index b37d01f..034677a
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2020 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2022 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  */
 
 // EXTERNAL INCLUDES
+#include <dali/devel-api/adaptor-framework/application-devel.h>
 #include <dali/integration-api/adaptor-framework/adaptor.h>
 #include <dali/public-api/adaptor-framework/application.h>
 #include <dali/public-api/adaptor-framework/window-enumerations.h>
-#include <dali/devel-api/adaptor-framework/application-devel.h>
 
 // INTERNAL INCLUDES
 #include "common.h"
 
 /* Callback for returning strings to C# without leaking memory */
-typedef char * (SWIGSTDCALL* SWIG_CSharpStringHelperCallback)(const char *);
+typedef char*(SWIGSTDCALL* SWIG_CSharpStringHelperCallback)(const char*);
 extern SWIG_CSharpStringHelperCallback SWIG_csharp_string_callback;
 
 namespace
 {
 // keep argcs and argv so they're always available to DALi
-int gArgC = 0;
+// Note : This argments used only if argv comes externally.
+int    gArgC = 0;
 char** gArgV = nullptr;
+
+void ReleaseArgVMemory()
+{
+  if(gArgV)
+  {
+    // free string data
+    for(int i = 0; i < gArgC + 1; ++i)
+    {
+      delete[] gArgV[i];
+    }
+    delete[] gArgV;
+    gArgV = nullptr;
+  }
+  gArgC = 0;
+}
 } // unnamed namespace
 
-SWIGINTERN bool Dali_Signal_Sl_void_Sp_Dali_DeviceStatus_Battery_Status_SP__Sg__Empty(Dali::Signal< void (Dali::DeviceStatus::Battery::Status) > const *self){
+SWIGINTERN bool Dali_Signal_Sl_void_Sp_Dali_DeviceStatus_Battery_Status_SP__Sg__Empty(Dali::Signal<void(Dali::DeviceStatus::Battery::Status)> const* self)
+{
   return self->Empty();
 }
-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){
+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)
+{
   return self->GetConnectionCount();
 }
-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)){
-  self->Connect( func );
+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))
+{
+  self->Connect(func);
 }
-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)){
-  self->Disconnect( func );
+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))
+{
+  self->Disconnect(func);
 }
-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){
-  self->Emit( arg );
+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)
+{
+  self->Emit(arg);
 }
-SWIGINTERN bool Dali_Signal_Sl_void_Sp_Dali_DeviceStatus_Memory_Status_SP__Sg__Empty(Dali::Signal< void (Dali::DeviceStatus::Memory::Status) > const *self){
+SWIGINTERN bool Dali_Signal_Sl_void_Sp_Dali_DeviceStatus_Memory_Status_SP__Sg__Empty(Dali::Signal<void(Dali::DeviceStatus::Memory::Status)> const* self)
+{
   return self->Empty();
 }
-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){
+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)
+{
   return self->GetConnectionCount();
 }
-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)){
-  self->Connect( func );
+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))
+{
+  self->Connect(func);
 }
-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)){
-  self->Disconnect( func );
+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))
+{
+  self->Disconnect(func);
 }
-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){
-  self->Emit( arg );
+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)
+{
+  self->Emit(arg);
 }
 
-SWIGINTERN bool Dali_Signal_Sl_void_Sp_Dali_Application_SA__SP__Sg__Empty(Dali::Signal< void (Dali::Application &) > const *self){
+SWIGINTERN bool Dali_Signal_Sl_void_Sp_Dali_Application_SA__SP__Sg__Empty(Dali::Signal<void(Dali::Application&)> const* self)
+{
   return self->Empty();
 }
-SWIGINTERN std::size_t Dali_Signal_Sl_void_Sp_Dali_Application_SA__SP__Sg__GetConnectionCount(Dali::Signal< void (Dali::Application &) > const *self){
-return self->GetConnectionCount();
+SWIGINTERN std::size_t Dali_Signal_Sl_void_Sp_Dali_Application_SA__SP__Sg__GetConnectionCount(Dali::Signal<void(Dali::Application&)> const* self)
+{
+  return self->GetConnectionCount();
 }
-SWIGINTERN void Dali_Signal_Sl_void_Sp_Dali_Application_SA__SP__Sg__Connect(Dali::Signal< void (Dali::Application &) > *self,void (*func)(Dali::Application &)){
-  self->Connect( func );
+SWIGINTERN void Dali_Signal_Sl_void_Sp_Dali_Application_SA__SP__Sg__Connect(Dali::Signal<void(Dali::Application&)>* self, void (*func)(Dali::Application&))
+{
+  self->Connect(func);
 }
-SWIGINTERN void Dali_Signal_Sl_void_Sp_Dali_Application_SA__SP__Sg__Disconnect(Dali::Signal< void (Dali::Application &) > *self,void (*func)(Dali::Application &)){
-  self->Disconnect( func );
+SWIGINTERN void Dali_Signal_Sl_void_Sp_Dali_Application_SA__SP__Sg__Disconnect(Dali::Signal<void(Dali::Application&)>* self, void (*func)(Dali::Application&))
+{
+  self->Disconnect(func);
 }
-SWIGINTERN void Dali_Signal_Sl_void_Sp_Dali_Application_SA__SP__Sg__Emit(Dali::Signal< void (Dali::Application &) > *self,Dali::Application &arg){
-  self->Emit( arg );
+SWIGINTERN void Dali_Signal_Sl_void_Sp_Dali_Application_SA__SP__Sg__Emit(Dali::Signal<void(Dali::Application&)>* self, Dali::Application& arg)
+{
+  self->Emit(arg);
 }
 
-SWIGINTERN bool Dali_Signal_Sl_void_Sp_Dali_Application_SA__Sc_void_Sm__SP__Sg__Empty(Dali::Signal< void (Dali::Application &,void *) > const *self){
+SWIGINTERN bool Dali_Signal_Sl_void_Sp_Dali_Application_SA__Sc_void_Sm__SP__Sg__Empty(Dali::Signal<void(Dali::Application&, void*)> const* self)
+{
   return self->Empty();
 }
-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){
-return self->GetConnectionCount();
+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)
+{
+  return self->GetConnectionCount();
 }
-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 *)){
-self->Connect( func );
+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*))
+{
+  self->Connect(func);
 }
-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 *)){
-self->Disconnect( func );
+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*))
+{
+  self->Disconnect(func);
 }
-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){
-self->Emit( arg1, arg2 );
+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)
+{
+  self->Emit(arg1, arg2);
 }
 
 #ifdef __cplusplus
@@ -103,145 +139,122 @@ extern "C" {
 #endif
 
 /*Application binding*/
-SWIGEXPORT Dali::BaseHandle * SWIGSTDCALL CSharp_Dali_Application_SWIGUpcast(Dali::Application *jarg1) {
-  return (Dali::BaseHandle *)jarg1;
+SWIGEXPORT Dali::BaseHandle* SWIGSTDCALL CSharp_Dali_Application_SWIGUpcast(Dali::Application* jarg1)
+{
+  return (Dali::BaseHandle*)jarg1;
 }
 
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Application_PreInitialize() {
-  ApplicationPreInitialize(&gArgC, &gArgV);
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Application_PreInitialize()
+{
+  ApplicationPreInitialize(nullptr, nullptr);
 }
 
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Application_New__SWIG_0() {
-  void * jresult ;
+SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_Application_New__SWIG_0()
+{
+  void*             jresult;
   Dali::Application result;
 
   {
-    try {
+    try
+    {
       result = Dali::Application::New();
-    } CALL_CATCH_EXCEPTION(0);
+    }
+    CALL_CATCH_EXCEPTION(0);
   }
 
-  jresult = new Dali::Application((const Dali::Application &)result);
+  jresult = new Dali::Application((const Dali::Application&)result);
   return jresult;
 }
 
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Application_New__SWIG_1(int jarg1) {
-  void * jresult ;
+SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_Application_New__SWIG_1(int jarg1)
+{
+  void* jresult;
 
   Dali::Application result;
   {
-    std::string app_name = "dali-csharp-app";
-    int stringLength = app_name.length();
-    gArgC = 1;
-    gArgV = new char*[gArgC + 1];
-    gArgV[0] = new char[stringLength + 1];
-
-    strncpy(gArgV[0], app_name.c_str(), stringLength);
-    gArgV[0][stringLength] = '\0';
-    gArgV[1] = NULL;
-  }
-  {
-    try {
-      result = Dali::Application::New( &gArgC, &gArgV );
-    } CALL_CATCH_EXCEPTION(0);
+    try
+    {
+      result = Dali::Application::New(nullptr, nullptr);
+    }
+    CALL_CATCH_EXCEPTION(0);
   }
 
-  jresult = new Dali::Application((const Dali::Application &)result);
+  jresult = new Dali::Application((const Dali::Application&)result);
   return jresult;
 }
 
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Application_New__SWIG_2(int jarg1, char * jarg3) {
-  void * jresult ;
-  std::string *arg3 = 0;
+SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_Application_New__SWIG_2(int jarg1, char* jarg3)
+{
+  void*        jresult;
+  std::stringarg3 = 0;
 
   Dali::Application result;
+  if(!jarg3)
   {
-    std::string app_name = "dali-csharp-app";
-    int stringLength = app_name.length();
-    gArgC = 1;
-    gArgV = new char*[gArgC + 1];
-    gArgV[0] = new char[stringLength + 1];
-
-    strncpy(gArgV[0], app_name.c_str(), stringLength);
-    gArgV[0][stringLength] = '\0';
-    gArgV[1] = NULL;
-  }
-  if (!jarg3) {
     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
-    delete []gArgV[0];
-    delete []gArgV;
-    gArgV = nullptr;
     return 0;
   }
   std::string arg3_str(jarg3);
   arg3 = &arg3_str;
   {
-    try {
-      result = Dali::Application::New( &gArgC, &gArgV, (std::string const &)*arg3 );
-    } CALL_CATCH_EXCEPTION(0);
+    try
+    {
+      result = Dali::Application::New(nullptr, nullptr, (std::string const&)*arg3);
+    }
+    CALL_CATCH_EXCEPTION(0);
   }
 
-  jresult = new Dali::Application((const Dali::Application &)result);
+  jresult = new Dali::Application((const Dali::Application&)result);
 
   //argout typemap for const std::string&
 
   return jresult;
 }
 
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Application_New__SWIG_3(int jarg1, char * jarg3, int jarg4) {
-  void * jresult ;
+SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_Application_New__SWIG_3(int jarg1, char* jarg3, int jarg4)
+{
+  void*                          jresult;
   Dali::Application::WINDOW_MODE arg4;
 
   Dali::Application result;
+  if(!jarg3)
   {
-    std::string app_name = "dali-csharp-app";
-    int stringLength = app_name.length();
-    gArgC = 1;
-    gArgV = new char*[gArgC + 1];
-    gArgV[0] = new char[stringLength + 1];
-
-    strncpy(gArgV[0], app_name.c_str(), stringLength);
-    gArgV[0][stringLength] = '\0';
-    gArgV[1] = NULL;
-  }
-  if (!jarg3) {
     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
-    delete []gArgV[0];
-    delete []gArgV;
-    gArgV = nullptr;
     return 0;
   }
   std::string arg3(jarg3);
   arg4 = (Dali::Application::WINDOW_MODE)jarg4;
   {
-    try {
-      result = Dali::Application::New( &gArgC, &gArgV, arg3, arg4 );
-    } CALL_CATCH_EXCEPTION(0);
+    try
+    {
+      result = Dali::Application::New(nullptr, nullptr, arg3, arg4);
+    }
+    CALL_CATCH_EXCEPTION(0);
   }
 
-  jresult = new Dali::Application((const Dali::Application &)result);
+  jresult = new Dali::Application((const Dali::Application&)result);
 
   //argout typemap for const std::string&
 
   return jresult;
 }
 
+SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_Application_New__MANUAL_4(int jarg1, char* jarg2, char* jarg3, int jarg4)
+{
+  void*                          jresult;
+  int*                           argc = nullptr;
+  char***                        argv = nullptr;
+  Dali::Application::WINDOW_MODE arg4;
+  Dali::Application              result;
 
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Application_New__MANUAL_4(int jarg1, char * jarg2, char * jarg3, int jarg4) {
-  void * jresult ;
-  int *arg1 = (int *) 0 ;
-  char ***arg2 ;
-  Dali::Application::WINDOW_MODE arg4 ;
-  Dali::Application result;
   {
-    // Todo generate argv data from the C# args
-    int index = 0;
-    int length = 0;
-    char *retPtr = NULL;
-    char *nextPtr;
+    // TODO : What should we do if already generated argv exist?
+    ReleaseArgVMemory();
+    // generate argv data from the C# args
+    int   index  = 0;
+    int   length = 0;
+    char* retPtr = NULL;
+    char* nextPtr;
 
     gArgV = new char*[jarg1 + 1];
 
@@ -249,15 +262,15 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Application_New__MANUAL_4(int jarg1, c
         retPtr != NULL && index < jarg1;
         retPtr = strtok_r(NULL, " ", &nextPtr))
     {
-      length = 0;
-      length = strlen(retPtr);
-      gArgV[ index ] = new char[ length + 1 ];
-      strncpy( gArgV[ index ], retPtr, length );
-      gArgV[ index ][ length ] = '\0';
+      length       = 0;
+      length       = strlen(retPtr);
+      gArgV[index] = new char[length + 1];
+      strncpy(gArgV[index], retPtr, length);
+      gArgV[index][length] = '\0';
       index++;
     }
 
-    while( index < jarg1 )
+    while(index < jarg1)
     {
       //if jarg1 - index >1, maybe cause error.
       gArgV[index] = NULL;
@@ -265,1222 +278,1272 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Application_New__MANUAL_4(int jarg1, c
     }
 
     gArgV[jarg1] = NULL;
-    gArgC = jarg1;
+    gArgC        = jarg1;
 
-    arg1 = &gArgC;
-    arg2 = &gArgV;
+    argc = &gArgC;
+    argv = &gArgV;
   }
 
   std::string arg3(jarg3);
   arg4 = (Dali::Application::WINDOW_MODE)jarg4;
   {
-    try {
-      result = Dali::Application::New( arg1, arg2, arg3, arg4);
-    } CALL_CATCH_EXCEPTION(0);
+    try
+    {
+      result = Dali::Application::New(argc, argv, arg3, arg4);
+    }
+    CALL_CATCH_EXCEPTION(0);
   }
-  jresult = new Dali::Application((const Dali::Application &)result);
+  jresult = new Dali::Application((const Dali::Application&)result);
   return jresult;
 }
 
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_Application__SWIG_0() {
-  void * jresult ;
-  Dali::Application *result = 0 ;
+SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_new_Application__SWIG_0()
+{
+  void*              jresult;
+  Dali::Application* result = 0;
 
   {
-    try {
-      result = (Dali::Application *)new Dali::Application();
-    } CALL_CATCH_EXCEPTION(0);
+    try
+    {
+      result = (Dali::Application*)new Dali::Application();
+    }
+    CALL_CATCH_EXCEPTION(0);
   }
 
-  jresult = (void *)result;
+  jresult = (void*)result;
   return jresult;
 }
 
+SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_new_Application__SWIG_1(void* jarg1)
+{
+  void*              jresult;
+  Dali::Application* arg1   = 0;
+  Dali::Application* result = 0;
 
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_Application__SWIG_1(void * jarg1) {
-  void * jresult ;
-  Dali::Application *arg1 = 0 ;
-  Dali::Application *result = 0 ;
-
-  arg1 = (Dali::Application *)jarg1;
-  if (!arg1) {
+  arg1 = (Dali::Application*)jarg1;
+  if(!arg1)
+  {
     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Application const & type is null", 0);
     return 0;
   }
   {
-    try {
-      result = (Dali::Application *)new Dali::Application((Dali::Application const &)*arg1);
-    } CALL_CATCH_EXCEPTION(0);
+    try
+    {
+      result = (Dali::Application*)new Dali::Application((Dali::Application const&)*arg1);
+    }
+    CALL_CATCH_EXCEPTION(0);
   }
 
-  jresult = (void *)result;
+  jresult = (void*)result;
   return jresult;
 }
 
+SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_Application_Assign(void* jarg1, void* jarg2)
+{
+  void*              jresult;
+  Dali::Application* arg1   = (Dali::Application*)0;
+  Dali::Application* arg2   = 0;
+  Dali::Application* result = 0;
 
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Application_Assign(void * jarg1, void * jarg2) {
-  void * jresult ;
-  Dali::Application *arg1 = (Dali::Application *) 0 ;
-  Dali::Application *arg2 = 0 ;
-  Dali::Application *result = 0 ;
-
-  arg1 = (Dali::Application *)jarg1;
-  arg2 = (Dali::Application *)jarg2;
-  if (!arg2) {
+  arg1 = (Dali::Application*)jarg1;
+  arg2 = (Dali::Application*)jarg2;
+  if(!arg2)
+  {
     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Application const & type is null", 0);
     return 0;
   }
   {
-    try {
-      result = (Dali::Application *) &(arg1)->operator =((Dali::Application const &)*arg2);
-    } CALL_CATCH_EXCEPTION(0);
+    try
+    {
+      result = (Dali::Application*)&(arg1)->operator=((Dali::Application const&)*arg2);
+    }
+    CALL_CATCH_EXCEPTION(0);
   }
 
-  jresult = (void *)result;
+  jresult = (void*)result;
   return jresult;
 }
 
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_Application(void* jarg1)
+{
+  Dali::Application* arg1 = (Dali::Application*)0;
 
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_Application(void * jarg1) {
-  Dali::Application *arg1 = (Dali::Application *) 0 ;
-
-  arg1 = (Dali::Application *)jarg1;
+  arg1 = (Dali::Application*)jarg1;
   {
-    try {
+    try
+    {
       delete arg1;
-      if( gArgV )
-      {
-        // free string data
-        for( int i=0; i < gArgC+1; i++)
-        {
-          delete [] gArgV[i];
-        }
-        delete [] gArgV;
-      }
-    } CALL_CATCH_EXCEPTION();
+      ReleaseArgVMemory();
+    }
+    CALL_CATCH_EXCEPTION();
   }
-
 }
 
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Application_MainLoop__SWIG_0(void* jarg1)
+{
+  Dali::Application* arg1 = (Dali::Application*)0;
 
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Application_MainLoop__SWIG_0(void * jarg1) {
-  Dali::Application *arg1 = (Dali::Application *) 0 ;
-
-  arg1 = (Dali::Application *)jarg1;
+  arg1 = (Dali::Application*)jarg1;
   {
-    try {
+    try
+    {
       (arg1)->MainLoop();
-    } CALL_CATCH_EXCEPTION();
+    }
+    CALL_CATCH_EXCEPTION();
   }
-
 }
 
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Application_Lower(void * jarg1) {
-  Dali::Application *arg1 = (Dali::Application *) 0 ;
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Application_Lower(void* jarg1)
+{
+  Dali::Application* arg1 = (Dali::Application*)0;
 
-  arg1 = (Dali::Application *)jarg1;
+  arg1 = (Dali::Application*)jarg1;
   {
-    try {
+    try
+    {
       (arg1)->Lower();
-    } CALL_CATCH_EXCEPTION();
+    }
+    CALL_CATCH_EXCEPTION();
   }
-
 }
 
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Application_Quit(void* jarg1)
+{
+  Dali::Application* arg1 = (Dali::Application*)0;
 
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Application_Quit(void * jarg1) {
-  Dali::Application *arg1 = (Dali::Application *) 0 ;
-
-  arg1 = (Dali::Application *)jarg1;
+  arg1 = (Dali::Application*)jarg1;
   {
-    try {
+    try
+    {
       (arg1)->Quit();
-    } CALL_CATCH_EXCEPTION();
+    }
+    CALL_CATCH_EXCEPTION();
   }
-
 }
 
+SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_Application_AddIdle(void* jarg1, void* jarg2)
+{
+  unsigned int        jresult;
+  Dali::Application*  arg1 = (Dali::Application*)0;
+  Dali::CallbackBase* arg2 = (Dali::CallbackBase*)0;
+  bool                result;
 
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_Application_AddIdle(void * jarg1, void * jarg2) {
-  unsigned int jresult ;
-  Dali::Application *arg1 = (Dali::Application *) 0 ;
-  Dali::CallbackBase *arg2 = (Dali::CallbackBase *) 0 ;
-  bool result;
-
-  arg1 = (Dali::Application *)jarg1;
-  arg2 = (Dali::CallbackBase *)jarg2;
+  arg1 = (Dali::Application*)jarg1;
+  arg2 = (Dali::CallbackBase*)jarg2;
   {
-    try {
+    try
+    {
       result = (bool)(arg1)->AddIdle(arg2);
-    } CALL_CATCH_EXCEPTION(0);
+    }
+    CALL_CATCH_EXCEPTION(0);
   }
 
   jresult = result;
   return jresult;
 }
 
+SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_Application_GetWindow(void* jarg1)
+{
+  void*              jresult;
+  Dali::Application* arg1 = (Dali::Application*)0;
+  Dali::Window       result;
 
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Application_GetWindow(void * jarg1) {
-  void * jresult ;
-  Dali::Application *arg1 = (Dali::Application *) 0 ;
-  Dali::Window result;
-
-  arg1 = (Dali::Application *)jarg1;
+  arg1 = (Dali::Application*)jarg1;
   {
-    try {
+    try
+    {
       result = (arg1)->GetWindow();
-    } CALL_CATCH_EXCEPTION(0);
+    }
+    CALL_CATCH_EXCEPTION(0);
   }
 
-  jresult = new Dali::Window((const Dali::Window &)result);
+  jresult = new Dali::Window((const Dali::Window&)result);
   return jresult;
 }
 
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_Application_GetWindowsListSize() {
-  unsigned int jresult ;
+SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_Application_GetWindowsListSize()
+{
+  unsigned int          jresult;
   Dali::WindowContainer result;
   {
-    try {
-      result = Dali::Adaptor::Get().GetWindows();
+    try
+    {
+      result  = Dali::Adaptor::Get().GetWindows();
       jresult = result.size();
-    } CALL_CATCH_EXCEPTION(0);
+    }
+    CALL_CATCH_EXCEPTION(0);
   }
   return jresult;
 }
 
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Application_GetWindowsFromList(unsigned int jarg1) {
-  void * jresult ;
-  unsigned int index = jarg1;
+SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_Application_GetWindowsFromList(unsigned int jarg1)
+{
+  void*                 jresult;
+  unsigned int          index = jarg1;
   Dali::WindowContainer result;
 
   {
-    try {
+    try
+    {
       result = Dali::Adaptor::Get().GetWindows();
-    } CALL_CATCH_EXCEPTION(0);
+    }
+    CALL_CATCH_EXCEPTION(0);
   }
-  jresult = new Dali::Window((const Dali::Window &)result[index]);
+  jresult = new Dali::Window((const Dali::Window&)result[index]);
   return jresult;
 }
 
-SWIGEXPORT char * SWIGSTDCALL CSharp_Dali_Application_GetResourcePath() {
-  char * jresult ;
+SWIGEXPORT char* SWIGSTDCALL CSharp_Dali_Application_GetResourcePath()
+{
+  char*       jresult;
   std::string result;
 
   {
-    try {
+    try
+    {
       result = Dali::Application::GetResourcePath();
-    } CALL_CATCH_EXCEPTION(0);
+    }
+    CALL_CATCH_EXCEPTION(0);
   }
 
   jresult = SWIG_csharp_string_callback((&result)->c_str());
   return jresult;
 }
 
-SWIGEXPORT char * SWIGSTDCALL CSharp_Dali_Application_GetRegion(void * jarg1) {
-  char * jresult ;
-  Dali::Application *arg1 = (Dali::Application *) 0 ;
-  std::string result;
+SWIGEXPORT char* SWIGSTDCALL CSharp_Dali_Application_GetRegion(void* jarg1)
+{
+  char*              jresult;
+  Dali::Application* arg1 = (Dali::Application*)0;
+  std::string        result;
 
-  arg1 = (Dali::Application *)jarg1;
+  arg1 = (Dali::Application*)jarg1;
   {
-    try {
+    try
+    {
       result = (arg1)->GetRegion();
-    } CALL_CATCH_EXCEPTION(0);
+    }
+    CALL_CATCH_EXCEPTION(0);
   }
   jresult = SWIG_csharp_string_callback((&result)->c_str());
   return jresult;
 }
 
+SWIGEXPORT char* SWIGSTDCALL CSharp_Dali_Application_GetLanguage(void* jarg1)
+{
+  char*              jresult;
+  Dali::Application* arg1 = (Dali::Application*)0;
+  std::string        result;
 
-SWIGEXPORT char * SWIGSTDCALL CSharp_Dali_Application_GetLanguage(void * jarg1) {
-  char * jresult ;
-  Dali::Application *arg1 = (Dali::Application *) 0 ;
-  std::string result;
-
-  arg1 = (Dali::Application *)jarg1;
+  arg1 = (Dali::Application*)jarg1;
   {
-    try {
+    try
+    {
       result = (arg1)->GetLanguage();
-    } CALL_CATCH_EXCEPTION(0);
+    }
+    CALL_CATCH_EXCEPTION(0);
   }
   jresult = SWIG_csharp_string_callback((&result)->c_str());
   return jresult;
 }
 
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Application_InitSignal(void * jarg1) {
-  void * jresult ;
-  Dali::Application *arg1 = (Dali::Application *) 0 ;
-  Dali::Application::AppSignalType *result = 0 ;
+SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_Application_InitSignal(void* jarg1)
+{
+  void*                             jresult;
+  Dali::Application*                arg1   = (Dali::Application*)0;
+  Dali::Application::AppSignalType* result = 0;
 
-  arg1 = (Dali::Application *)jarg1;
+  arg1 = (Dali::Application*)jarg1;
   {
-    try {
-      result = (Dali::Application::AppSignalType *) &(arg1)->InitSignal();
-    } CALL_CATCH_EXCEPTION(0);
+    try
+    {
+      result = (Dali::Application::AppSignalType*)&(arg1)->InitSignal();
+    }
+    CALL_CATCH_EXCEPTION(0);
   }
 
-  jresult = (void *)result;
+  jresult = (void*)result;
   return jresult;
 }
 
+SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_Application_TerminateSignal(void* jarg1)
+{
+  void*                             jresult;
+  Dali::Application*                arg1   = (Dali::Application*)0;
+  Dali::Application::AppSignalType* result = 0;
 
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Application_TerminateSignal(void * jarg1) {
-  void * jresult ;
-  Dali::Application *arg1 = (Dali::Application *) 0 ;
-  Dali::Application::AppSignalType *result = 0 ;
-
-  arg1 = (Dali::Application *)jarg1;
+  arg1 = (Dali::Application*)jarg1;
   {
-    try {
-      result = (Dali::Application::AppSignalType *) &(arg1)->TerminateSignal();
-    } CALL_CATCH_EXCEPTION(0);
+    try
+    {
+      result = (Dali::Application::AppSignalType*)&(arg1)->TerminateSignal();
+    }
+    CALL_CATCH_EXCEPTION(0);
   }
 
-  jresult = (void *)result;
+  jresult = (void*)result;
   return jresult;
 }
 
+SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_Application_PauseSignal(void* jarg1)
+{
+  void*                             jresult;
+  Dali::Application*                arg1   = (Dali::Application*)0;
+  Dali::Application::AppSignalType* result = 0;
 
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Application_PauseSignal(void * jarg1) {
-  void * jresult ;
-  Dali::Application *arg1 = (Dali::Application *) 0 ;
-  Dali::Application::AppSignalType *result = 0 ;
-
-  arg1 = (Dali::Application *)jarg1;
+  arg1 = (Dali::Application*)jarg1;
   {
-    try {
-      result = (Dali::Application::AppSignalType *) &(arg1)->PauseSignal();
-    } CALL_CATCH_EXCEPTION(0);
+    try
+    {
+      result = (Dali::Application::AppSignalType*)&(arg1)->PauseSignal();
+    }
+    CALL_CATCH_EXCEPTION(0);
   }
 
-  jresult = (void *)result;
+  jresult = (void*)result;
   return jresult;
 }
 
+SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_Application_ResumeSignal(void* jarg1)
+{
+  void*                             jresult;
+  Dali::Application*                arg1   = (Dali::Application*)0;
+  Dali::Application::AppSignalType* result = 0;
 
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Application_ResumeSignal(void * jarg1) {
-  void * jresult ;
-  Dali::Application *arg1 = (Dali::Application *) 0 ;
-  Dali::Application::AppSignalType *result = 0 ;
-
-  arg1 = (Dali::Application *)jarg1;
+  arg1 = (Dali::Application*)jarg1;
   {
-    try {
-      result = (Dali::Application::AppSignalType *) &(arg1)->ResumeSignal();
-    } CALL_CATCH_EXCEPTION(0);
+    try
+    {
+      result = (Dali::Application::AppSignalType*)&(arg1)->ResumeSignal();
+    }
+    CALL_CATCH_EXCEPTION(0);
   }
 
-  jresult = (void *)result;
+  jresult = (void*)result;
   return jresult;
 }
 
+SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_Application_ResetSignal(void* jarg1)
+{
+  void*                             jresult;
+  Dali::Application*                arg1   = (Dali::Application*)0;
+  Dali::Application::AppSignalType* result = 0;
 
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Application_ResetSignal(void * jarg1) {
-  void * jresult ;
-  Dali::Application *arg1 = (Dali::Application *) 0 ;
-  Dali::Application::AppSignalType *result = 0 ;
-
-  arg1 = (Dali::Application *)jarg1;
+  arg1 = (Dali::Application*)jarg1;
   {
-    try {
-      result = (Dali::Application::AppSignalType *) &(arg1)->ResetSignal();
-    } CALL_CATCH_EXCEPTION(0);
+    try
+    {
+      result = (Dali::Application::AppSignalType*)&(arg1)->ResetSignal();
+    }
+    CALL_CATCH_EXCEPTION(0);
   }
 
-  jresult = (void *)result;
+  jresult = (void*)result;
   return jresult;
 }
 
+SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_Application_AppControlSignal(void* jarg1)
+{
+  void*                                    jresult;
+  Dali::Application*                       arg1   = (Dali::Application*)0;
+  Dali::Application::AppControlSignalType* result = 0;
 
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Application_AppControlSignal(void * jarg1) {
-  void * jresult ;
-  Dali::Application *arg1 = (Dali::Application *) 0 ;
-  Dali::Application::AppControlSignalType *result = 0 ;
-
-  arg1 = (Dali::Application *)jarg1;
+  arg1 = (Dali::Application*)jarg1;
   {
-    try {
-      result = (Dali::Application::AppControlSignalType *) &(arg1)->AppControlSignal();
-    } CALL_CATCH_EXCEPTION(0);
+    try
+    {
+      result = (Dali::Application::AppControlSignalType*)&(arg1)->AppControlSignal();
+    }
+    CALL_CATCH_EXCEPTION(0);
   }
 
-  jresult = (void *)result;
+  jresult = (void*)result;
   return jresult;
 }
 
+SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_Application_LanguageChangedSignal(void* jarg1)
+{
+  void*                             jresult;
+  Dali::Application*                arg1   = (Dali::Application*)0;
+  Dali::Application::AppSignalType* result = 0;
 
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Application_LanguageChangedSignal(void * jarg1) {
-  void * jresult ;
-  Dali::Application *arg1 = (Dali::Application *) 0 ;
-  Dali::Application::AppSignalType *result = 0 ;
-
-  arg1 = (Dali::Application *)jarg1;
+  arg1 = (Dali::Application*)jarg1;
   {
-    try {
-      result = (Dali::Application::AppSignalType *) &(arg1)->LanguageChangedSignal();
-    } CALL_CATCH_EXCEPTION(0);
+    try
+    {
+      result = (Dali::Application::AppSignalType*)&(arg1)->LanguageChangedSignal();
+    }
+    CALL_CATCH_EXCEPTION(0);
   }
 
-  jresult = (void *)result;
+  jresult = (void*)result;
   return jresult;
 }
 
+SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_Application_RegionChangedSignal(void* jarg1)
+{
+  void*                             jresult;
+  Dali::Application*                arg1   = (Dali::Application*)0;
+  Dali::Application::AppSignalType* result = 0;
 
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Application_RegionChangedSignal(void * jarg1) {
-  void * jresult ;
-  Dali::Application *arg1 = (Dali::Application *) 0 ;
-  Dali::Application::AppSignalType *result = 0 ;
-
-  arg1 = (Dali::Application *)jarg1;
+  arg1 = (Dali::Application*)jarg1;
   {
-    try {
-      result = (Dali::Application::AppSignalType *) &(arg1)->RegionChangedSignal();
-    } CALL_CATCH_EXCEPTION(0);
+    try
+    {
+      result = (Dali::Application::AppSignalType*)&(arg1)->RegionChangedSignal();
+    }
+    CALL_CATCH_EXCEPTION(0);
   }
 
-  jresult = (void *)result;
+  jresult = (void*)result;
   return jresult;
 }
 
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Application_LowBatterySignal(void * jarg1) {
-  void * jresult ;
-  Dali::Application *arg1 = (Dali::Application *) 0 ;
-  Dali::Application::LowBatterySignalType *result = 0 ;
+SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_Application_LowBatterySignal(void* jarg1)
+{
+  void*                                    jresult;
+  Dali::Application*                       arg1   = (Dali::Application*)0;
+  Dali::Application::LowBatterySignalType* result = 0;
 
-  arg1 = (Dali::Application *)jarg1;
+  arg1 = (Dali::Application*)jarg1;
   {
-    try {
-      result = (Dali::Application::LowBatterySignalType *) &(arg1)->LowBatterySignal();
-    } CALL_CATCH_EXCEPTION(0);
+    try
+    {
+      result = (Dali::Application::LowBatterySignalType*)&(arg1)->LowBatterySignal();
+    }
+    CALL_CATCH_EXCEPTION(0);
   }
 
-  jresult = (void *)result;
+  jresult = (void*)result;
   return jresult;
 }
 
+SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_Application_LowMemorySignal(void* jarg1)
+{
+  void*                                   jresult;
+  Dali::Application*                      arg1   = (Dali::Application*)0;
+  Dali::Application::LowMemorySignalType* result = 0;
 
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Application_LowMemorySignal(void * jarg1) {
-  void * jresult ;
-  Dali::Application *arg1 = (Dali::Application *) 0 ;
-  Dali::Application::LowMemorySignalType *result = 0 ;
-
-  arg1 = (Dali::Application *)jarg1;
+  arg1 = (Dali::Application*)jarg1;
   {
-    try {
-      result = (Dali::Application::LowMemorySignalType *) &(arg1)->LowMemorySignal();
-    } CALL_CATCH_EXCEPTION(0);
+    try
+    {
+      result = (Dali::Application::LowMemorySignalType*)&(arg1)->LowMemorySignal();
+    }
+    CALL_CATCH_EXCEPTION(0);
   }
-  jresult = (void *)result;
+  jresult = (void*)result;
   return jresult;
 }
 
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Application_TaskInitSignal(void * app) {
-  void * jresult ;
-  Dali::Application *application = (Dali::Application *) 0 ;
-  Dali::Application::AppSignalType *result = 0 ;
+SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_Application_TaskInitSignal(void* app)
+{
+  void*                             jresult;
+  Dali::Application*                application = (Dali::Application*)0;
+  Dali::Application::AppSignalType* result      = 0;
 
-  application = (Dali::Application *)app;
+  application = (Dali::Application*)app;
   {
-    try {
-      result = (Dali::Application::AppSignalType *) &(application)->TaskInitSignal();
-    } CALL_CATCH_EXCEPTION(0);
+    try
+    {
+      result = (Dali::Application::AppSignalType*)&(application)->TaskInitSignal();
+    }
+    CALL_CATCH_EXCEPTION(0);
   }
 
-  jresult = (void *)result;
+  jresult = (void*)result;
   return jresult;
 }
 
+SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_Application_TaskTerminateSignal(void* app)
+{
+  void*                             jresult;
+  Dali::Application*                application = (Dali::Application*)0;
+  Dali::Application::AppSignalType* result      = 0;
 
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Application_TaskTerminateSignal(void * app) {
-  void * jresult ;
-  Dali::Application *application = (Dali::Application *) 0 ;
-  Dali::Application::AppSignalType *result = 0 ;
-
-  application = (Dali::Application *)app;
+  application = (Dali::Application*)app;
   {
-    try {
-      result = (Dali::Application::AppSignalType *) &(application)->TaskTerminateSignal();
-    } CALL_CATCH_EXCEPTION(0);
+    try
+    {
+      result = (Dali::Application::AppSignalType*)&(application)->TaskTerminateSignal();
+    }
+    CALL_CATCH_EXCEPTION(0);
   }
 
-  jresult = (void *)result;
+  jresult = (void*)result;
   return jresult;
 }
 
+SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_Application_TaskAppControlSignal(void* app)
+{
+  void*                                    jresult;
+  Dali::Application*                       application = (Dali::Application*)0;
+  Dali::Application::AppControlSignalType* result      = 0;
 
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Application_TaskAppControlSignal(void * app) {
-  void * jresult ;
-  Dali::Application *application = (Dali::Application *) 0 ;
-  Dali::Application::AppControlSignalType *result = 0 ;
-
-  application = (Dali::Application *)app;
+  application = (Dali::Application*)app;
   {
-    try {
-      result = (Dali::Application::AppControlSignalType *) &(application)->TaskAppControlSignal();
-    } CALL_CATCH_EXCEPTION(0);
+    try
+    {
+      result = (Dali::Application::AppControlSignalType*)&(application)->TaskAppControlSignal();
+    }
+    CALL_CATCH_EXCEPTION(0);
   }
 
-  jresult = (void *)result;
+  jresult = (void*)result;
   return jresult;
 }
 
+SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_Application_TaskLanguageChangedSignal(void* app)
+{
+  void*                             jresult;
+  Dali::Application*                application = (Dali::Application*)0;
+  Dali::Application::AppSignalType* result      = 0;
 
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Application_TaskLanguageChangedSignal(void * app) {
-  void * jresult ;
-  Dali::Application *application = (Dali::Application *) 0 ;
-  Dali::Application::AppSignalType *result = 0 ;
-
-  application = (Dali::Application *)app;
+  application = (Dali::Application*)app;
   {
-    try {
-      result = (Dali::Application::AppSignalType *) &(application)->TaskLanguageChangedSignal();
-    } CALL_CATCH_EXCEPTION(0);
+    try
+    {
+      result = (Dali::Application::AppSignalType*)&(application)->TaskLanguageChangedSignal();
+    }
+    CALL_CATCH_EXCEPTION(0);
   }
 
-  jresult = (void *)result;
+  jresult = (void*)result;
   return jresult;
 }
 
+SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_Application_TaskRegionChangedSignal(void* app)
+{
+  void*                             jresult;
+  Dali::Application*                application = (Dali::Application*)0;
+  Dali::Application::AppSignalType* result      = 0;
 
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Application_TaskRegionChangedSignal(void * app) {
-  void * jresult ;
-  Dali::Application *application = (Dali::Application *) 0 ;
-  Dali::Application::AppSignalType *result = 0 ;
-
-  application = (Dali::Application *)app;
+  application = (Dali::Application*)app;
   {
-    try {
-      result = (Dali::Application::AppSignalType *) &(application)->TaskRegionChangedSignal();
-    } CALL_CATCH_EXCEPTION(0);
+    try
+    {
+      result = (Dali::Application::AppSignalType*)&(application)->TaskRegionChangedSignal();
+    }
+    CALL_CATCH_EXCEPTION(0);
   }
 
-  jresult = (void *)result;
+  jresult = (void*)result;
   return jresult;
 }
 
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Application_TaskLowBatterySignal(void * app) {
-  void * jresult ;
-  Dali::Application *application = (Dali::Application *) 0 ;
-  Dali::Application::LowBatterySignalType *result = 0 ;
+SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_Application_TaskLowBatterySignal(void* app)
+{
+  void*                                    jresult;
+  Dali::Application*                       application = (Dali::Application*)0;
+  Dali::Application::LowBatterySignalType* result      = 0;
 
-  application = (Dali::Application *)app;
+  application = (Dali::Application*)app;
   {
-    try {
-      result = (Dali::Application::LowBatterySignalType *) &(application)->TaskLowBatterySignal();
-    } CALL_CATCH_EXCEPTION(0);
+    try
+    {
+      result = (Dali::Application::LowBatterySignalType*)&(application)->TaskLowBatterySignal();
+    }
+    CALL_CATCH_EXCEPTION(0);
   }
 
-  jresult = (void *)result;
+  jresult = (void*)result;
   return jresult;
 }
 
+SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_Application_TaskLowMemorySignal(void* app)
+{
+  void*                                   jresult;
+  Dali::Application*                      application = (Dali::Application*)0;
+  Dali::Application::LowMemorySignalType* result      = 0;
 
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Application_TaskLowMemorySignal(void * app) {
-  void * jresult ;
-  Dali::Application *application = (Dali::Application *) 0 ;
-  Dali::Application::LowMemorySignalType *result = 0 ;
-
-  application = (Dali::Application *)app;
+  application = (Dali::Application*)app;
   {
-    try {
-      result = (Dali::Application::LowMemorySignalType *) &(application)->TaskLowMemorySignal();
-    } CALL_CATCH_EXCEPTION(0);
+    try
+    {
+      result = (Dali::Application::LowMemorySignalType*)&(application)->TaskLowMemorySignal();
+    }
+    CALL_CATCH_EXCEPTION(0);
   }
-  jresult = (void *)result;
+  jresult = (void*)result;
   return jresult;
 }
 
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_Application_LowBatterySignalType_Empty(void * jarg1) {
-  unsigned int jresult ;
-  Dali::Signal< void (Dali::DeviceStatus::Battery::Status) > *arg1 = (Dali::Signal< void (Dali::DeviceStatus::Battery::Status) > *) 0 ;
-  bool result;
+SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_Application_LowBatterySignalType_Empty(void* jarg1)
+{
+  unsigned int                                             jresult;
+  Dali::Signal<void(Dali::DeviceStatus::Battery::Status)>* arg1 = (Dali::Signal<void(Dali::DeviceStatus::Battery::Status)>*)0;
+  bool                                                     result;
 
-  arg1 = (Dali::Signal< void (Dali::DeviceStatus::Battery::Status) > *)jarg1;
+  arg1 = (Dali::Signal<void(Dali::DeviceStatus::Battery::Status)>*)jarg1;
   {
-    try {
-      result = (bool)Dali_Signal_Sl_void_Sp_Dali_DeviceStatus_Battery_Status_SP__Sg__Empty((Dali::Signal< void (Dali::DeviceStatus::Battery::Status) > const *)arg1);
-    } CALL_CATCH_EXCEPTION(0);
+    try
+    {
+      result = (bool)Dali_Signal_Sl_void_Sp_Dali_DeviceStatus_Battery_Status_SP__Sg__Empty((Dali::Signal<void(Dali::DeviceStatus::Battery::Status)> const*)arg1);
+    }
+    CALL_CATCH_EXCEPTION(0);
   }
 
   jresult = result;
   return jresult;
 }
 
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_Application_LowBatterySignalType_GetConnectionCount(void* jarg1)
+{
+  unsigned long                                            jresult;
+  Dali::Signal<void(Dali::DeviceStatus::Battery::Status)>* arg1 = (Dali::Signal<void(Dali::DeviceStatus::Battery::Status)>*)0;
+  std::size_t                                              result;
 
-SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_Application_LowBatterySignalType_GetConnectionCount(void * jarg1) {
-  unsigned long jresult ;
-  Dali::Signal< void (Dali::DeviceStatus::Battery::Status) > *arg1 = (Dali::Signal< void (Dali::DeviceStatus::Battery::Status) > *) 0 ;
-  std::size_t result;
-
-  arg1 = (Dali::Signal< void (Dali::DeviceStatus::Battery::Status) > *)jarg1;
+  arg1 = (Dali::Signal<void(Dali::DeviceStatus::Battery::Status)>*)jarg1;
   {
-    try {
-      result = Dali_Signal_Sl_void_Sp_Dali_DeviceStatus_Battery_Status_SP__Sg__GetConnectionCount((Dali::Signal< void (Dali::DeviceStatus::Battery::Status) > const *)arg1);
-    } CALL_CATCH_EXCEPTION(0);
+    try
+    {
+      result = Dali_Signal_Sl_void_Sp_Dali_DeviceStatus_Battery_Status_SP__Sg__GetConnectionCount((Dali::Signal<void(Dali::DeviceStatus::Battery::Status)> const*)arg1);
+    }
+    CALL_CATCH_EXCEPTION(0);
   }
   jresult = (unsigned long)result;
   return jresult;
 }
 
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Application_LowBatterySignalType_Connect(void* jarg1, void* jarg2)
+{
+  Dali::Signal<void(Dali::DeviceStatus::Battery::Status)>* arg1 = (Dali::Signal<void(Dali::DeviceStatus::Battery::Status)>*)0;
+  void (*arg2)(Dali::DeviceStatus::Battery::Status)             = (void (*)(Dali::DeviceStatus::Battery::Status))0;
 
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Application_LowBatterySignalType_Connect(void * jarg1, void * jarg2) {
-  Dali::Signal< void (Dali::DeviceStatus::Battery::Status) > *arg1 = (Dali::Signal< void (Dali::DeviceStatus::Battery::Status) > *) 0 ;
-  void (*arg2)(Dali::DeviceStatus::Battery::Status) = (void (*)(Dali::DeviceStatus::Battery::Status)) 0 ;
-
-  arg1 = (Dali::Signal< void (Dali::DeviceStatus::Battery::Status) > *)jarg1;
+  arg1 = (Dali::Signal<void(Dali::DeviceStatus::Battery::Status)>*)jarg1;
   arg2 = (void (*)(Dali::DeviceStatus::Battery::Status))jarg2;
   {
-    try {
-      Dali_Signal_Sl_void_Sp_Dali_DeviceStatus_Battery_Status_SP__Sg__Connect(arg1,arg2);
-    } CALL_CATCH_EXCEPTION();
+    try
+    {
+      Dali_Signal_Sl_void_Sp_Dali_DeviceStatus_Battery_Status_SP__Sg__Connect(arg1, arg2);
+    }
+    CALL_CATCH_EXCEPTION();
   }
 }
 
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Application_LowBatterySignalType_Disconnect(void* jarg1, void* jarg2)
+{
+  Dali::Signal<void(Dali::DeviceStatus::Battery::Status)>* arg1 = (Dali::Signal<void(Dali::DeviceStatus::Battery::Status)>*)0;
+  void (*arg2)(Dali::DeviceStatus::Battery::Status)             = (void (*)(Dali::DeviceStatus::Battery::Status))0;
 
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Application_LowBatterySignalType_Disconnect(void * jarg1, void * jarg2) {
-  Dali::Signal< void (Dali::DeviceStatus::Battery::Status) > *arg1 = (Dali::Signal< void (Dali::DeviceStatus::Battery::Status) > *) 0 ;
-  void (*arg2)(Dali::DeviceStatus::Battery::Status) = (void (*)(Dali::DeviceStatus::Battery::Status)) 0 ;
-
-  arg1 = (Dali::Signal< void (Dali::DeviceStatus::Battery::Status) > *)jarg1;
+  arg1 = (Dali::Signal<void(Dali::DeviceStatus::Battery::Status)>*)jarg1;
   arg2 = (void (*)(Dali::DeviceStatus::Battery::Status))jarg2;
   {
-    try {
-      Dali_Signal_Sl_void_Sp_Dali_DeviceStatus_Battery_Status_SP__Sg__Disconnect(arg1,arg2);
-    } CALL_CATCH_EXCEPTION();
+    try
+    {
+      Dali_Signal_Sl_void_Sp_Dali_DeviceStatus_Battery_Status_SP__Sg__Disconnect(arg1, arg2);
+    }
+    CALL_CATCH_EXCEPTION();
   }
 }
 
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Application_LowBatterySignalType_Emit(void* jarg1, void* jarg2)
+{
+  Dali::Signal<void(Dali::DeviceStatus::Battery::Status)>* arg1 = (Dali::Signal<void(Dali::DeviceStatus::Battery::Status)>*)0;
+  Dali::DeviceStatus::Battery::Status                      arg2;
+  Dali::DeviceStatus::Battery::Status*                     argp2;
 
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Application_LowBatterySignalType_Emit(void * jarg1, void * jarg2) {
-  Dali::Signal< void (Dali::DeviceStatus::Battery::Status) > *arg1 = (Dali::Signal< void (Dali::DeviceStatus::Battery::Status) > *) 0 ;
-  Dali::DeviceStatus::Battery::Status arg2 ;
-  Dali::DeviceStatus::Battery::Status *argp2 ;
-
-  arg1 = (Dali::Signal< void (Dali::DeviceStatus::Battery::Status) > *)jarg1;
-  argp2 = (Dali::DeviceStatus::Battery::Status *)jarg2;
-  if (!argp2) {
+  arg1  = (Dali::Signal<void(Dali::DeviceStatus::Battery::Status)>*)jarg1;
+  argp2 = (Dali::DeviceStatus::Battery::Status*)jarg2;
+  if(!argp2)
+  {
     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::DeviceStatus::Battery::Status", 0);
-    return ;
+    return;
   }
   arg2 = *argp2;
   {
-    try {
-      Dali_Signal_Sl_void_Sp_Dali_DeviceStatus_Battery_Status_SP__Sg__Emit(arg1,arg2);
-    } CALL_CATCH_EXCEPTION();
+    try
+    {
+      Dali_Signal_Sl_void_Sp_Dali_DeviceStatus_Battery_Status_SP__Sg__Emit(arg1, arg2);
+    }
+    CALL_CATCH_EXCEPTION();
   }
 }
 
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Application_new_LowBatterySignalType() {
-  void * jresult ;
-  Dali::Signal< void (Dali::DeviceStatus::Battery::Status) > *result = 0 ;
+SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_Application_new_LowBatterySignalType()
+{
+  void*                                                    jresult;
+  Dali::Signal<void(Dali::DeviceStatus::Battery::Status)>* result = 0;
 
   {
-    try {
-      result = (Dali::Signal< void (Dali::DeviceStatus::Battery::Status) > *)new Dali::Signal< void (Dali::DeviceStatus::Battery::Status) >();
-    } CALL_CATCH_EXCEPTION(0);
+    try
+    {
+      result = (Dali::Signal<void(Dali::DeviceStatus::Battery::Status)>*)new Dali::Signal<void(Dali::DeviceStatus::Battery::Status)>();
+    }
+    CALL_CATCH_EXCEPTION(0);
   }
 
-  jresult = (void *)result;
+  jresult = (void*)result;
   return jresult;
 }
 
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Application_delete_LowBatterySignalType(void* jarg1)
+{
+  Dali::Signal<void(Dali::DeviceStatus::Battery::Status)>* arg1 = (Dali::Signal<void(Dali::DeviceStatus::Battery::Status)>*)0;
 
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Application_delete_LowBatterySignalType(void * jarg1) {
-  Dali::Signal< void (Dali::DeviceStatus::Battery::Status) > *arg1 = (Dali::Signal< void (Dali::DeviceStatus::Battery::Status) > *) 0 ;
-
-  arg1 = (Dali::Signal< void (Dali::DeviceStatus::Battery::Status) > *)jarg1;
+  arg1 = (Dali::Signal<void(Dali::DeviceStatus::Battery::Status)>*)jarg1;
   {
-    try {
+    try
+    {
       delete arg1;
-    } CALL_CATCH_EXCEPTION();
+    }
+    CALL_CATCH_EXCEPTION();
   }
 }
 
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_Application_LowMemorySignalType_Empty(void * jarg1) {
-  unsigned int jresult ;
-  Dali::Signal< void (Dali::DeviceStatus::Memory::Status) > *arg1 = (Dali::Signal< void (Dali::DeviceStatus::Memory::Status) > *) 0 ;
-  bool result;
+SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_Application_LowMemorySignalType_Empty(void* jarg1)
+{
+  unsigned int                                            jresult;
+  Dali::Signal<void(Dali::DeviceStatus::Memory::Status)>* arg1 = (Dali::Signal<void(Dali::DeviceStatus::Memory::Status)>*)0;
+  bool                                                    result;
 
-  arg1 = (Dali::Signal< void (Dali::DeviceStatus::Memory::Status) > *)jarg1;
+  arg1 = (Dali::Signal<void(Dali::DeviceStatus::Memory::Status)>*)jarg1;
   {
-    try {
-      result = (bool)Dali_Signal_Sl_void_Sp_Dali_DeviceStatus_Memory_Status_SP__Sg__Empty((Dali::Signal< void (Dali::DeviceStatus::Memory::Status) > const *)arg1);
-    } CALL_CATCH_EXCEPTION(0);
+    try
+    {
+      result = (bool)Dali_Signal_Sl_void_Sp_Dali_DeviceStatus_Memory_Status_SP__Sg__Empty((Dali::Signal<void(Dali::DeviceStatus::Memory::Status)> const*)arg1);
+    }
+    CALL_CATCH_EXCEPTION(0);
   }
   jresult = result;
   return jresult;
 }
 
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_Application_LowMemorySignalType_GetConnectionCount(void* jarg1)
+{
+  unsigned long                                           jresult;
+  Dali::Signal<void(Dali::DeviceStatus::Memory::Status)>* arg1 = (Dali::Signal<void(Dali::DeviceStatus::Memory::Status)>*)0;
+  std::size_t                                             result;
 
-SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_Application_LowMemorySignalType_GetConnectionCount(void * jarg1) {
-  unsigned long jresult ;
-  Dali::Signal< void (Dali::DeviceStatus::Memory::Status) > *arg1 = (Dali::Signal< void (Dali::DeviceStatus::Memory::Status) > *) 0 ;
-  std::size_t result;
-
-  arg1 = (Dali::Signal< void (Dali::DeviceStatus::Memory::Status) > *)jarg1;
+  arg1 = (Dali::Signal<void(Dali::DeviceStatus::Memory::Status)>*)jarg1;
   {
-    try {
-      result = Dali_Signal_Sl_void_Sp_Dali_DeviceStatus_Memory_Status_SP__Sg__GetConnectionCount((Dali::Signal< void (Dali::DeviceStatus::Memory::Status) > const *)arg1);
-    } CALL_CATCH_EXCEPTION(0);
+    try
+    {
+      result = Dali_Signal_Sl_void_Sp_Dali_DeviceStatus_Memory_Status_SP__Sg__GetConnectionCount((Dali::Signal<void(Dali::DeviceStatus::Memory::Status)> const*)arg1);
+    }
+    CALL_CATCH_EXCEPTION(0);
   }
   jresult = (unsigned long)result;
   return jresult;
 }
 
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Application_LowMemorySignalType_Connect(void* jarg1, void* jarg2)
+{
+  Dali::Signal<void(Dali::DeviceStatus::Memory::Status)>* arg1 = (Dali::Signal<void(Dali::DeviceStatus::Memory::Status)>*)0;
+  void (*arg2)(Dali::DeviceStatus::Memory::Status)             = (void (*)(Dali::DeviceStatus::Memory::Status))0;
 
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Application_LowMemorySignalType_Connect(void * jarg1, void * jarg2) {
-  Dali::Signal< void (Dali::DeviceStatus::Memory::Status) > *arg1 = (Dali::Signal< void (Dali::DeviceStatus::Memory::Status) > *) 0 ;
-  void (*arg2)(Dali::DeviceStatus::Memory::Status) = (void (*)(Dali::DeviceStatus::Memory::Status)) 0 ;
-
-  arg1 = (Dali::Signal< void (Dali::DeviceStatus::Memory::Status) > *)jarg1;
+  arg1 = (Dali::Signal<void(Dali::DeviceStatus::Memory::Status)>*)jarg1;
   arg2 = (void (*)(Dali::DeviceStatus::Memory::Status))jarg2;
   {
-    try {
-      Dali_Signal_Sl_void_Sp_Dali_DeviceStatus_Memory_Status_SP__Sg__Connect(arg1,arg2);
-    } CALL_CATCH_EXCEPTION();
+    try
+    {
+      Dali_Signal_Sl_void_Sp_Dali_DeviceStatus_Memory_Status_SP__Sg__Connect(arg1, arg2);
+    }
+    CALL_CATCH_EXCEPTION();
   }
 }
 
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Application_LowMemorySignalType_Disconnect(void* jarg1, void* jarg2)
+{
+  Dali::Signal<void(Dali::DeviceStatus::Memory::Status)>* arg1 = (Dali::Signal<void(Dali::DeviceStatus::Memory::Status)>*)0;
+  void (*arg2)(Dali::DeviceStatus::Memory::Status)             = (void (*)(Dali::DeviceStatus::Memory::Status))0;
 
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Application_LowMemorySignalType_Disconnect(void * jarg1, void * jarg2) {
-  Dali::Signal< void (Dali::DeviceStatus::Memory::Status) > *arg1 = (Dali::Signal< void (Dali::DeviceStatus::Memory::Status) > *) 0 ;
-  void (*arg2)(Dali::DeviceStatus::Memory::Status) = (void (*)(Dali::DeviceStatus::Memory::Status)) 0 ;
-
-  arg1 = (Dali::Signal< void (Dali::DeviceStatus::Memory::Status) > *)jarg1;
+  arg1 = (Dali::Signal<void(Dali::DeviceStatus::Memory::Status)>*)jarg1;
   arg2 = (void (*)(Dali::DeviceStatus::Memory::Status))jarg2;
   {
-    try {
-      Dali_Signal_Sl_void_Sp_Dali_DeviceStatus_Memory_Status_SP__Sg__Disconnect(arg1,arg2);
-    } CALL_CATCH_EXCEPTION();
+    try
+    {
+      Dali_Signal_Sl_void_Sp_Dali_DeviceStatus_Memory_Status_SP__Sg__Disconnect(arg1, arg2);
+    }
+    CALL_CATCH_EXCEPTION();
   }
 }
 
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Application_LowMemorySignalType_Emit(void* jarg1, void* jarg2)
+{
+  Dali::Signal<void(Dali::DeviceStatus::Memory::Status)>* arg1 = (Dali::Signal<void(Dali::DeviceStatus::Memory::Status)>*)0;
+  Dali::DeviceStatus::Memory::Status                      arg2;
+  Dali::DeviceStatus::Memory::Status*                     argp2;
 
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Application_LowMemorySignalType_Emit(void * jarg1, void * jarg2) {
-  Dali::Signal< void (Dali::DeviceStatus::Memory::Status) > *arg1 = (Dali::Signal< void (Dali::DeviceStatus::Memory::Status) > *) 0 ;
-  Dali::DeviceStatus::Memory::Status arg2 ;
-  Dali::DeviceStatus::Memory::Status *argp2 ;
-
-  arg1 = (Dali::Signal< void (Dali::DeviceStatus::Memory::Status) > *)jarg1;
-  argp2 = (Dali::DeviceStatus::Memory::Status *)jarg2;
-  if (!argp2) {
+  arg1  = (Dali::Signal<void(Dali::DeviceStatus::Memory::Status)>*)jarg1;
+  argp2 = (Dali::DeviceStatus::Memory::Status*)jarg2;
+  if(!argp2)
+  {
     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::DeviceStatus::Memory::Status", 0);
-    return ;
+    return;
   }
   arg2 = *argp2;
   {
-    try {
-      Dali_Signal_Sl_void_Sp_Dali_DeviceStatus_Memory_Status_SP__Sg__Emit(arg1,arg2);
-    } CALL_CATCH_EXCEPTION();
+    try
+    {
+      Dali_Signal_Sl_void_Sp_Dali_DeviceStatus_Memory_Status_SP__Sg__Emit(arg1, arg2);
+    }
+    CALL_CATCH_EXCEPTION();
   }
 }
 
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Application_new_LowMemorySignalType() {
-  void * jresult ;
-  Dali::Signal< void (Dali::DeviceStatus::Memory::Status) > *result = 0 ;
+SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_Application_new_LowMemorySignalType()
+{
+  void*                                                   jresult;
+  Dali::Signal<void(Dali::DeviceStatus::Memory::Status)>* result = 0;
 
   {
-    try {
-      result = (Dali::Signal< void (Dali::DeviceStatus::Memory::Status) > *)new Dali::Signal< void (Dali::DeviceStatus::Memory::Status) >();
-    } CALL_CATCH_EXCEPTION(0);
+    try
+    {
+      result = (Dali::Signal<void(Dali::DeviceStatus::Memory::Status)>*)new Dali::Signal<void(Dali::DeviceStatus::Memory::Status)>();
+    }
+    CALL_CATCH_EXCEPTION(0);
   }
-  jresult = (void *)result;
+  jresult = (void*)result;
   return jresult;
 }
 
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Application_delete_LowMemorySignalType(void* jarg1)
+{
+  Dali::Signal<void(Dali::DeviceStatus::Memory::Status)>* arg1 = (Dali::Signal<void(Dali::DeviceStatus::Memory::Status)>*)0;
 
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Application_delete_LowMemorySignalType(void * jarg1) {
-  Dali::Signal< void (Dali::DeviceStatus::Memory::Status) > *arg1 = (Dali::Signal< void (Dali::DeviceStatus::Memory::Status) > *) 0 ;
-
-  arg1 = (Dali::Signal< void (Dali::DeviceStatus::Memory::Status) > *)jarg1;
+  arg1 = (Dali::Signal<void(Dali::DeviceStatus::Memory::Status)>*)jarg1;
   {
-    try {
+    try
+    {
       delete arg1;
-    } CALL_CATCH_EXCEPTION();
+    }
+    CALL_CATCH_EXCEPTION();
   }
 }
 
+SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_ApplicationSignal_Empty(void* jarg1)
+{
+  unsigned int                            jresult;
+  Dali::Signal<void(Dali::Application&)>* arg1 = (Dali::Signal<void(Dali::Application&)>*)0;
+  bool                                    result;
 
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_ApplicationSignal_Empty(void * jarg1) {
-  unsigned int jresult ;
-  Dali::Signal< void (Dali::Application &) > *arg1 = (Dali::Signal< void (Dali::Application &) > *) 0 ;
-  bool result;
-
-  arg1 = (Dali::Signal< void (Dali::Application &) > *)jarg1;
+  arg1 = (Dali::Signal<void(Dali::Application&)>*)jarg1;
   {
-    try {
-      result = (bool)Dali_Signal_Sl_void_Sp_Dali_Application_SA__SP__Sg__Empty((Dali::Signal< void (Dali::Application &) > const *)arg1);
-    } CALL_CATCH_EXCEPTION(0);
+    try
+    {
+      result = (bool)Dali_Signal_Sl_void_Sp_Dali_Application_SA__SP__Sg__Empty((Dali::Signal<void(Dali::Application&)> const*)arg1);
+    }
+    CALL_CATCH_EXCEPTION(0);
   }
 
   jresult = result;
   return jresult;
 }
 
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_ApplicationSignal_GetConnectionCount(void* jarg1)
+{
+  unsigned long                           jresult;
+  Dali::Signal<void(Dali::Application&)>* arg1 = (Dali::Signal<void(Dali::Application&)>*)0;
+  std::size_t                             result;
 
-SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_ApplicationSignal_GetConnectionCount(void * jarg1) {
-  unsigned long jresult ;
-  Dali::Signal< void (Dali::Application &) > *arg1 = (Dali::Signal< void (Dali::Application &) > *) 0 ;
-  std::size_t result;
-
-  arg1 = (Dali::Signal< void (Dali::Application &) > *)jarg1;
+  arg1 = (Dali::Signal<void(Dali::Application&)>*)jarg1;
   {
-    try {
-      result = Dali_Signal_Sl_void_Sp_Dali_Application_SA__SP__Sg__GetConnectionCount((Dali::Signal< void (Dali::Application &) > const *)arg1);
-    } CALL_CATCH_EXCEPTION(0);
+    try
+    {
+      result = Dali_Signal_Sl_void_Sp_Dali_Application_SA__SP__Sg__GetConnectionCount((Dali::Signal<void(Dali::Application&)> const*)arg1);
+    }
+    CALL_CATCH_EXCEPTION(0);
   }
 
   jresult = (unsigned long)result;
   return jresult;
 }
 
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ApplicationSignal_Connect(void* jarg1, void* jarg2)
+{
+  Dali::Signal<void(Dali::Application&)>* arg1 = (Dali::Signal<void(Dali::Application&)>*)0;
+  void (*arg2)(Dali::Application&)             = (void (*)(Dali::Application&))0;
 
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ApplicationSignal_Connect(void * jarg1, void * jarg2) {
-  Dali::Signal< void (Dali::Application &) > *arg1 = (Dali::Signal< void (Dali::Application &) > *) 0 ;
-  void (*arg2)(Dali::Application &) = (void (*)(Dali::Application &)) 0 ;
-
-  arg1 = (Dali::Signal< void (Dali::Application &) > *)jarg1;
-  arg2 = (void (*)(Dali::Application &))jarg2;
+  arg1 = (Dali::Signal<void(Dali::Application&)>*)jarg1;
+  arg2 = (void (*)(Dali::Application&))jarg2;
   {
-    try {
-      Dali_Signal_Sl_void_Sp_Dali_Application_SA__SP__Sg__Connect(arg1,arg2);
-    } CALL_CATCH_EXCEPTION();
+    try
+    {
+      Dali_Signal_Sl_void_Sp_Dali_Application_SA__SP__Sg__Connect(arg1, arg2);
+    }
+    CALL_CATCH_EXCEPTION();
   }
-
 }
 
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ApplicationSignal_Disconnect(void* jarg1, void* jarg2)
+{
+  Dali::Signal<void(Dali::Application&)>* arg1 = (Dali::Signal<void(Dali::Application&)>*)0;
+  void (*arg2)(Dali::Application&)             = (void (*)(Dali::Application&))0;
 
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ApplicationSignal_Disconnect(void * jarg1, void * jarg2) {
-  Dali::Signal< void (Dali::Application &) > *arg1 = (Dali::Signal< void (Dali::Application &) > *) 0 ;
-  void (*arg2)(Dali::Application &) = (void (*)(Dali::Application &)) 0 ;
-
-  arg1 = (Dali::Signal< void (Dali::Application &) > *)jarg1;
-  arg2 = (void (*)(Dali::Application &))jarg2;
+  arg1 = (Dali::Signal<void(Dali::Application&)>*)jarg1;
+  arg2 = (void (*)(Dali::Application&))jarg2;
   {
-    try {
-      Dali_Signal_Sl_void_Sp_Dali_Application_SA__SP__Sg__Disconnect(arg1,arg2);
-    } CALL_CATCH_EXCEPTION();
+    try
+    {
+      Dali_Signal_Sl_void_Sp_Dali_Application_SA__SP__Sg__Disconnect(arg1, arg2);
+    }
+    CALL_CATCH_EXCEPTION();
   }
-
 }
 
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ApplicationSignal_Emit(void* jarg1, void* jarg2)
+{
+  Dali::Signal<void(Dali::Application&)>* arg1 = (Dali::Signal<void(Dali::Application&)>*)0;
+  Dali::Application*                      arg2 = 0;
 
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ApplicationSignal_Emit(void * jarg1, void * jarg2) {
-  Dali::Signal< void (Dali::Application &) > *arg1 = (Dali::Signal< void (Dali::Application &) > *) 0 ;
-  Dali::Application *arg2 = 0 ;
-
-  arg1 = (Dali::Signal< void (Dali::Application &) > *)jarg1;
-  arg2 = (Dali::Application *)jarg2;
-  if (!arg2) {
+  arg1 = (Dali::Signal<void(Dali::Application&)>*)jarg1;
+  arg2 = (Dali::Application*)jarg2;
+  if(!arg2)
+  {
     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Application & type is null", 0);
-    return ;
+    return;
   }
   {
-    try {
-      Dali_Signal_Sl_void_Sp_Dali_Application_SA__SP__Sg__Emit(arg1,*arg2);
-    } CALL_CATCH_EXCEPTION();
+    try
+    {
+      Dali_Signal_Sl_void_Sp_Dali_Application_SA__SP__Sg__Emit(arg1, *arg2);
+    }
+    CALL_CATCH_EXCEPTION();
   }
-
 }
 
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_ApplicationSignal() {
-  void * jresult ;
-  Dali::Signal< void (Dali::Application &) > *result = 0 ;
+SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_new_ApplicationSignal()
+{
+  void*                                   jresult;
+  Dali::Signal<void(Dali::Application&)>* result = 0;
 
   {
-    try {
-      result = (Dali::Signal< void (Dali::Application &) > *)new Dali::Signal< void (Dali::Application &) >();
-    } CALL_CATCH_EXCEPTION(0);
+    try
+    {
+      result = (Dali::Signal<void(Dali::Application&)>*)new Dali::Signal<void(Dali::Application&)>();
+    }
+    CALL_CATCH_EXCEPTION(0);
   }
 
-  jresult = (void *)result;
+  jresult = (void*)result;
   return jresult;
 }
 
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_ApplicationSignal(void* jarg1)
+{
+  Dali::Signal<void(Dali::Application&)>* arg1 = (Dali::Signal<void(Dali::Application&)>*)0;
 
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_ApplicationSignal(void * jarg1) {
-  Dali::Signal< void (Dali::Application &) > *arg1 = (Dali::Signal< void (Dali::Application &) > *) 0 ;
-
-  arg1 = (Dali::Signal< void (Dali::Application &) > *)jarg1;
+  arg1 = (Dali::Signal<void(Dali::Application&)>*)jarg1;
   {
-    try {
+    try
+    {
       delete arg1;
-    } CALL_CATCH_EXCEPTION();
+    }
+    CALL_CATCH_EXCEPTION();
   }
-
 }
 
+SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_ApplicationControlSignal_Empty(void* jarg1)
+{
+  unsigned int                                   jresult;
+  Dali::Signal<void(Dali::Application&, void*)>* arg1 = (Dali::Signal<void(Dali::Application&, void*)>*)0;
+  bool                                           result;
 
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_ApplicationControlSignal_Empty(void * jarg1) {
-  unsigned int jresult ;
-  Dali::Signal< void (Dali::Application &,void *) > *arg1 = (Dali::Signal< void (Dali::Application &,void *) > *) 0 ;
-  bool result;
-
-  arg1 = (Dali::Signal< void (Dali::Application &,void *) > *)jarg1;
+  arg1 = (Dali::Signal<void(Dali::Application&, void*)>*)jarg1;
   {
-    try {
-      result = (bool)Dali_Signal_Sl_void_Sp_Dali_Application_SA__Sc_void_Sm__SP__Sg__Empty((Dali::Signal< void (Dali::Application &,void *) > const *)arg1);
-    } CALL_CATCH_EXCEPTION(0);
+    try
+    {
+      result = (bool)Dali_Signal_Sl_void_Sp_Dali_Application_SA__Sc_void_Sm__SP__Sg__Empty((Dali::Signal<void(Dali::Application&, void*)> const*)arg1);
+    }
+    CALL_CATCH_EXCEPTION(0);
   }
 
   jresult = result;
   return jresult;
 }
 
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_ApplicationControlSignal_GetConnectionCount(void* jarg1)
+{
+  unsigned long                                  jresult;
+  Dali::Signal<void(Dali::Application&, void*)>* arg1 = (Dali::Signal<void(Dali::Application&, void*)>*)0;
+  std::size_t                                    result;
 
-SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_ApplicationControlSignal_GetConnectionCount(void * jarg1) {
-  unsigned long jresult ;
-  Dali::Signal< void (Dali::Application &,void *) > *arg1 = (Dali::Signal< void (Dali::Application &,void *) > *) 0 ;
-  std::size_t result;
-
-  arg1 = (Dali::Signal< void (Dali::Application &,void *) > *)jarg1;
+  arg1 = (Dali::Signal<void(Dali::Application&, void*)>*)jarg1;
   {
-    try {
-      result = Dali_Signal_Sl_void_Sp_Dali_Application_SA__Sc_void_Sm__SP__Sg__GetConnectionCount((Dali::Signal< void (Dali::Application &,void *) > const *)arg1);
-    } CALL_CATCH_EXCEPTION(0);
+    try
+    {
+      result = Dali_Signal_Sl_void_Sp_Dali_Application_SA__Sc_void_Sm__SP__Sg__GetConnectionCount((Dali::Signal<void(Dali::Application&, void*)> const*)arg1);
+    }
+    CALL_CATCH_EXCEPTION(0);
   }
 
   jresult = (unsigned long)result;
   return jresult;
 }
 
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ApplicationControlSignal_Connect(void* jarg1, void* jarg2)
+{
+  Dali::Signal<void(Dali::Application&, void*)>* arg1 = (Dali::Signal<void(Dali::Application&, void*)>*)0;
+  void (*arg2)(Dali::Application&, void*)             = (void (*)(Dali::Application&, void*))0;
 
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ApplicationControlSignal_Connect(void * jarg1, void * jarg2) {
-  Dali::Signal< void (Dali::Application &,void *) > *arg1 = (Dali::Signal< void (Dali::Application &,void *) > *) 0 ;
-  void (*arg2)(Dali::Application &,void *) = (void (*)(Dali::Application &,void *)) 0 ;
-
-  arg1 = (Dali::Signal< void (Dali::Application &,void *) > *)jarg1;
-  arg2 = (void (*)(Dali::Application &,void *))jarg2;
+  arg1 = (Dali::Signal<void(Dali::Application&, void*)>*)jarg1;
+  arg2 = (void (*)(Dali::Application&, void*))jarg2;
   {
-    try {
-      Dali_Signal_Sl_void_Sp_Dali_Application_SA__Sc_void_Sm__SP__Sg__Connect(arg1,arg2);
-    } CALL_CATCH_EXCEPTION();
+    try
+    {
+      Dali_Signal_Sl_void_Sp_Dali_Application_SA__Sc_void_Sm__SP__Sg__Connect(arg1, arg2);
+    }
+    CALL_CATCH_EXCEPTION();
   }
-
 }
 
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ApplicationControlSignal_Disconnect(void* jarg1, void* jarg2)
+{
+  Dali::Signal<void(Dali::Application&, void*)>* arg1 = (Dali::Signal<void(Dali::Application&, void*)>*)0;
+  void (*arg2)(Dali::Application&, void*)             = (void (*)(Dali::Application&, void*))0;
 
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ApplicationControlSignal_Disconnect(void * jarg1, void * jarg2) {
-  Dali::Signal< void (Dali::Application &,void *) > *arg1 = (Dali::Signal< void (Dali::Application &,void *) > *) 0 ;
-  void (*arg2)(Dali::Application &,void *) = (void (*)(Dali::Application &,void *)) 0 ;
-
-  arg1 = (Dali::Signal< void (Dali::Application &,void *) > *)jarg1;
-  arg2 = (void (*)(Dali::Application &,void *))jarg2;
+  arg1 = (Dali::Signal<void(Dali::Application&, void*)>*)jarg1;
+  arg2 = (void (*)(Dali::Application&, void*))jarg2;
   {
-    try {
-      Dali_Signal_Sl_void_Sp_Dali_Application_SA__Sc_void_Sm__SP__Sg__Disconnect(arg1,arg2);
-    } CALL_CATCH_EXCEPTION();
+    try
+    {
+      Dali_Signal_Sl_void_Sp_Dali_Application_SA__Sc_void_Sm__SP__Sg__Disconnect(arg1, arg2);
+    }
+    CALL_CATCH_EXCEPTION();
   }
-
 }
 
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ApplicationControlSignal_Emit(void* jarg1, void* jarg2, void* jarg3)
+{
+  Dali::Signal<void(Dali::Application&, void*)>* arg1 = (Dali::Signal<void(Dali::Application&, void*)>*)0;
+  Dali::Application*                             arg2 = 0;
+  void*                                          arg3 = (void*)0;
 
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ApplicationControlSignal_Emit(void * jarg1, void * jarg2, void * jarg3) {
-  Dali::Signal< void (Dali::Application &,void *) > *arg1 = (Dali::Signal< void (Dali::Application &,void *) > *) 0 ;
-  Dali::Application *arg2 = 0 ;
-  void *arg3 = (void *) 0 ;
-
-  arg1 = (Dali::Signal< void (Dali::Application &,void *) > *)jarg1;
-  arg2 = (Dali::Application *)jarg2;
-  if (!arg2) {
+  arg1 = (Dali::Signal<void(Dali::Application&, void*)>*)jarg1;
+  arg2 = (Dali::Application*)jarg2;
+  if(!arg2)
+  {
     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Application & type is null", 0);
-    return ;
+    return;
   }
   arg3 = jarg3;
   {
-    try {
-      Dali_Signal_Sl_void_Sp_Dali_Application_SA__Sc_void_Sm__SP__Sg__Emit(arg1,*arg2,arg3);
-    } CALL_CATCH_EXCEPTION();
+    try
+    {
+      Dali_Signal_Sl_void_Sp_Dali_Application_SA__Sc_void_Sm__SP__Sg__Emit(arg1, *arg2, arg3);
+    }
+    CALL_CATCH_EXCEPTION();
   }
-
 }
 
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_ApplicationControlSignal() {
-  void * jresult ;
-  Dali::Signal< void (Dali::Application &,void *) > *result = 0 ;
+SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_new_ApplicationControlSignal()
+{
+  void*                                          jresult;
+  Dali::Signal<void(Dali::Application&, void*)>* result = 0;
 
   {
-    try {
-      result = (Dali::Signal< void (Dali::Application &,void *) > *)new Dali::Signal< void (Dali::Application &,void *) >();
-    } CALL_CATCH_EXCEPTION(0);
+    try
+    {
+      result = (Dali::Signal<void(Dali::Application&, void*)>*)new Dali::Signal<void(Dali::Application&, void*)>();
+    }
+    CALL_CATCH_EXCEPTION(0);
   }
 
-  jresult = (void *)result;
+  jresult = (void*)result;
   return jresult;
 }
 
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_ApplicationControlSignal(void* jarg1)
+{
+  Dali::Signal<void(Dali::Application&, void*)>* arg1 = (Dali::Signal<void(Dali::Application&, void*)>*)0;
 
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_ApplicationControlSignal(void * jarg1) {
-  Dali::Signal< void (Dali::Application &,void *) > *arg1 = (Dali::Signal< void (Dali::Application &,void *) > *) 0 ;
-
-  arg1 = (Dali::Signal< void (Dali::Application &,void *) > *)jarg1;
+  arg1 = (Dali::Signal<void(Dali::Application&, void*)>*)jarg1;
   {
-    try {
+    try
+    {
       delete arg1;
-    } CALL_CATCH_EXCEPTION();
+    }
+    CALL_CATCH_EXCEPTION();
   }
-
 }
 
 /*application-devel binding*/
 
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Application_New__SWIG_4(int jarg1, char * jarg3, int jarg4, void * jarg5) {
-  void * jresult ;
-  int *arg1 = (int *) 0 ;
-  char ***arg2 ;
-  Dali::Application::WINDOW_MODE arg4 ;
-  Dali::PositionSize arg5 ;
-  Dali::PositionSize *argp5 ;
-  Dali::Application result;
+SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_Application_New__SWIG_4(int jarg1, char* jarg3, int jarg4, void* jarg5)
+{
+  void*                          jresult;
+  int*                           argc = nullptr;
+  char***                        argv = nullptr;
+  Dali::Application::WINDOW_MODE arg4;
+  Dali::PositionSize             arg5;
+  Dali::PositionSize*            argp5;
+  Dali::Application              result;
 
+  if(!jarg3)
   {
-    // Todo generate argv data from the C# args
-    char **array;         // two dimensional array
-    int numStrings = 1;     // number of strings
-    int stringLength = 30;      // max string length.
-    array = (char **)malloc( (numStrings + 1 )* sizeof(char *) );
-    if(!array) {
-      SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "array is null", 0);
-      return 0;
-    }
-    gArgV = array;
-
-    // allocate the string data
-    for( int i=0; i < numStrings; i++)
-    {
-      array[i]=(char *)malloc( stringLength * sizeof(char) );
-    }
-    array[ numStrings ] =  NULL; // we allocated +1 for hold the NULL part
-
-    std::string temp = "dali-csharp-app";
-
-    if(!array[0]) {
-      SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "array[0] is null", 0);
-      return 0;
-    }
-    array[0][temp.copy(array[0], strlen(array[0])-1)] = '\0';
-
-    arg1 = &gArgC;
-    arg2 = &gArgV;
-  }
-  if (!jarg3) {
     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
     return 0;
   }
   std::string arg3(jarg3);
-  arg4 = (Dali::Application::WINDOW_MODE)jarg4;
-  argp5 = (Dali::PositionSize *)jarg5;
-  if (!argp5) {
+  arg4  = (Dali::Application::WINDOW_MODE)jarg4;
+  argp5 = (Dali::PositionSize*)jarg5;
+  if(!argp5)
+  {
     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::PositionSize", 0);
     return 0;
   }
   arg5 = *argp5;
   {
-    try {
-      result = Dali::Application::New( arg1, arg2, arg3, arg4, arg5 );
-    } CALL_CATCH_EXCEPTION(0);
+    try
+    {
+      result = Dali::Application::New(argc, argv, arg3, arg4, arg5);
+    }
+    CALL_CATCH_EXCEPTION(0);
   }
 
-  jresult = new Dali::Application((const Dali::Application &)result);
+  jresult = new Dali::Application((const Dali::Application&)result);
 
   return jresult;
 }
 
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Application_New__SWIG_5(int jarg1, char * jarg3, int jarg4, void * jarg5, int jarg6) {
-  void * jresult ;
-  int *arg1 = (int *) 0 ;
-  char ***arg2 ;
-  Dali::Application::WINDOW_MODE arg4 ;
-  Dali::PositionSize arg5 ;
-  Dali::PositionSize *argp5 ;
-  Dali::WindowType arg6;
-  Dali::Application result;
+SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_Application_New__SWIG_5(int jarg1, char* jarg3, int jarg4, void* jarg5, int jarg6)
+{
+  void*                          jresult;
+  int*                           argc = nullptr;
+  char***                        argv = nullptr;
+  Dali::Application::WINDOW_MODE arg4;
+  Dali::PositionSize             arg5;
+  Dali::PositionSize*            argp5;
+  Dali::WindowType               arg6;
+  Dali::Application              result;
 
+  if(!jarg3)
   {
-    // Todo generate argv data from the C# args
-    char **array;         // two dimensional array
-    int numStrings = 1;     // number of strings
-    int stringLength = 30;      // max string length.
-    array = (char **)malloc( (numStrings + 1 )* sizeof(char *) );
-    if(!array) {
-      SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "array is null", 0);
-      return 0;
-    }
-    gArgV = array;
+    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
+    return 0;
+  }
+  std::string arg3(jarg3);
+  arg4  = (Dali::Application::WINDOW_MODE)jarg4;
+  argp5 = (Dali::PositionSize*)jarg5;
+  arg6  = (Dali::WindowType)jarg6;
 
-    // allocate the string data
-    for( int i=0; i < numStrings; i++)
+  if(!argp5)
+  {
+    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::PositionSize", 0);
+    return 0;
+  }
+  arg5 = *argp5;
+  {
+    try
     {
-      array[i]=(char *)malloc( stringLength * sizeof(char) );
+      result = Dali::DevelApplication::New(argc, argv, arg3, arg4, arg5, arg6);
     }
-    array[ numStrings ] =  NULL; // we allocated +1 for hold the NULL part
+    CALL_CATCH_EXCEPTION(0);
+  }
 
-    std::string temp = "dali-csharp-app";
+  jresult = new Dali::Application((const Dali::Application&)result);
 
-    if(!array[0]) {
-      SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "array[0] is null", 0);
-      return 0;
-    }
-    array[0][temp.copy(array[0], strlen(array[0])-1)] = '\0';
+  return jresult;
+}
 
-    arg1 = &gArgC;
-    arg2 = &gArgV;
-  }
-  if (!jarg3) {
+SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_Application_New__SWIG_6(int nuiArgc, char* nuiStyleSheet, int nuiWindowMode, void* nuiPositionSize, bool nuiUseUiThread)
+{
+  void*                          jresult;
+  int*                           argc = nullptr;
+  char***                        argv = nullptr;
+  Dali::Application::WINDOW_MODE windowMode;
+  Dali::PositionSize             positionSize;
+  Dali::PositionSize*            positionSizeP;
+  bool                           useUiThread;
+  Dali::Application              result;
+
+  if(!nuiStyleSheet)
+  {
     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
     return 0;
   }
-  std::string arg3(jarg3);
-  arg4 = (Dali::Application::WINDOW_MODE)jarg4;
-  argp5 = (Dali::PositionSize *)jarg5;
-  arg6 = (Dali::WindowType)jarg6;
+  std::string styleSheet(nuiStyleSheet);
+  windowMode    = (Dali::Application::WINDOW_MODE)nuiWindowMode;
+  positionSizeP = (Dali::PositionSize*)nuiPositionSize;
+  useUiThread   = nuiUseUiThread;
 
-  if (!argp5) {
+  if(!positionSizeP)
+  {
     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::PositionSize", 0);
     return 0;
   }
-  arg5 = *argp5;
+
+  positionSize = *positionSizeP;
   {
-    try {
-      result = Dali::DevelApplication::New( arg1, arg2, arg3, arg4, arg5, arg6 );
-    } CALL_CATCH_EXCEPTION(0);
+    try
+    {
+      result = Dali::Application::New(argc, argv, styleSheet, windowMode, positionSize, useUiThread);
+    }
+    CALL_CATCH_EXCEPTION(0);
   }
 
-  jresult = new Dali::Application((const Dali::Application &)result);
+  jresult = new Dali::Application((const Dali::Application&)result);
 
   return jresult;
 }
 
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Application_New__SWIG_6(int nuiArgc, char * nuiStyleSheet, int nuiWindowMode, void * nuiPositionSize, bool nuiUseUiThread) {
-  void * jresult ;
-  int *argc = (int *) 0 ;
-  char ***argv ;
-  Dali::Application::WINDOW_MODE windowMode ;
-  Dali::PositionSize positionSize ;
-  Dali::PositionSize *positionSizeP ;
-  bool useUiThread;
-  Dali::Application result;
+SWIGEXPORT void* SWIGSTDCALL CSharp_Dali_Application_New_WithWindowSizePosition(int jarg1, char* jarg2, char* jarg3, int jarg4, void* jarg5)
+{
+  void*                          jresult;
+  int*                           argc = nullptr;
+  char***                        argv = nullptr;
+  Dali::Application::WINDOW_MODE arg4;
+  Dali::PositionSize             arg5;
+  Dali::PositionSize*            argp5;
+  Dali::Application              result;
 
   {
-    // Todo generate argv data from the C# args
-    char **array;         // two dimensional array
-    int numStrings = 1;     // number of strings
-    int stringLength = 30;      // max string length.
-    array = (char **)malloc( (numStrings + 1 )* sizeof(char *) );
-    if(!array) {
-      SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "array is null", 0);
-      return 0;
-    }
-    gArgV = array;
+    // TODO : What should we do if already generated argv exist?
+    ReleaseArgVMemory();
+    // generate argv data from the C# args
+    int   index  = 0;
+    int   length = 0;
+    char* retPtr = NULL;
+    char* nextPtr;
 
-    // allocate the string data
-    for( int i=0; i < numStrings; i++)
+    gArgV = new char*[jarg1 + 1];
+
+    for(retPtr = strtok_r(jarg2, " ", &nextPtr);
+        retPtr != NULL && index < jarg1;
+        retPtr = strtok_r(NULL, " ", &nextPtr))
     {
-      array[i]=(char *)malloc( stringLength * sizeof(char) );
+      length       = 0;
+      length       = strlen(retPtr);
+      gArgV[index] = new char[length + 1];
+      strncpy(gArgV[index], retPtr, length);
+      gArgV[index][length] = '\0';
+      index++;
     }
-    array[ numStrings ] =  NULL; // we allocated +1 for hold the NULL part
 
-    std::string temp = "dali-csharp-app";
-
-    if(!array[0]) {
-      SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "array[0] is null", 0);
-      return 0;
+    while(index < jarg1)
+    {
+      //if jarg1 - index >1, maybe cause error.
+      gArgV[index] = NULL;
+      index++;
     }
-    array[0][temp.copy(array[0], strlen(array[0])-1)] = '\0';
+
+    gArgV[jarg1] = NULL;
+    gArgC        = jarg1;
 
     argc = &gArgC;
     argv = &gArgV;
   }
-  if (!nuiStyleSheet) {
-    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
-    return 0;
-  }
-  std::string styleSheet(nuiStyleSheet);
-  windowMode = (Dali::Application::WINDOW_MODE)nuiWindowMode;
-  positionSizeP = (Dali::PositionSize *)nuiPositionSize;
-  useUiThread = nuiUseUiThread;
 
-  if (!positionSizeP) {
+  std::string arg3(jarg3);
+  arg4  = (Dali::Application::WINDOW_MODE)jarg4;
+  argp5 = (Dali::PositionSize*)jarg5;
+  if(!argp5)
+  {
     SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::PositionSize", 0);
     return 0;
   }
-
-  positionSize = *positionSizeP;
+  arg5 = *argp5;
   {
-    try {
-      result = Dali::Application::New(argc, argv, styleSheet, windowMode, positionSize, useUiThread);
-    } CALL_CATCH_EXCEPTION(0);
+    try
+    {
+      result = Dali::Application::New(argc, argv, arg3, arg4, arg5);
+    }
+    CALL_CATCH_EXCEPTION(0);
   }
-
-  jresult = new Dali::Application((const Dali::Application &)result);
-
+  jresult = new Dali::Application((const Dali::Application&)result);
   return jresult;
 }
 
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Application_New_WithWindowSizePosition(int jarg1, char * jarg2, char * jarg3, int jarg4, void * jarg5) {
- void * jresult ;
- int *arg1 = (int *) 0 ;
- char ***arg2 ;
- Dali::Application::WINDOW_MODE arg4 ;
- Dali::PositionSize arg5 ;
- Dali::PositionSize *argp5 ;
- Dali::Application result;
- {
-   int index = 0;
-   int length = 0;
-   char *retPtr = NULL;
-   char *nextPtr;
-
-   gArgV = new char*[jarg1 + 1];
-
-   for(retPtr = strtok_r(jarg2, " ", &nextPtr);
-       retPtr != NULL && index < jarg1;
-       retPtr = strtok_r(NULL, " ", &nextPtr))
-   {
-     length = 0;
-     length = strlen(retPtr);
-     gArgV[ index ] = new char[ length + 1 ];
-     strncpy( gArgV[ index ], retPtr, length );
-     gArgV[ index ][ length ] = '\0';
-     index++;
-   }
-
-   while( index < jarg1 )
-   {
-     //if jarg1 - index >1, maybe cause error.
-     gArgV[index] = NULL;
-     index++;
-   }
-
-   gArgV[jarg1] = NULL;
-   gArgC = jarg1;
-
-   arg1 = &gArgC;
-   arg2 = &gArgV;
- }
-
- std::string arg3(jarg3);
- arg4 = (Dali::Application::WINDOW_MODE)jarg4;
- argp5 = (Dali::PositionSize *)jarg5;
- if (!argp5) {
-   SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::PositionSize", 0);
-   return 0;
- }
- arg5 = *argp5;
- {
-   try {
-     result = Dali::Application::New( arg1, arg2, arg3, arg4, arg5 );
-   } CALL_CATCH_EXCEPTION(0);
- }
- jresult = new Dali::Application((const Dali::Application &)result);
- return jresult;
-}
-
-
 #ifdef __cplusplus
 }
 #endif
index dee5b4a..f18ce0c 100755 (executable)
@@ -22181,6 +22181,15 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_Actor_Property_CLIPPING_MODE_get() {
   return jresult;
 }
 
+SWIGEXPORT int SWIGSTDCALL CSharp_Dali_Actor_Property_UPDATE_AREA_HINT_get() {
+  int jresult ;
+  int result;
+
+  result = (int)Dali::Actor::Property::UPDATE_AREA_HINT;
+  jresult = (int)result;
+  return jresult;
+}
+
 SWIGEXPORT int SWIGSTDCALL CSharp_Actor_Property_OPACITY_get() {
 
   return Dali::Actor::Property::OPACITY;
index 3353c98..0417bec 100755 (executable)
@@ -203,23 +203,23 @@ extern "C"
     }
   }
 
-  SWIGEXPORT void *SWIGSTDCALL CSharp_Dali_ModelView_SetImageBasedLightSource(void *csModelView, char* csDiffuse, char* csSpecular, float scaleFactor)
+  SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ModelView_SetImageBasedLightSource(void *csModelView, char* csDiffuse, char* csSpecular, float scaleFactor)
   {
     Dali::Scene3D::ModelView *modelView = (Dali::Scene3D::ModelView *)csModelView;
 
     if (!modelView)
     {
       SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Scene3D::ModelView", 0);
-      return 0;
+      return;
     }
     if (!csDiffuse) {
       SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
-      return 0;
+      return;
     }
     std::string diffuse(csDiffuse);
     if (!csSpecular) {
       SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
-      return 0;
+      return;
     }
     std::string specular(csSpecular);
     {
@@ -227,7 +227,7 @@ extern "C"
       {
         modelView->SetImageBasedLightSource(diffuse, specular, scaleFactor);
       }
-      CALL_CATCH_EXCEPTION(0);
+      CALL_CATCH_EXCEPTION();
     }
   }
 
diff --git a/dali-csharp-binder/src/model3d-view-wrap.cpp b/dali-csharp-binder/src/model3d-view-wrap.cpp
deleted file mode 100755 (executable)
index 6cebcfb..0000000
+++ /dev/null
@@ -1,243 +0,0 @@
-/*
- * Copyright (c) 2021 Samsung Electronics Co., Ltd.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-// EXTERNAL INCLUDES
-#include <dali-toolkit/public-api/controls/model3d-view/model3d-view.h>
-
-// INTERNAL INCLUDES
-#include "common.h"
-
-#ifdef __cplusplus
-extern "C"
-{
-#endif
-
-  SWIGEXPORT int SWIGSTDCALL CSharp_Dali_Model3dView_Property_GEOMETRY_URL_get()
-  {
-    return (int)Dali::Toolkit::Model3dView::Property::GEOMETRY_URL;
-  }
-
-  SWIGEXPORT int SWIGSTDCALL CSharp_Dali_Model3dView_Property_MATERIAL_URL_get()
-  {
-    return (int)Dali::Toolkit::Model3dView::Property::MATERIAL_URL;
-  }
-
-  SWIGEXPORT int SWIGSTDCALL CSharp_Dali_Model3dView_Property_IMAGES_URL_get()
-  {
-    return (int)Dali::Toolkit::Model3dView::Property::IMAGES_URL;
-  }
-
-  SWIGEXPORT int SWIGSTDCALL CSharp_Dali_Model3dView_Property_ILLUMINATION_TYPE_get()
-  {
-    return (int)Dali::Toolkit::Model3dView::Property::ILLUMINATION_TYPE;
-  }
-
-  SWIGEXPORT int SWIGSTDCALL CSharp_Dali_Model3dView_Property_TEXTURE0_URL_get()
-  {
-    return (int)Dali::Toolkit::Model3dView::Property::TEXTURE0_URL;
-  }
-
-  SWIGEXPORT int SWIGSTDCALL CSharp_Dali_Model3dView_Property_TEXTURE1_URL_get()
-  {
-    return (int)Dali::Toolkit::Model3dView::Property::TEXTURE1_URL;
-  }
-
-  SWIGEXPORT int SWIGSTDCALL CSharp_Dali_Model3dView_Property_TEXTURE2_URL_get()
-  {
-    return (int)Dali::Toolkit::Model3dView::Property::TEXTURE2_URL;
-  }
-
-  SWIGEXPORT int SWIGSTDCALL CSharp_Dali_Model3dView_Property_LIGHT_POSITION_get()
-  {
-    return (int)Dali::Toolkit::Model3dView::Property::LIGHT_POSITION;
-  }
-
-  SWIGEXPORT void *SWIGSTDCALL CSharp_Dali_new_Model3dView_Property()
-  {
-    void *jresult;
-    Dali::Toolkit::Model3dView::Property *result = 0;
-
-    {
-      try
-      {
-        result = (Dali::Toolkit::Model3dView::Property *)new Dali::Toolkit::Model3dView::Property();
-      }
-      CALL_CATCH_EXCEPTION(0);
-    }
-
-    jresult = (void *)result;
-    return jresult;
-  }
-
-  SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_Model3dView_Property(void *csProperty)
-  {
-    Dali::Toolkit::Model3dView::Property *property = (Dali::Toolkit::Model3dView::Property *)csProperty;
-
-    {
-      try
-      {
-        delete property;
-      }
-      CALL_CATCH_EXCEPTION();
-    }
-  }
-
-  SWIGEXPORT void *SWIGSTDCALL CSharp_Dali_Model3dView_New_SWIG_0()
-  {
-    Dali::Toolkit::Model3dView result;
-
-    {
-      try
-      {
-        result = Dali::Toolkit::Model3dView::New();
-      }
-      CALL_CATCH_EXCEPTION(0);
-    }
-
-    return new Dali::Toolkit::Model3dView((const Dali::Toolkit::Model3dView &)result);
-  }
-
-  SWIGEXPORT void *SWIGSTDCALL CSharp_Dali_Model3dView_New_SWIG_1(char *csModelUrl, char *csMaterialUrl, char *csTextureDirectoryUrl)
-  {
-    Dali::Toolkit::Model3dView result;
-
-    if (!csModelUrl)
-    {
-      SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
-      return 0;
-    }
-    std::string modelUrl(csModelUrl);
-
-    if (!csMaterialUrl)
-    {
-      SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
-      return 0;
-    }
-    std::string materialUrl(csMaterialUrl);
-
-    if (!csTextureDirectoryUrl)
-    {
-      SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
-      return 0;
-    }
-    std::string textureDirectoryUrl(csTextureDirectoryUrl);
-
-    {
-      try
-      {
-        result = Dali::Toolkit::Model3dView::New(modelUrl, materialUrl, textureDirectoryUrl);
-      }
-      CALL_CATCH_EXCEPTION(0);
-    }
-
-    return new Dali::Toolkit::Model3dView((const Dali::Toolkit::Model3dView &)result);
-  }
-
-  SWIGEXPORT void *SWIGSTDCALL CSharp_Dali_new_Model3dView_SWIG_0()
-  {
-    Dali::Toolkit::Model3dView *result = 0;
-
-    {
-      try
-      {
-        result = (Dali::Toolkit::Model3dView *)new Dali::Toolkit::Model3dView();
-      }
-      CALL_CATCH_EXCEPTION(0);
-    }
-
-    return (void *)result;
-  }
-
-  SWIGEXPORT void *SWIGSTDCALL CSharp_Dali_new_Model3dView_SWIG_1(void *csModel3dView)
-  {
-    Dali::Toolkit::Model3dView *model3dView = (Dali::Toolkit::Model3dView *)csModel3dView;
-    Dali::Toolkit::Model3dView *result = 0;
-
-    if (!model3dView)
-    {
-      SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::Model3dView const & type is null", 0);
-      return 0;
-    }
-    {
-      try
-      {
-        result = (Dali::Toolkit::Model3dView *)new Dali::Toolkit::Model3dView((Dali::Toolkit::Model3dView const &)*model3dView);
-      }
-      CALL_CATCH_EXCEPTION(0);
-    }
-
-    return (void *)result;
-  }
-
-  SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_Model3dView(void *csModel3dView)
-  {
-    Dali::Toolkit::Model3dView *model3dView = (Dali::Toolkit::Model3dView *)csModel3dView;
-    {
-      try
-      {
-        delete model3dView;
-      }
-      CALL_CATCH_EXCEPTION();
-    }
-  }
-
-  SWIGEXPORT void *SWIGSTDCALL CSharp_Dali_Model3dView_Assign(void *csDestination, void *csSource)
-  {
-    Dali::Toolkit::Model3dView *destination = (Dali::Toolkit::Model3dView *)csDestination;
-    Dali::Toolkit::Model3dView *source = (Dali::Toolkit::Model3dView *)csSource;
-    Dali::Toolkit::Model3dView *result = 0;
-
-    if (!source)
-    {
-      SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::Model3dView const & type is null", 0);
-      return 0;
-    }
-    {
-      try
-      {
-        result = (Dali::Toolkit::Model3dView *)&(destination)->operator=((Dali::Toolkit::Model3dView const &)*source);
-      }
-      CALL_CATCH_EXCEPTION(0);
-    }
-
-    return (void *)result;
-  }
-
-  SWIGEXPORT void *SWIGSTDCALL CSharp_Dali_Model3dView_DownCast(void *csHandle)
-  {
-    Dali::BaseHandle *handle = (Dali::BaseHandle *)csHandle;;
-    Dali::Toolkit::Model3dView result;
-
-    if (!handle)
-    {
-      SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::BaseHandle", 0);
-      return 0;
-    }
-    {
-      try
-      {
-        result = Dali::Toolkit::Model3dView::DownCast(*handle);
-      }
-      CALL_CATCH_EXCEPTION(0);
-    }
-
-    return new Dali::Toolkit::Model3dView((const Dali::Toolkit::Model3dView &)result);
-  }
-
-#ifdef __cplusplus
-}
-#endif
index e82b54c..72da3a2 100644 (file)
@@ -80,6 +80,23 @@ SWIGINTERN void Dali_Signal_Window_Transition_Effect_Event_Signal_Emit(Dali::Sig
   self->Emit( arg, state, type );
 }
 
+/* Moved signal */
+SWIGINTERN bool Dali_Signal_Window_Moved_Signal_Empty(Dali::Signal< void (Dali::Window, Dali::Window::WindowPosition) > const *self){
+  return self->Empty();
+}
+SWIGINTERN std::size_t Dali_Signal_Window_Moved_Signal_GetConnectionCount(Dali::Signal< void (Dali::Window, Dali::Window::WindowPosition) > const *self){
+return self->GetConnectionCount();
+}
+SWIGINTERN void Dali_Signal_Window_Moved_Signal_Connect(Dali::Signal< void (Dali::Window, Dali::Window::WindowPosition) > *self, void (*func)(Dali::Window, Dali::Window::WindowPosition)){
+  self->Connect( func );
+}
+SWIGINTERN void Dali_Signal_Window_Moved_Signal_Disconnect(Dali::Signal< void (Dali::Window, Dali::Window::WindowPosition) > *self,void (*func)(Dali::Window, Dali::Window::WindowPosition)){
+  self->Disconnect( func );
+}
+SWIGINTERN void Dali_Signal_Window_Moved_Signal_Emit(Dali::Signal< void (Dali::Window, Dali::Window::WindowPosition) > *self,Dali::Window window, Dali::Window::WindowPosition position){
+  self->Emit( window, position );
+}
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -2662,6 +2679,153 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_GetLastTouchEvent(void* winHand
   return result;
 }
 
+/* Moved signal binding */
+SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_Moved_Signal(void* winHandle)
+{
+  void *result;
+  Dali::Window window;
+  Dali::Window *win;
+  Dali::DevelWindow::MovedSignalType* movedSignal;
+
+  win = (Dali::Window *)winHandle;
+  if (!win) {
+    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
+    return 0;
+  }
+  window = *win;
+  {
+    try {
+      movedSignal = (Dali::DevelWindow::MovedSignalType *) &Dali::DevelWindow::MovedSignal(window);
+    } CALL_CATCH_EXCEPTION(0);
+  }
+
+  result = (void *)movedSignal;
+  return result;
+}
+
+
+SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_Moved_Signal_Empty(void * signal)
+{
+  unsigned int result;
+  Dali::Signal< void (Dali::Window, Dali::Window::WindowPosition) > *movedSignal = (Dali::Signal< void (Dali::Window, Dali::Window::WindowPosition) > *) 0 ;
+  bool flag;
+
+  movedSignal = (Dali::Signal< void (Dali::Window, Dali::Window::WindowPosition) > *)signal;
+  {
+    try {
+      flag = (bool)Dali_Signal_Window_Moved_Signal_Empty((Dali::Signal< void (Dali::Window, Dali::Window::WindowPosition) > const *)movedSignal);
+    } CALL_CATCH_EXCEPTION(0);
+  }
+
+  result = (unsigned int)flag;
+  return result;
+}
+
+
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_Moved_Signal_GetConnectionCount(void * signal) {
+  unsigned long result;
+  Dali::Signal< void (Dali::Window, Dali::Window::WindowPosition) > *movedSignal = (Dali::Signal< void (Dali::Window, Dali::Window::WindowPosition) > *) 0 ;
+  std::size_t count;
+
+  movedSignal = (Dali::Signal< void (Dali::Window, Dali::Window::WindowPosition) > *)signal;
+  {
+    try {
+      count = Dali_Signal_Window_Moved_Signal_GetConnectionCount((Dali::Signal< void (Dali::Window, Dali::Window::WindowPosition) > const *)movedSignal);
+    } CALL_CATCH_EXCEPTION(0);
+  }
+
+  result = (unsigned long)count;
+  return result;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Moved_Signal_Connect(void * signal, void * func) {
+  Dali::Signal< void (Dali::Window, Dali::Window::WindowPosition) > *movedSignal = (Dali::Signal< void (Dali::Window, Dali::Window::WindowPosition) > *) 0 ;
+  void (*functionPtr)(Dali::Window, Dali::Window::WindowPosition) = (void (*)(Dali::Window, Dali::Window::WindowPosition)) 0 ;
+
+  movedSignal = (Dali::Signal< void (Dali::Window, Dali::Window::WindowPosition) > *)signal;
+  functionPtr = (void (*)(Dali::Window, Dali::Window::WindowPosition))func;
+  {
+    try {
+      Dali_Signal_Window_Moved_Signal_Connect(movedSignal, functionPtr);
+    } CALL_CATCH_EXCEPTION();
+  }
+
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_Moved_Signal_Disconnect(void * signal, void * func) {
+  Dali::Signal< void (Dali::Window, Dali::Window::WindowPosition) > *movedSignal = (Dali::Signal< void (Dali::Window, Dali::Window::WindowPosition) > *) 0 ;
+  void (*functionPtr)(Dali::Window, Dali::Window::WindowPosition) = (void (*)(Dali::Window, Dali::Window::WindowPosition)) 0 ;
+
+  movedSignal = (Dali::Signal< void (Dali::Window, Dali::Window::WindowPosition) > *)signal;
+  functionPtr = (void (*)(Dali::Window, Dali::Window::WindowPosition))func;
+  {
+    try {
+      Dali_Signal_Window_Moved_Signal_Disconnect(movedSignal, functionPtr);
+    } CALL_CATCH_EXCEPTION();
+  }
+
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Moved_Signal_Emit(void * signal, void* winHandle, void * position) {
+  Dali::Signal< void (Dali::Window, Dali::Window::WindowPosition) > *movedSignal = (Dali::Signal< void (Dali::Window, Dali::Window::WindowPosition) > *) 0 ;
+  Dali::Window* win = (Dali::Window*)winHandle;
+  Dali::Window window;
+  Dali::Window::WindowPosition windowPosiztion;
+  Dali::Window::WindowPosition *pPosition;
+
+  movedSignal = (Dali::Signal< void (Dali::Window, Dali::Window::WindowPosition) > *)signal;
+  if (movedSignal == nullptr || window == nullptr) {
+    DALI_LOG_ERROR("[ERR] movedSignal == nullptr or window == nullptr");
+    return;
+  }
+
+  pPosition = (Dali::Window::WindowPosition *)position;
+  if (!pPosition) {
+    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window::WindowPosition", 0);
+    return ;
+  }
+  window = *win;
+  windowPosiztion = *pPosition;
+  {
+    try {
+      Dali_Signal_Window_Moved_Signal_Emit(movedSignal, window, windowPosiztion);
+    } CALL_CATCH_EXCEPTION();
+  }
+
+}
+
+
+SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_Moved_Signal() {
+  void * result ;
+  Dali::Signal< void (Dali::Window, Dali::Window::WindowPosition) > *movedSignal = 0 ;
+
+  {
+    try {
+      movedSignal = (Dali::Signal< void (Dali::Window, Dali::Window::WindowPosition) > *)new Dali::Signal< void (Dali::Window, Dali::Window::WindowPosition) >();
+    } CALL_CATCH_EXCEPTION(0);
+  }
+
+  result = (void *)movedSignal;
+  return result;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_Moved_Signal(void * signal) {
+  Dali::Signal< void (Dali::Window, Dali::Window::WindowPosition) > *movedSignal = (Dali::Signal< void (Dali::Window, Dali::Window::WindowPosition) > *) 0 ;
+
+  movedSignal = (Dali::Signal< void (Dali::Window, Dali::Window::WindowPosition) > *)signal;
+  {
+    try {
+      delete movedSignal;
+    } CALL_CATCH_EXCEPTION();
+  }
+
+}
+
+
 #ifdef __cplusplus
 }
 #endif
index fc06b92..3a1b066 100644 (file)
@@ -21,7 +21,7 @@
 
 Name: dali2-csharp-binder
 Summary: The DALI Csharp Binder
-Version: 2.1.32
+Version: 2.1.34
 Release: 1
 Group: uifw/graphic
 License: Apache-2.0 and BSD-3-Clause and MIT