#include <dali/public-api/adaptor-framework/timer.h>
#include <dali/public-api/adaptor-framework/style-change.h>
-#include <dali/devel-api/adaptor-framework/drag-and-drop-detector.h>
#include <dali/devel-api/adaptor-framework/environment-variable.h>
#include <dali/devel-api/images/nine-patch-image.h>
arg6 = (Dali::PixelData::ReleaseFunction)jarg6;
{
try {
- result = Dali::PixelData::New(arg1,arg2,arg3,arg4,arg5,arg6);
+ auto pixelBuffer = new unsigned char[jarg2];
+ memcpy( pixelBuffer, arg1, arg2);
+ result = Dali::PixelData::New(pixelBuffer,arg2,arg3,arg4,arg5,arg6);
} catch (std::out_of_range& e) {
{
SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
}
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_DragAndDropDetector() {
- void * jresult ;
- Dali::DragAndDropDetector *result = 0 ;
-
- {
- try {
- result = (Dali::DragAndDropDetector *)new Dali::DragAndDropDetector();
- } catch (std::out_of_range& e) {
- {
- SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
- };
- } catch (std::exception& e) {
- {
- SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
- };
- } catch (Dali::DaliException e) {
- {
- SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
- };
- } catch (...) {
- {
- SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
- };
- }
- }
-
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_DragAndDropDetector(void * jarg1) {
- Dali::DragAndDropDetector *arg1 = (Dali::DragAndDropDetector *) 0 ;
-
- arg1 = (Dali::DragAndDropDetector *)jarg1;
- {
- try {
- delete arg1;
- } catch (std::out_of_range& e) {
- {
- SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
- };
- } catch (std::exception& e) {
- {
- SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
- };
- } catch (Dali::DaliException e) {
- {
- SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
- };
- } catch (...) {
- {
- SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
- };
- }
- }
-
-}
-
-
-SWIGEXPORT char * SWIGSTDCALL CSharp_Dali_DragAndDropDetector_GetContent(void * jarg1) {
- char * jresult ;
- Dali::DragAndDropDetector *arg1 = (Dali::DragAndDropDetector *) 0 ;
- std::string *result = 0 ;
-
- arg1 = (Dali::DragAndDropDetector *)jarg1;
- {
- try {
- result = (std::string *) &((Dali::DragAndDropDetector const *)arg1)->GetContent();
- } catch (std::out_of_range& e) {
- {
- SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
- };
- } catch (std::exception& e) {
- {
- SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
- };
- } catch (Dali::DaliException e) {
- {
- SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
- };
- } catch (...) {
- {
- SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
- };
- }
- }
-
- jresult = SWIG_csharp_string_callback(result->c_str());
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_DragAndDropDetector_GetCurrentScreenPosition(void * jarg1) {
- void * jresult ;
- Dali::DragAndDropDetector *arg1 = (Dali::DragAndDropDetector *) 0 ;
- Dali::Vector2 result;
-
- arg1 = (Dali::DragAndDropDetector *)jarg1;
- {
- try {
- result = ((Dali::DragAndDropDetector const *)arg1)->GetCurrentScreenPosition();
- } catch (std::out_of_range& e) {
- {
- SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
- };
- } catch (std::exception& e) {
- {
- SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
- };
- } catch (Dali::DaliException e) {
- {
- SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
- };
- } catch (...) {
- {
- SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
- };
- }
- }
-
- jresult = new Dali::Vector2((const Dali::Vector2 &)result);
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_DragAndDropDetector_EnteredSignal(void * jarg1) {
- void * jresult ;
- Dali::DragAndDropDetector *arg1 = (Dali::DragAndDropDetector *) 0 ;
- Dali::DragAndDropDetector::DragAndDropSignal *result = 0 ;
-
- arg1 = (Dali::DragAndDropDetector *)jarg1;
- {
- try {
- result = (Dali::DragAndDropDetector::DragAndDropSignal *) &(arg1)->EnteredSignal();
- } catch (std::out_of_range& e) {
- {
- SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
- };
- } catch (std::exception& e) {
- {
- SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
- };
- } catch (Dali::DaliException e) {
- {
- SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
- };
- } catch (...) {
- {
- SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
- };
- }
- }
-
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_DragAndDropDetector_ExitedSignal(void * jarg1) {
- void * jresult ;
- Dali::DragAndDropDetector *arg1 = (Dali::DragAndDropDetector *) 0 ;
- Dali::DragAndDropDetector::DragAndDropSignal *result = 0 ;
-
- arg1 = (Dali::DragAndDropDetector *)jarg1;
- {
- try {
- result = (Dali::DragAndDropDetector::DragAndDropSignal *) &(arg1)->ExitedSignal();
- } catch (std::out_of_range& e) {
- {
- SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
- };
- } catch (std::exception& e) {
- {
- SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
- };
- } catch (Dali::DaliException e) {
- {
- SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
- };
- } catch (...) {
- {
- SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
- };
- }
- }
-
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_DragAndDropDetector_MovedSignal(void * jarg1) {
- void * jresult ;
- Dali::DragAndDropDetector *arg1 = (Dali::DragAndDropDetector *) 0 ;
- Dali::DragAndDropDetector::DragAndDropSignal *result = 0 ;
-
- arg1 = (Dali::DragAndDropDetector *)jarg1;
- {
- try {
- result = (Dali::DragAndDropDetector::DragAndDropSignal *) &(arg1)->MovedSignal();
- } catch (std::out_of_range& e) {
- {
- SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
- };
- } catch (std::exception& e) {
- {
- SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
- };
- } catch (Dali::DaliException e) {
- {
- SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
- };
- } catch (...) {
- {
- SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
- };
- }
- }
-
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_DragAndDropDetector_DroppedSignal(void * jarg1) {
- void * jresult ;
- Dali::DragAndDropDetector *arg1 = (Dali::DragAndDropDetector *) 0 ;
- Dali::DragAndDropDetector::DragAndDropSignal *result = 0 ;
-
- arg1 = (Dali::DragAndDropDetector *)jarg1;
- {
- try {
- result = (Dali::DragAndDropDetector::DragAndDropSignal *) &(arg1)->DroppedSignal();
- } catch (std::out_of_range& e) {
- {
- SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
- };
- } catch (std::exception& e) {
- {
- SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
- };
- } catch (Dali::DaliException e) {
- {
- SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
- };
- } catch (...) {
- {
- SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
- };
- }
- }
-
- jresult = (void *)result;
- return jresult;
-}
-
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_TimerSignalType_Empty(void * jarg1) {
unsigned int jresult ;
Dali::Signal< bool () > *arg1 = (Dali::Signal< bool () > *) 0 ;
Dali::Property::Index arg3 = 0 ;
arg3 = (Dali::Property::Index)jarg3;
- Dali::Property::Value arg4;
- arg4 = (Dali::Property::Value *)jarg4;
+ Dali::Property::Value *arg4 = (Dali::Property::Value *)jarg4;
{
try {
- DevelControl::DoAction(arg1, arg2, arg3, arg4);
+ DevelControl::DoAction(arg1, arg2, arg3, *arg4);
} catch (std::out_of_range& e) {
{
SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
}
arg1 = *argp1;
arg2 = (Dali::Toolkit::DevelKeyboardFocusManager::CustomAlgorithmInterface *)jarg2;
- if (!arg2) {
- SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::DevelKeyboardFocusManager::CustomAlgorithmInterface & type is null", 0);
- return ;
- }
+ //Null checking of arg2 is removed. arg2's null set means resetting so it can be a null value.
{
try {
Dali::Toolkit::DevelKeyboardFocusManager::SetCustomAlgorithm(arg1,*arg2);
return (Dali::BaseHandle *)jarg1;
}
-SWIGEXPORT Dali::BaseHandle * SWIGSTDCALL CSharp_Dali_DragAndDropDetector_SWIGUpcast(Dali::DragAndDropDetector *jarg1) {
- return (Dali::BaseHandle *)jarg1;
-}
-
-
SWIGEXPORT Dali::BaseHandle * SWIGSTDCALL CSharp_Dali_Builder_SWIGUpcast(Dali::Toolkit::Builder *jarg1) {
return (Dali::BaseHandle *)jarg1;
}