#include <dali/integration-api/debug.h>
+#include <dali-toolkit/devel-api/controls/video-view/video-view-devel.h>
+
+
// add here SWIG version check
#if defined(_MSC_VER) // Microsoft Visual C++ 6.0
return jresult;
}
+SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_VideoView_GetNativePlayerHandle( void * jarg1 )
+{
+ Dali::Toolkit::VideoView *arg1 = (Dali::Toolkit::VideoView *)jarg1;
+ if( arg1 == nullptr )
+ {
+ DALI_LOG_ERROR("VideoView is nullptr!");
+ return nullptr;
+ }
+ void * ret = nullptr;
+ {
+ try{
+
+ Dali::Any result = Toolkit::DevelVideoView::GetMediaPlayer( *arg1 );
+ ret = Dali::AnyCast< void * >( result );
+
+ } 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;
+ };
+ }
+ }
+ return ret;
+}
+
SWIGEXPORT int SWIGSTDCALL CSharp_Dali_Popup_Property_TITLE_get() {
int jresult ;
return jresult;
}
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Window_SetAvailableOrientations(void * jarg1, int* jarg2, int jarg3) {
+ Dali::Window* window = (Dali::Window*)jarg1;
+ if (!window) {
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
+ return;
+ }
+ int *arg2 = (int *) 0 ;
+ int count = jarg3;
+
+ arg2 = jarg2;
+ Dali::Vector< Dali::Window::WindowOrientation> orientations;
+ orientations.Resize( count );
+ for( int i = 0; i<count; ++i)
+ {
+ orientations[i] = static_cast< Dali::Window::WindowOrientation >(arg2[i]);
+ }
+ {
+ try {
+ Dali::DevelWindow::SetAvailableOrientations(*window, orientations);
+ } 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_GetNativeHandle(void * jarg1) {
void * jresult ;
Dali::Window *arg1 = (Dali::Window *) 0 ;