Revert "Binding DeviceInfo event" 65/294465/1
authorjoogab.yun <joogab.yun@samsung.com>
Tue, 20 Jun 2023 00:28:57 +0000 (09:28 +0900)
committerjoogab.yun <joogab.yun@samsung.com>
Tue, 20 Jun 2023 00:29:03 +0000 (09:29 +0900)
This reverts commit ac02bfb0f939cbc2885418c498b0e1aa7ff2740c.

Change-Id: I7d41e80b7823f4a1b663be2a30fe793592f3b7ef

dali-csharp-binder/src/window-wrap.cpp

index 437b2bf..bca82c6 100644 (file)
@@ -17,7 +17,6 @@
 
 // EXTERNAL INCLUDES
 #include <dali/public-api/adaptor-framework/window.h>
-#include <dali/devel-api/adaptor-framework/device-info-event.h>
 #include <dali/devel-api/adaptor-framework/mouse-in-out-event.h>
 #include <dali/devel-api/adaptor-framework/window-devel.h>
 #include <dali/integration-api/adaptor-framework/adaptor.h>
@@ -167,22 +166,6 @@ SWIGINTERN void Dali_Signal_Window_Resize_Completed_Signal_Emit(Dali::Signal< vo
   self->Emit( window, size );
 }
 
