-/** Copyright (c) 2017 Samsung Electronics Co., Ltd.
+/** Copyright (c) 2019 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.
#endif
#include "common.h"
-#include <dali/devel-api/adaptor-framework/drag-and-drop-detector.h>
+#include <dali/devel-api/adaptor-framework/window-devel.h>
#include <dali/public-api/adaptor-framework/window.h>
#include <dali/integration-api/adaptors/adaptor.h>
+#include <dali-toolkit/devel-api/controls/control-devel.h>
+
/* Callback for returning strings to C# without leaking memory */
typedef char * (SWIGSTDCALL* SWIG_CSharpStringHelperCallback)(const char *);
extern SWIG_CSharpStringHelperCallback SWIG_csharp_string_callback;
Dali::Window result;
argp1 = (Dali::PositionSize *)jarg1;
- if (!argp1) {
- SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::PositionSize", 0);
- return 0;
+ if (!argp1)
+ {
+ arg1 = Dali::PositionSize(0, 0, 0, 0);
+ }
+ else
+ {
+ arg1 = *argp1;
}
- arg1 = *argp1;
if (!jarg2) {
SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
return 0;
{
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::Window((const Dali::Window &)result);
//argout typemap for const std::string&
{
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::Window((const Dali::Window &)result);
//argout typemap for const std::string&
{
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::Window((const Dali::Window &)result);
return jresult;
{
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::Window((const Dali::Window &)result);
return jresult;
{
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;
}
{
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 ;
};
}
}
+
}
{
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;
}
{
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;
}
{
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 ;
};
}
}
+
}
{
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 ;
};
}
}
+
}
{
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 ;
};
}
}
+
}
{
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 ;
};
}
}
+
}
{
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 ;
};
}
}
+
}
{
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 ;
};
}
}
+
}
{
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 ;
};
}
}
+
}
{
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 ;
};
}
}
+
}
{
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 ;
};
}
}
+
}
{
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 ;
};
}
}
+
}
{
SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
};
- } catch (...) {
- {
- SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
- };
- }
- }
- jresult = (int)result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_GetDragAndDropDetector(void * jarg1) {
- void * jresult ;
- Dali::Window *arg1 = (Dali::Window *) 0 ;
- Dali::DragAndDropDetector result;
-
- arg1 = (Dali::Window *)jarg1;
- {
- try {
- result = ((Dali::Window const *)arg1)->GetDragAndDropDetector();
- } catch (std::out_of_range& e) {
- {
- SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
- };
- } catch (std::exception& e) {
+ } catch (Dali::DaliException e) {
{
- SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
+ SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
};
} catch (...) {
{
};
}
}
- jresult = new Dali::DragAndDropDetector((const Dali::DragAndDropDetector &)result);
+
+ jresult = (int)result;
return jresult;
}
{
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::Any((const Dali::Any &)result);
return jresult;
}
{
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;
}
{
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 ;
};
}
}
+
}
{
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 = result;
return jresult;
}
{
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 ;
};
}
}
+
}
{
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 ;
};
}
}
+
}
{
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 = result;
return jresult;
}
{
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 = result;
return jresult;
}
{
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;
}
{
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 = result;
return jresult;
{
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 = result;
return jresult;
}
{
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 = result;
//argout typemap for const std::string&
{
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;
}
{
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 = result;
//argout typemap for const std::string&
{
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 ;
};
}
}
+
}
{
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 ;
};
}
}
+
}
{
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 = (int)result;
return jresult;
}
{
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 = result;
return jresult;
}
{
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 = (int)result;
return jresult;
}
{
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 ;
};
}
}
+
}
{
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 = result;
return jresult;
}
{
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 = result;
return jresult;
}
{
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 = (int)result;
return jresult;
}
{
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 = result;
return jresult;
}
{
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 = result;
return jresult;
}
{
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 = result;
return jresult;
}
{
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 = (unsigned long)result;
return jresult;
}
{
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 ;
};
}
}
+
}
{
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 ;
};
}
}
+
}
{
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 ;
};
}
}
+
}
{
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;
}
{
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 ;
};
}
}
+
}
{
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;
}
{
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 = result;
return jresult;
}
{
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 = (unsigned long)result;
return jresult;
}
{
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 ;
};
}
}
+
}
{
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 ;
};
}
}
+
}
{
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 ;
};
}
}
+
}
{
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;
}
{
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 void SWIGSTDCALL CSharp_Dali_Window_SetSize(void * jarg1, void * jarg2) {
{
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 ;
};
}
}
+
}
{
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::Window::WindowSize((const Dali::Window::WindowSize &)result);
return jresult;
}
{
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 ;
};
}
}
+
}
{
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::Window::WindowPosition((const Dali::Window::WindowPosition &)result);
return jresult;
}
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Adaptor_FeedKeyEvent(void * jarg1) {
- Dali::KeyEvent *arg1 = 0 ;
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetPositionSize(void* jarg1, void* jarg2)
+{
+ Dali::Window* window = (Dali::Window*)jarg1;
+ if (!window) {
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
+ return ;
+ }
- arg1 = (Dali::KeyEvent *)jarg1;
- if (!arg1) {
- SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::KeyEvent & type is null", 0);
+ Dali::Rect<int>* positionSize = (Dali::Rect<int>*)jarg2;
+ if (!positionSize) {
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Rect< int > const & type is null", 0);
return ;
}
{
try {
- Dali::Adaptor::Get().FeedKeyEvent(*arg1);
+ Dali::DevelWindow::SetPositionSize(*window, *positionSize);
} catch (std::out_of_range& e) {
{
SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
{
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 void SWIGSTDCALL CSharp_Dali_Adaptor_RenderOnce(void * /* jarg1 */) {
- try {
- Dali::Adaptor::Get().RenderOnce();
- } 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 (...) {
- {
- SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
- };
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetTransparency(void * jarg1, unsigned int jarg2) {
+ Dali::Window arg1 ;
+ bool arg2 ;
+ Dali::Window *argp1 ;
+
+ argp1 = (Dali::Window *)jarg1;
+ if (!argp1) {
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
+ return ;
}
+ arg1 = *argp1;
+ arg2 = jarg2 ? true : false;
+ {
+ try {
+ arg1.SetTransparency(arg2);
+ } 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 void SWIGSTDCALL CSharp_Dali_Window_FeedKeyEvent(void * jarg1) {
+ Dali::KeyEvent *arg1 = 0 ;
+
+ arg1 = (Dali::KeyEvent *)jarg1;
+ if (!arg1) {
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::KeyEvent & type is null", 0);
+ return ;
+ }
+ {
+ try {
+ Dali::Adaptor::Get().FeedKeyEvent(*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 (...) {
+ {
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
+ };
+ }
+ }
+}
+
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Adaptor_RenderOnce(void * /* jarg1 */) {
+ try {
+ Dali::Adaptor::Get().RenderOnce();
+ } 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 (...) {
+ {
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
+ };
+ }
+}
+
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_Add(void * jarg1, void * jarg2) {
+ Dali::Window *arg1 = (Dali::Window *) 0 ;
+ Dali::Actor arg2 ;
+ Dali::Actor *argp2 ;
+
+ arg1 = (Dali::Window *)jarg1;
+ argp2 = (Dali::Actor *)jarg2;
+ if (!argp2) {
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Actor", 0);
+ return ;
+ }
+ arg2 = *argp2;
+ {
+ try {
+ (arg1)->Add(arg2);
+ } 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 void SWIGSTDCALL CSharp_Dali_Window_Remove(void * jarg1, void * jarg2) {
+ Dali::Window *arg1 = (Dali::Window *) 0 ;
+ Dali::Actor *arg2 = 0 ;
+
+ arg1 = (Dali::Window *)jarg1;
+ arg2 = (Dali::Actor *)jarg2;
+ if (!arg2) {
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Actor & type is null", 0);
+ return ;
+ }
+ {
+ try {
+ (arg1)->Remove(*arg2);
+ } 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 void SWIGSTDCALL CSharp_Dali_Window_SetBackgroundColor(void * jarg1, void * jarg2) {
+ Dali::Window *arg1 = (Dali::Window *) 0 ;
+ Dali::Vector4 arg2 ;
+ Dali::Vector4 *argp2 ;
+
+ arg1 = (Dali::Window *)jarg1;
+ argp2 = (Dali::Vector4 *)jarg2;
+ if (!argp2) {
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Vector4", 0);
+ return ;
+ }
+ arg2 = *argp2;
+ {
+ try {
+ (arg1)->SetBackgroundColor(arg2);
+ } 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 void * SWIGSTDCALL CSharp_Dali_Window_GetBackgroundColor(void * jarg1) {
+ void * jresult ;
+ Dali::Window *arg1 = (Dali::Window *) 0 ;
+ Dali::Vector4 result;
+
+ arg1 = (Dali::Window *)jarg1;
+ {
+ try {
+ result = ((Dali::Window const *)arg1)->GetBackgroundColor();
+ } 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::Vector4((const Dali::Vector4 &)result);
+ return jresult;
+}
+
+SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_GetRootLayer(void * jarg1) {
+ void * jresult ;
+ Dali::Window *arg1 = (Dali::Window *) 0 ;
+ Dali::Layer result;
+
+ arg1 = (Dali::Window *)jarg1;
+ {
+ try {
+ result = ((Dali::Window const *)arg1)->GetRootLayer();
+ } 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::Layer((const Dali::Layer &)result);
+ return jresult;
+}
+
+SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_KeyEventSignal(void * jarg1) {
+ void * jresult ;
+ Dali::Window *arg1 = (Dali::Window *) 0 ;
+ Dali::DevelWindow::KeyEventSignalType *result = 0 ;
+
+ arg1 = (Dali::Window *)jarg1;
+ {
+ try {
+ result = (Dali::DevelWindow::KeyEventSignalType *) &(Dali::DevelWindow::KeyEventSignal(*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 = (void *)result;
+ return jresult;
+}
+
+SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_TouchSignal(void * jarg1) {
+ void * jresult ;
+ Dali::Window *arg1 = (Dali::Window *) 0 ;
+ Dali::DevelWindow::TouchSignalType *result = 0 ;
+
+ arg1 = (Dali::Window *)jarg1;
+ {
+ try {
+ result = (Dali::DevelWindow::TouchSignalType *) &(Dali::DevelWindow::TouchSignal(*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 = (void *)result;
+ return jresult;
+}
+
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetParent(void* jarg1, void* jarg2)
+{
+ Dali::Window* window = (Dali::Window*)jarg1;
+ if (!window) {
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
+ return ;
+ }
+
+ Dali::Window* parent = (Dali::Window*)jarg2;
+ if (!parent) {
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
+ return ;
+ }
+ {
+ try {
+ Dali::DevelWindow::SetParent(*window, *parent);
+ } 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 void SWIGSTDCALL CSharp_Dali_Window_Unparent(void* jarg1)
+{
+ Dali::Window* window = (Dali::Window*)jarg1;
+ if (!window) {
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
+ return ;
+ }
+ {
+ try {
+ Dali::DevelWindow::Unparent(*window);
+ } 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 void * SWIGSTDCALL CSharp_Dali_Window_GetParent(void* jarg1)
+{
+ void * jresult ;
+ Dali::Window* window = (Dali::Window*)jarg1;
+ Dali::Window result;
+ if (!window) {
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
+ return 0;
+ }
+ {
+ try {
+ result = Dali::DevelWindow::GetParent(*window);
+ } 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::Window((const Dali::Window &)result);
+ return jresult;
}
#ifdef __cplusplus