#include <dali/devel-api/events/wheel-event-devel.h>
#include <dali/devel-api/events/hover-event-devel.h>
#include <dali/devel-api/events/touch-point.h>
-#include <dali/devel-api/events/pan-gesture-devel.h>
-#include <dali/devel-api/events/pinch-gesture-devel.h>
-#include <dali/devel-api/events/long-press-gesture-devel.h>
-#include <dali/devel-api/events/tap-gesture-devel.h>
#include <dali/public-api/math/matrix.h>
#include <dali/public-api/math/matrix3.h>
}
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_LongPressGesture_New(int jarg1) {
- void * jresult ;
- Dali::GestureState arg1 ;
- Dali::LongPressGesture result;
-
- arg1 = (Dali::GestureState)jarg1;
- {
- try {
- result = DevelLongPressGesture::New(arg1);
- } CALL_CATCH_EXCEPTION(0);
- }
-
- jresult = new Dali::LongPressGesture((const Dali::LongPressGesture &)result);
- return jresult;
-}
-
-
SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_LongPressGesture__SWIG_1(void * jarg1) {
void * jresult ;
Dali::LongPressGesture *arg1 = 0 ;
return jresult;
}
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_PanGesture_New(int jarg1) {
+// Need to delete this
+SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_PanGesture__SWIG_1(int jarg1) {
void * jresult ;
Dali::GestureState arg1 ;
- Dali::PanGesture result;
+ Dali::PanGesture *result = 0 ;
arg1 = (Dali::GestureState)jarg1;
{
try {
- result = DevelPanGesture::New(arg1);
- } CALL_CATCH_EXCEPTION(0);
+ result = (Dali::PanGesture *)new Dali::PanGesture();
+ } 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::PanGesture((const Dali::PanGesture &)result);
+ jresult = (void *)result;
return jresult;
}
}
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_PinchGesture_New(int jarg1) {
- void * jresult ;
- Dali::GestureState arg1 ;
- Dali::PinchGesture result;
-
- arg1 = (Dali::GestureState)jarg1;
- {
- try {
- result = DevelPinchGesture::New(arg1);
- } CALL_CATCH_EXCEPTION(0);
- }
-
- jresult = new Dali::PinchGesture((const Dali::PinchGesture &)result);
- return jresult;
-}
-
-
SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_PinchGesture__SWIG_1(void * jarg1) {
void * jresult ;
Dali::PinchGesture *arg1 = 0 ;
}
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_TapGesture_New(int jarg1) {
- void * jresult ;
- Dali::GestureState arg1 ;
- Dali::TapGesture result;
-
- arg1 = (Dali::GestureState)jarg1;
- {
- try {
- result = DevelTapGesture::New(arg1);
- } CALL_CATCH_EXCEPTION(0);
- }
-
- jresult = new Dali::TapGesture((const Dali::TapGesture &)result);
- return jresult;
-}
-
-
SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_TapGesture__SWIG_1(void * jarg1) {
void * jresult ;
Dali::TapGesture *arg1 = 0 ;
#include "common.h"
#include <dali/public-api/events/rotation-gesture.h>
#include <dali/public-api/events/rotation-gesture-detector.h>
-#include <dali/devel-api/events/rotation-gesture-devel.h>
#ifdef __cplusplus
extern "C" {
}
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_RotationGesture_New(int jarg1) {
- void * jresult ;
- Dali::GestureState arg1 ;
- Dali::RotationGesture result;
-
- arg1 = (Dali::GestureState)jarg1;
- {
- try {
- result = DevelRotationGesture::New(arg1);
- } 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::RotationGesture((const Dali::RotationGesture &)result);
- return jresult;
-}
-
-
SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_RotationGesture__SWIG_1(void * jarg1) {
void * jresult ;
Dali::RotationGesture *arg1 = 0 ;