-//device info
-SWIGINTERN bool Dali_Signal_Window_DeviceInfoEvent_Signal_Empty(Dali::Signal< void (Dali::Window, Dali::DevelWindow::DeviceInfoEvent const &) > const *self){
-  return self->Empty();
-}
-SWIGINTERN std::size_t Dali_Signal_Window_DeviceInfoEvent_Signal_GetConnectionCount(Dali::Signal< void (Dali::Window, Dali::DevelWindow::DeviceInfoEvent const &) > const *self){
-return self->GetConnectionCount();
-}
-SWIGINTERN void Dali_Signal_Window_DeviceInfoEvent_Signal_Connect(Dali::Signal< void (Dali::Window, Dali::DevelWindow::DeviceInfoEvent const &) > *self, void (*func)(Dali::Window, Dali::DevelWindow::DeviceInfoEvent const &)){
-  self->Connect( func );
-}
-SWIGINTERN void Dali_Signal_Window_DeviceInfoEvent_Signal_Disconnect(Dali::Signal< void (Dali::Window, Dali::DevelWindow::DeviceInfoEvent const &) > *self, void (*func)(Dali::Window, Dali::DevelWindow::DeviceInfoEvent const &)){
-  self->Disconnect( func );
-}
-SWIGINTERN void Dali_Signal_Window_DeviceInfoEvent_Signal_Emit(Dali::Signal< void (Dali::Window, Dali::DevelWindow::DeviceInfoEvent const &) > *self, Dali::Window arg, Dali::DevelWindow::DeviceInfoEvent const &deviceInfoEvent){
-  self->Emit( arg, deviceInfoEvent );
-}
 
 #ifdef __cplusplus
 extern "C" {
@@ -3767,303 +3750,6 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_Resize_Completed_Signal(void * si
 }
 
 
-// device info
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_WindowDeviceInfoEventSignal(void* winHandle)
-{
-  void *result;
-  Dali::Window window;
-  Dali::Window *win;
-  Dali::DevelWindow::DeviceInfoEventSignalType* deviceInfoSignal;
-
-  win = (Dali::Window *)winHandle;
-  if (!win) {
-    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
-    return 0;
-  }
-  window = *win;
-  {
-    try {
-      deviceInfoSignal = (Dali::DevelWindow::DeviceInfoEventSignalType *) &Dali::DevelWindow::DeviceInfoEventSignal(window);
-    } CALL_CATCH_EXCEPTION(0);
-  }
-
-  result = (void *)deviceInfoSignal;
-  return result;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_WindowDeviceInfoEventSignal_Empty(void * jarg1) {
-  unsigned int jresult ;
-  Dali::Signal< void (Dali::Window, Dali::DevelWindow::DeviceInfoEvent const &) > *arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::DeviceInfoEvent const &) > *) 0 ;
-  bool result;
-
-  arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::DeviceInfoEvent const &) > *)jarg1;
-  {
-    try {
-      result = (bool)Dali_Signal_Window_DeviceInfoEvent_Signal_Empty((Dali::Signal< void (Dali::Window, Dali::DevelWindow::DeviceInfoEvent const &) > const *)arg1);
-    } CALL_CATCH_EXCEPTION(0);
-  }
-
-  jresult = result;
-  return jresult;
-}
-
-
-SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_WindowDeviceInfoEventSignal_GetConnectionCount(void * jarg1) {
-  unsigned long jresult ;
-  Dali::Signal< void (Dali::Window, Dali::DevelWindow::DeviceInfoEvent const &) > *arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::DeviceInfoEvent const &) > *) 0 ;
-  std::size_t result;
-
-  arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::DeviceInfoEvent const &) > *)jarg1;
-  {
-    try {
-      result = Dali_Signal_Window_DeviceInfoEvent_Signal_GetConnectionCount((Dali::Signal< void (Dali::Window, Dali::DevelWindow::DeviceInfoEvent const &) > const *)arg1);
-    } CALL_CATCH_EXCEPTION(0);
-  }
-
-  jresult = (unsigned long)result;
-  return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WindowDeviceInfoEventSignal_Connect(void * jarg1, void * jarg2) {
-  Dali::Signal< void (Dali::Window, Dali::DevelWindow::DeviceInfoEvent const &) > *arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::DeviceInfoEvent const &) > *) 0 ;
-  void (*arg2)(Dali::Window, Dali::DevelWindow::DeviceInfoEvent const &) = (void (*)(Dali::Window, Dali::DevelWindow::DeviceInfoEvent const &)) 0 ;
-
-  arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::DeviceInfoEvent const &) > *)jarg1;
-  arg2 = (void (*)(Dali::Window, Dali::DevelWindow::DeviceInfoEvent const &))jarg2;
-  {
-    try {
-      Dali_Signal_Window_DeviceInfoEvent_Signal_Connect(arg1,arg2);
-    } CALL_CATCH_EXCEPTION();
-  }
-
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WindowDeviceInfoEventSignal_Disconnect(void * jarg1, void * jarg2) {
-  Dali::Signal< void (Dali::Window, Dali::DevelWindow::DeviceInfoEvent const &) > *arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::DeviceInfoEvent const &) > *) 0 ;
-  void (*arg2)(Dali::Window, Dali::DevelWindow::DeviceInfoEvent const &) = (void (*)(Dali::Window, Dali::DevelWindow::DeviceInfoEvent const &)) 0 ;
-
-  arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::DeviceInfoEvent const &) > *)jarg1;
-  arg2 = (void (*)(Dali::Window, Dali::DevelWindow::DeviceInfoEvent const &))jarg2;
-  {
-    try {
-      Dali_Signal_Window_DeviceInfoEvent_Signal_Disconnect(arg1,arg2);
-    } CALL_CATCH_EXCEPTION();
-  }
-
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_WindowDeviceInfoEventSignal_Emit(void * jarg1, void* jarg2, void* jarg3) {
-  Dali::Signal< void (Dali::Window, Dali::DevelWindow::DeviceInfoEvent const &) > *arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::DeviceInfoEvent const &) > *)jarg1;
-  Dali::Window* arg2 = (Dali::Window*)jarg2;
-  Dali::DevelWindow::DeviceInfoEvent* arg3 = (Dali::DevelWindow::DeviceInfoEvent*)jarg3;
-
-  if (!arg1) {
-    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Signal", 0);
-    return ;
-  }
-
-  if (!arg2) {
-    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
-    return ;
-  }
-
-  if (!arg3) {
-    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::DevelWindow::DeviceInfoEvent", 0);
-    return ;
-  }
-
-  {
-    try {
-      Dali_Signal_Window_DeviceInfoEvent_Signal_Emit(arg1,*arg2,*arg3);
-    } CALL_CATCH_EXCEPTION();
-  }
-
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_WindowDeviceInfoEventSignal() {
-  void * jresult ;
-  Dali::Signal< void (Dali::Window, Dali::DevelWindow::DeviceInfoEvent const &) > *result = 0 ;
-
-  {
-    try {
-      result = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::DeviceInfoEvent const &) > *)new Dali::Signal< void (Dali::Window, Dali::DevelWindow::DeviceInfoEvent const &) >();
-    } CALL_CATCH_EXCEPTION(0);
-  }
-
-  jresult = (void *)result;
-  return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_WindowDeviceInfoEventSignal(void * jarg1) {
-  Dali::Signal< void (Dali::Window, Dali::DevelWindow::DeviceInfoEvent const &) > *arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::DeviceInfoEvent const &) > *) 0 ;
-
-  arg1 = (Dali::Signal< void (Dali::Window, Dali::DevelWindow::DeviceInfoEvent const &) > *)jarg1;
-  {
-    try {
-      delete arg1;
-    } CALL_CATCH_EXCEPTION();
-  }
-
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_DeviceInfoEvent__SWIG_0(int type, char * name, char * identifier, char * seatname) {
-  void * jresult ;
-  Dali::DevelWindow::DeviceInfoEvent::Type arg1 ;
-  Dali::DevelWindow::DeviceInfoEvent *result = 0;
-
-  arg1 = static_cast<Dali::DevelWindow::DeviceInfoEvent::Type>(type);
-  std::string name_str(name);
-  std::string identifier_str(identifier);
-  std::string seatname_str(seatname);
-  {
-    try {
-      result = (Dali::DevelWindow::DeviceInfoEvent *)new Dali::DevelWindow::DeviceInfoEvent(arg1, (std::string const &)name_str, (std::string const &)identifier_str, (std::string const &)seatname_str, Dali::Device::Class::NONE, Dali::Device::Subclass::NONE);
-    } CALL_CATCH_EXCEPTION(0);
-  }
-
-  jresult = (void *)result;
-  return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_DeviceInfoEvent(void * jarg1) {
-  Dali::DevelWindow::DeviceInfoEvent *arg1 = (Dali::DevelWindow::DeviceInfoEvent *) 0 ;
-
-  arg1 = (Dali::DevelWindow::DeviceInfoEvent *)jarg1;
-  {
-    try {
-      delete arg1;
-    } CALL_CATCH_EXCEPTION();
-  }
-
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_Dali_DeviceInfoEvent_type_get(void * jarg1) {
-  int type ;
-  Dali::DevelWindow::DeviceInfoEvent *arg1 = (Dali::DevelWindow::DeviceInfoEvent *) 0 ;
-  Dali::DevelWindow::DeviceInfoEvent::Type result;
-
-  arg1 = (Dali::DevelWindow::DeviceInfoEvent *)jarg1;
-  if (!arg1) {
-    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::DevelWindow::DeviceInfoEvent const & type is null", 0);
-    return 0;
-  }
-  {
-    try {
-      type = (int)((Dali::DevelWindow::DeviceInfoEvent const *)arg1)->type;
-    } CALL_CATCH_EXCEPTION(0);
-  }
-
-  return type;
-}
-
-
-SWIGEXPORT char * SWIGSTDCALL CSharp_Dali_DeviceInfoEvent_name_get(void * jarg1) {
-  std::string name;
-  Dali::DevelWindow::DeviceInfoEvent *arg1 = (Dali::DevelWindow::DeviceInfoEvent *) 0 ;
-
-  arg1 = (Dali::DevelWindow::DeviceInfoEvent *)jarg1;
-  if (!arg1) {
-    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::DevelWindow::DeviceInfoEvent const & type is null", 0);
-    return 0;
-  }
-  {
-    try {
-      name = ((Dali::DevelWindow::DeviceInfoEvent const *)arg1)->name;
-    } CALL_CATCH_EXCEPTION(0);
-  }
-
-  return SWIG_csharp_string_callback((&name)->c_str());
-}
-
-
-SWIGEXPORT char * SWIGSTDCALL CSharp_Dali_DeviceInfoEvent_identifier_get(void * jarg1) {
-  std::string identifier;
-  Dali::DevelWindow::DeviceInfoEvent *arg1 = (Dali::DevelWindow::DeviceInfoEvent *) 0 ;
-
-  arg1 = (Dali::DevelWindow::DeviceInfoEvent *)jarg1;
-  if (!arg1) {
-    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::DevelWindow::DeviceInfoEvent const & type is null", 0);
-    return 0;
-  }
-  {
-    try {
-      identifier = ((Dali::DevelWindow::DeviceInfoEvent const *)arg1)->identifier;
-    } CALL_CATCH_EXCEPTION(0);
-  }
-
-  return SWIG_csharp_string_callback((&identifier)->c_str());
-}
-
-
-SWIGEXPORT char * SWIGSTDCALL CSharp_Dali_DeviceInfoEvent_seatname_get(void * jarg1) {
-  std::string seatname ;
-  Dali::DevelWindow::DeviceInfoEvent *arg1 = (Dali::DevelWindow::DeviceInfoEvent *) 0 ;
-
-  arg1 = (Dali::DevelWindow::DeviceInfoEvent *)jarg1;
-  if (!arg1) {
-    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::DevelWindow::DeviceInfoEvent const & type is null", 0);
-    return 0;
-  }
-  {
-    try {
-      seatname = ((Dali::DevelWindow::DeviceInfoEvent const *)arg1)->seatname;
-    } CALL_CATCH_EXCEPTION(0);
-  }
-
-  return SWIG_csharp_string_callback((&seatname)->c_str());
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_Dali_DeviceInfoEvent_GetDeviceClass(void * jarg1) {
-  int jresult ;
-  Dali::DevelWindow::DeviceInfoEvent *arg1 = 0 ;
-  Dali::Device::Class::Type result;
-
-  arg1 = (Dali::DevelWindow::DeviceInfoEvent *)jarg1;
-  if (!arg1) {
-    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::DevelWindow::DeviceInfoEvent const & type is null", 0);
-    return 0;
-  }
-  {
-    try {
-      result = (Dali::Device::Class::Type)arg1->deviceClass;
-    } CALL_CATCH_EXCEPTION(0);
-  }
-
-  jresult = (int)result;
-  return jresult;
-}
-
-SWIGEXPORT int SWIGSTDCALL CSharp_Dali_DeviceInfoEvent_GetDeviceSubClass(void * jarg1) {
-  int jresult ;
-  Dali::DevelWindow::DeviceInfoEvent *arg1 = 0 ;
-  Dali::Device::Subclass::Type result;
-
-  arg1 = (Dali::DevelWindow::DeviceInfoEvent *)jarg1;
-  if (!arg1) {
-    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::DevelWindow::DeviceInfoEvent const & type is null", 0);
-    return 0;
-  }
-  {
-    try {
-      result = (Dali::Device::Subclass::Type)arg1->deviceSubclass;
-    } CALL_CATCH_EXCEPTION(0);
-  }
-
-  jresult = (int)result;
-  return jresult;
-}
-
-
 #ifdef __cplusplus
 }
 #endif