using namespace Dali;
using namespace Dali::Toolkit;
-#define CALL_CATCH_EXCEPTION(ret) \
- catch (std::out_of_range & e) { \
- SWIG_CSharpException(SWIG_IndexError, const_cast<char *>(e.what())); \
- return ret; \
- } \
- catch (std::exception & e) { \
- SWIG_CSharpException(SWIG_RuntimeError, const_cast<char *>(e.what())); \
- return ret; \
- } \
- catch (Dali::DaliException e) { \
- SWIG_CSharpException(SWIG_UnknownError, e.condition); \
- return ret; \
- } \
- catch (...) { \
- SWIG_CSharpException(SWIG_UnknownError, "unknown error"); \
- return ret; \
- }
-
#ifdef __cplusplus
extern "C" {
#endif
#include <dali-toolkit/devel-api/controls/control-wrapper-impl.h>
#include <dali-toolkit/devel-api/controls/control-devel.h>
+
+
+// Define Catch exception
+#define CALL_CATCH_EXCEPTION(ret) \
+ catch (std::out_of_range & e) \
+ { \
+ SWIG_CSharpException(SWIG_IndexError, const_cast<char *>(e.what())); \
+ return ret; \
+ } \
+ catch (std::exception & e) \
+ { \
+ SWIG_CSharpException(SWIG_RuntimeError, const_cast<char *>(e.what())); \
+ return ret; \
+ } \
+ catch (Dali::DaliException e) \
+ { \
+ SWIG_CSharpException(SWIG_UnknownError, e.condition); \
+ return ret; \
+ } \
+ catch (...) \
+ { \
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); \
+ return ret; \
+ }
+
#endif // CSHARP_COMMON_H
{
#endif
-#define CALL_CATCH_EXCEPTION(ret) \
- catch (std::out_of_range & e) \
- { \
- SWIG_CSharpException(SWIG_IndexError, const_cast<char *>(e.what())); \
- return ret; \
- } \
- catch (std::exception & e) \
- { \
- SWIG_CSharpException(SWIG_RuntimeError, const_cast<char *>(e.what())); \
- return ret; \
- } \
- catch (Dali::DaliException e) \
- { \
- SWIG_CSharpException(SWIG_UnknownError, e.condition); \
- return ret; \
- } \
- catch (...) \
- { \
- SWIG_CSharpException(SWIG_UnknownError, "unknown error"); \
- return ret; \
- }
-
SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_EqualConstraintWithParentFloat_New(void * nuiHandle, int nuiTargetIndex, int nuiParentIndex)
{
Dali::Handle *handle = (Dali::Handle *) 0;
return (unsigned int) x;
}
-
-#define CALL_CATCH_EXCEPTION(ret) \
- catch (std::out_of_range& e) \
- { \
- SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); \
- return ret;\
- } \
- catch (std::exception& e) \
- { \
- SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what()));\
- return ret;\
- } \
- catch (DaliException e) \
- { \
- SWIG_CSharpException(SWIG_UnknownError, e.condition); \
- return ret;\
- } \
- catch (...) \
- { \
- SWIG_CSharpException(SWIG_UnknownError, "unknown error"); \
- return ret;\
- }
-
-
+#define CALL_CATCH_EXCEPTION(ret) \
+ catch (std::out_of_range & e) \
+ { \
+ SWIG_CSharpException(SWIG_IndexError, const_cast<char *>(e.what())); \
+ return ret; \
+ } \
+ catch (std::exception & e) \
+ { \
+ SWIG_CSharpException(SWIG_RuntimeError, const_cast<char *>(e.what())); \
+ return ret; \
+ } \
+ catch (DaliException e) \
+ { \
+ SWIG_CSharpException(SWIG_UnknownError, e.condition); \
+ return ret; \
+ } \
+ catch (...) \
+ { \
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); \
+ return ret; \
+ }
using namespace Dali;
using namespace Dali::Toolkit;
{
#endif
-#define CALL_CATCH_EXCEPTION(ret) \
- catch (std::out_of_range & e) \
- { \
- SWIG_CSharpException(SWIG_IndexError, const_cast<char *>(e.what())); \
- return ret; \
- } \
- catch (std::exception & e) \
- { \
- SWIG_CSharpException(SWIG_RuntimeError, const_cast<char *>(e.what())); \
- return ret; \
- } \
- catch (Dali::DaliException e) \
- { \
- SWIG_CSharpException(SWIG_UnknownError, e.condition); \
- return ret; \
- } \
- catch (...) \
- { \
- SWIG_CSharpException(SWIG_UnknownError, "unknown error"); \
- return ret; \
- }
-
SWIGEXPORT void *SWIGSTDCALL CSharp_Dali_new_EncodedImageBuffer__SWIG_0()
{
void *jresult;
{
#endif
-#define CALL_CATCH_EXCEPTION(ret) \
- catch (std::out_of_range & e) \
- { \
- SWIG_CSharpException(SWIG_IndexError, const_cast<char *>(e.what())); \
- return ret; \
- } \
- catch (std::exception & e) \
- { \
- SWIG_CSharpException(SWIG_RuntimeError, const_cast<char *>(e.what())); \
- return ret; \
- } \
- catch (Dali::DaliException e) \
- { \
- SWIG_CSharpException(SWIG_UnknownError, e.condition); \
- return ret; \
- } \
- catch (...) \
- { \
- SWIG_CSharpException(SWIG_UnknownError, "unknown error"); \
- return ret; \
- }
-
SWIGEXPORT void *SWIGSTDCALL CSharp_Dali_new_Fade()
{
void *jresult;
{\r
#endif\r
\r
-#define CALL_CATCH_EXCEPTION(ret) \\r
- catch (std::out_of_range & e) \\r
- { \\r
- SWIG_CSharpException(SWIG_IndexError, const_cast<char *>(e.what())); \\r
- return ret; \\r
- } \\r
- catch (std::exception & e) \\r
- { \\r
- SWIG_CSharpException(SWIG_RuntimeError, const_cast<char *>(e.what())); \\r
- return ret; \\r
- } \\r
- catch (Dali::DaliException e) \\r
- { \\r
- SWIG_CSharpException(SWIG_UnknownError, e.condition); \\r
- return ret; \\r
- } \\r
- catch (...) \\r
- { \\r
- SWIG_CSharpException(SWIG_UnknownError, "unknown error"); \\r
- return ret; \\r
- }\r
-\r
using namespace Dali;\r
\r
SWIGEXPORT void SWIGSTDCALL CSharp_Dali_GestureOptions_SetPanGesturePredictionMode(int mode) {\r
extern "C" {
#endif
-#define CALL_CATCH_EXCEPTION(ret) \
- catch (std::out_of_range & e) \
- { \
- SWIG_CSharpException(SWIG_IndexError, const_cast<char *>(e.what())); \
- return ret; \
- } \
- catch (std::exception & e) \
- { \
- SWIG_CSharpException(SWIG_RuntimeError, const_cast<char *>(e.what())); \
- return ret; \
- } \
- catch (Dali::DaliException e) \
- { \
- SWIG_CSharpException(SWIG_UnknownError, e.condition); \
- return ret; \
- } \
- catch (...) \
- { \
- SWIG_CSharpException(SWIG_UnknownError, "unknown error"); \
- return ret; \
- }
-
ProcessorController::ProcessorController()
: mHandler(nullptr)
{
using namespace Dali::Toolkit;
using namespace Dali::Extension;
-#define CALL_CATCH_EXCEPTION(ret) \
- catch (std::out_of_range & e) { \
- SWIG_CSharpException(SWIG_IndexError, const_cast<char *>(e.what())); \
- return ret; \
- } \
- catch (std::exception & e) { \
- SWIG_CSharpException(SWIG_RuntimeError, const_cast<char *>(e.what())); \
- return ret; \
- } \
- catch (Dali::DaliException e) { \
- SWIG_CSharpException(SWIG_UnknownError, e.condition); \
- return ret; \
- } \
- catch (...) { \
- SWIG_CSharpException(SWIG_UnknownError, "unknown error"); \
- return ret; \
- }
-
#ifdef __cplusplus
extern "C" {
#endif
{
#endif
-#define CALL_CATCH_EXCEPTION(ret) \
- catch (std::out_of_range & e) \
- { \
- SWIG_CSharpException(SWIG_IndexError, const_cast<char *>(e.what())); \
- return ret; \
- } \
- catch (std::exception & e) \
- { \
- SWIG_CSharpException(SWIG_RuntimeError, const_cast<char *>(e.what())); \
- return ret; \
- } \
- catch (Dali::DaliException e) \
- { \
- SWIG_CSharpException(SWIG_UnknownError, e.condition); \
- return ret; \
- } \
- catch (...) \
- { \
- SWIG_CSharpException(SWIG_UnknownError, "unknown error"); \
- return ret; \
- }
-
SWIGEXPORT void *SWIGSTDCALL CSharp_Dali_new_Rotation_0()
{
void *jresult;
{
#endif
-#define CALL_CATCH_EXCEPTION(ret) \
- catch (std::out_of_range & e) \
- { \
- SWIG_CSharpException(SWIG_IndexError, const_cast<char *>(e.what())); \
- return ret; \
- } \
- catch (std::exception & e) \
- { \
- SWIG_CSharpException(SWIG_RuntimeError, const_cast<char *>(e.what())); \
- return ret; \
- } \
- catch (Dali::DaliException e) \
- { \
- SWIG_CSharpException(SWIG_UnknownError, e.condition); \
- return ret; \
- } \
- catch (...) \
- { \
- SWIG_CSharpException(SWIG_UnknownError, "unknown error"); \
- return ret; \
- }
-
SWIGEXPORT void *SWIGSTDCALL CSharp_Dali_new_TransitionBase()
{
void *jresult;
{
#endif
-#define CALL_CATCH_EXCEPTION(ret) \
- catch (std::out_of_range & e) \
- { \
- SWIG_CSharpException(SWIG_IndexError, const_cast<char *>(e.what())); \
- return ret; \
- } \
- catch (std::exception & e) \
- { \
- SWIG_CSharpException(SWIG_RuntimeError, const_cast<char *>(e.what())); \
- return ret; \
- } \
- catch (Dali::DaliException e) \
- { \
- SWIG_CSharpException(SWIG_UnknownError, e.condition); \
- return ret; \
- } \
- catch (...) \
- { \
- SWIG_CSharpException(SWIG_UnknownError, "unknown error"); \
- return ret; \
- }
-
SWIGEXPORT void *SWIGSTDCALL CSharp_Dali_new_TransitionSet()
{
void *jresult;
{
#endif
-#define CALL_CATCH_EXCEPTION(ret) \
- catch (std::out_of_range & e) \
- { \
- SWIG_CSharpException(SWIG_IndexError, const_cast<char *>(e.what())); \
- return ret; \
- } \
- catch (std::exception & e) \
- { \
- SWIG_CSharpException(SWIG_RuntimeError, const_cast<char *>(e.what())); \
- return ret; \
- } \
- catch (Dali::DaliException e) \
- { \
- SWIG_CSharpException(SWIG_UnknownError, e.condition); \
- return ret; \
- } \
- catch (...) \
- { \
- SWIG_CSharpException(SWIG_UnknownError, "unknown error"); \
- return ret; \
- }
-
SWIGEXPORT void *SWIGSTDCALL CSharp_Dali_new_Transition()
{
void *jresult;
#include <dali/devel-api/adaptor-framework/web-engine-back-forward-list-item.h>
#include <dali/public-api/common/dali-common.h>
-#define CALL_CATCH_EXCEPTION(ret) \
- catch (std::out_of_range & e) { \
- SWIG_CSharpException(SWIG_IndexError, const_cast<char *>(e.what())); \
- return ret; \
- } \
- catch (std::exception & e) { \
- SWIG_CSharpException(SWIG_RuntimeError, const_cast<char *>(e.what())); \
- return ret; \
- } \
- catch (Dali::DaliException e) { \
- SWIG_CSharpException(SWIG_UnknownError, e.condition); \
- return ret; \
- } \
- catch (...) { \
- SWIG_CSharpException(SWIG_UnknownError, "unknown error"); \
- return ret; \
- }
-
/* Callback for returning strings to C# without leaking memory */
typedef char *(SWIGSTDCALL *SWIG_CSharpStringHelperCallback)(const char*);
extern SWIG_CSharpStringHelperCallback SWIG_csharp_string_callback;