using System.Runtime.InteropServices;
using System.Collections.Generic;
using System.Linq;
+using System.Threading;
using System.ComponentModel;
-namespace Efl { namespace Canvas {
+namespace Efl {
+
+namespace Canvas {
+
/// <summary>Efl animation class</summary>
-[AnimationNativeInherit]
-public class Animation : Efl.Object, Efl.Eo.IWrapper,Efl.IPlayable
+[Efl.Canvas.Animation.NativeMethods]
+[Efl.Eo.BindingEntity]
+public class Animation : Efl.Object, Efl.IPlayable
{
///<summary>Pointer to the native class description.</summary>
- public override System.IntPtr NativeClass {
- get {
- if (((object)this).GetType() == typeof (Animation))
- return Efl.Canvas.AnimationNativeInherit.GetEflClassStatic();
+ public override System.IntPtr NativeClass
+ {
+ get
+ {
+ if (((object)this).GetType() == typeof(Animation))
+ {
+ return GetEflClassStatic();
+ }
else
+ {
return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
+ }
}
}
+
[System.Runtime.InteropServices.DllImport(efl.Libs.Evas)] internal static extern System.IntPtr
efl_canvas_animation_class_get();
- ///<summary>Creates a new instance.</summary>
- ///<param name="parent">Parent instance.</param>
+ /// <summary>Initializes a new instance of the <see cref="Animation"/> class.</summary>
+ /// <param name="parent">Parent instance.</param>
public Animation(Efl.Object parent= null
- ) :
- base(efl_canvas_animation_class_get(), typeof(Animation), parent)
+ ) : base(efl_canvas_animation_class_get(), parent)
{
FinishInstantiation();
}
- ///<summary>Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- protected Animation(System.IntPtr raw) : base(raw)
- {
- RegisterEventProxies();
- }
- ///<summary>Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
- protected Animation(IntPtr base_klass, System.Type managed_type, Efl.Object parent) : base(base_klass, managed_type, parent) {}
- ///<summary>Verifies if the given object is equal to this one.</summary>
- public override bool Equals(object obj)
- {
- var other = obj as Efl.Object;
- if (other == null)
- return false;
- return this.NativeHandle == other.NativeHandle;
- }
- ///<summary>Gets the hash code for this object based on the native pointer it points to.</summary>
- public override int GetHashCode()
+
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected Animation(ConstructingHandle ch) : base(ch)
{
- return this.NativeHandle.ToInt32();
}
- ///<summary>Turns the native pointer into a string representation.</summary>
- public override String ToString()
+
+ /// <summary>Initializes a new instance of the <see cref="Animation"/> class.
+ /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected Animation(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
- return $"{this.GetType().Name}@[{this.NativeHandle.ToInt32():x}]";
}
- ///<summary>Register the Eo event wrappers making the bridge to C# events. Internal usage only.</summary>
- protected override void RegisterEventProxies()
+
+ /// <summary>Initializes a new instance of the <see cref="Animation"/> class.
+ /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
+ /// <param name="baseKlass">The pointer to the base native Eo class.</param>
+ /// <param name="parent">The Efl.Object parent of this instance.</param>
+ protected Animation(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
- base.RegisterEventProxies();
}
+
/// <summary>Keep final state property</summary>
/// <returns><c>true</c> to keep final state, <c>false</c> otherwise.</returns>
virtual public bool GetFinalStateKeep() {
- var _ret_var = Efl.Canvas.AnimationNativeInherit.efl_animation_final_state_keep_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Animation.NativeMethods.efl_animation_final_state_keep_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Keep final state property</summary>
/// <param name="keep"><c>true</c> to keep final state, <c>false</c> otherwise.</param>
- /// <returns></returns>
- virtual public void SetFinalStateKeep( bool keep) {
- Efl.Canvas.AnimationNativeInherit.efl_animation_final_state_keep_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), keep);
+ virtual public void SetFinalStateKeep(bool keep) {
+ Efl.Canvas.Animation.NativeMethods.efl_animation_final_state_keep_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),keep);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Duration property</summary>
/// <returns>Duration value.</returns>
virtual public double GetDuration() {
- var _ret_var = Efl.Canvas.AnimationNativeInherit.efl_animation_duration_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Animation.NativeMethods.efl_animation_duration_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Duration property</summary>
/// <param name="sec">Duration value.</param>
- /// <returns></returns>
- virtual public void SetDuration( double sec) {
- Efl.Canvas.AnimationNativeInherit.efl_animation_duration_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), sec);
+ virtual public void SetDuration(double sec) {
+ Efl.Canvas.Animation.NativeMethods.efl_animation_duration_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),sec);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Repeat mode property</summary>
/// <returns>Repeat mode. EFL_ANIMATION_REPEAT_MODE_RESTART restarts animation when the animation ends and EFL_ANIMATION_REPEAT_MODE_REVERSE reverses animation when the animation ends.</returns>
virtual public Efl.Canvas.AnimationRepeatMode GetRepeatMode() {
- var _ret_var = Efl.Canvas.AnimationNativeInherit.efl_animation_repeat_mode_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Animation.NativeMethods.efl_animation_repeat_mode_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Repeat mode property</summary>
/// <param name="mode">Repeat mode. EFL_ANIMATION_REPEAT_MODE_RESTART restarts animation when the animation ends and EFL_ANIMATION_REPEAT_MODE_REVERSE reverses animation when the animation ends.</param>
- /// <returns></returns>
- virtual public void SetRepeatMode( Efl.Canvas.AnimationRepeatMode mode) {
- Efl.Canvas.AnimationNativeInherit.efl_animation_repeat_mode_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), mode);
+ virtual public void SetRepeatMode(Efl.Canvas.AnimationRepeatMode mode) {
+ Efl.Canvas.Animation.NativeMethods.efl_animation_repeat_mode_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),mode);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Repeat count property</summary>
/// <returns>Repeat count. EFL_ANIMATION_REPEAT_INFINITE repeats animation infinitely.</returns>
virtual public int GetRepeatCount() {
- var _ret_var = Efl.Canvas.AnimationNativeInherit.efl_animation_repeat_count_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Animation.NativeMethods.efl_animation_repeat_count_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Repeat count property</summary>
/// <param name="count">Repeat count. EFL_ANIMATION_REPEAT_INFINITE repeats animation infinitely.</param>
- /// <returns></returns>
- virtual public void SetRepeatCount( int count) {
- Efl.Canvas.AnimationNativeInherit.efl_animation_repeat_count_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), count);
+ virtual public void SetRepeatCount(int count) {
+ Efl.Canvas.Animation.NativeMethods.efl_animation_repeat_count_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),count);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Start delay property</summary>
/// <returns>Delay time, in seconds, from when the animation starts until the animation is animated</returns>
virtual public double GetStartDelay() {
- var _ret_var = Efl.Canvas.AnimationNativeInherit.efl_animation_start_delay_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Animation.NativeMethods.efl_animation_start_delay_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Start delay property</summary>
/// <param name="sec">Delay time, in seconds, from when the animation starts until the animation is animated</param>
- /// <returns></returns>
- virtual public void SetStartDelay( double sec) {
- Efl.Canvas.AnimationNativeInherit.efl_animation_start_delay_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), sec);
+ virtual public void SetStartDelay(double sec) {
+ Efl.Canvas.Animation.NativeMethods.efl_animation_start_delay_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),sec);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Interpolator property</summary>
/// <returns>Interpolator which indicates interpolation function. Efl_Interpolator is required.</returns>
virtual public Efl.IInterpolator GetInterpolator() {
- var _ret_var = Efl.Canvas.AnimationNativeInherit.efl_animation_interpolator_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.Canvas.Animation.NativeMethods.efl_animation_interpolator_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Interpolator property</summary>
/// <param name="interpolator">Interpolator which indicates interpolation function. Efl_Interpolator is required.</param>
- /// <returns></returns>
- virtual public void SetInterpolator( Efl.IInterpolator interpolator) {
- Efl.Canvas.AnimationNativeInherit.efl_animation_interpolator_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), interpolator);
+ virtual public void SetInterpolator(Efl.IInterpolator interpolator) {
+ Efl.Canvas.Animation.NativeMethods.efl_animation_interpolator_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),interpolator);
Eina.Error.RaiseIfUnhandledException();
}
- /// <summary></summary>
- /// <param name="progress"></param>
- /// <param name="target"></param>
/// <returns>Final applied progress.</returns>
- virtual public double AnimationApply( double progress, Efl.Canvas.Object target) {
- var _ret_var = Efl.Canvas.AnimationNativeInherit.efl_animation_apply_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), progress, target);
+ virtual public double AnimationApply(double progress, Efl.Canvas.Object target) {
+ var _ret_var = Efl.Canvas.Animation.NativeMethods.efl_animation_apply_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),progress, target);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Get the length of play for the media file.</summary>
/// <returns>The length of the stream in seconds.</returns>
virtual public double GetLength() {
- var _ret_var = Efl.IPlayableNativeInherit.efl_playable_length_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPlayableConcrete.NativeMethods.efl_playable_length_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
- /// <summary></summary>
- /// <returns></returns>
virtual public bool GetPlayable() {
- var _ret_var = Efl.IPlayableNativeInherit.efl_playable_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPlayableConcrete.NativeMethods.efl_playable_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Get whether the media file is seekable.</summary>
/// <returns><c>true</c> if seekable.</returns>
virtual public bool GetSeekable() {
- var _ret_var = Efl.IPlayableNativeInherit.efl_playable_seekable_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IPlayableConcrete.NativeMethods.efl_playable_seekable_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Keep final state property</summary>
-/// <value><c>true</c> to keep final state, <c>false</c> otherwise.</value>
+ /// <value><c>true</c> to keep final state, <c>false</c> otherwise.</value>
public bool FinalStateKeep {
get { return GetFinalStateKeep(); }
- set { SetFinalStateKeep( value); }
+ set { SetFinalStateKeep(value); }
}
/// <summary>Duration property</summary>
-/// <value>Duration value.</value>
+ /// <value>Duration value.</value>
public double Duration {
get { return GetDuration(); }
- set { SetDuration( value); }
+ set { SetDuration(value); }
}
/// <summary>Repeat mode property</summary>
-/// <value>Repeat mode. EFL_ANIMATION_REPEAT_MODE_RESTART restarts animation when the animation ends and EFL_ANIMATION_REPEAT_MODE_REVERSE reverses animation when the animation ends.</value>
+ /// <value>Repeat mode. EFL_ANIMATION_REPEAT_MODE_RESTART restarts animation when the animation ends and EFL_ANIMATION_REPEAT_MODE_REVERSE reverses animation when the animation ends.</value>
public Efl.Canvas.AnimationRepeatMode RepeatMode {
get { return GetRepeatMode(); }
- set { SetRepeatMode( value); }
+ set { SetRepeatMode(value); }
}
/// <summary>Repeat count property</summary>
-/// <value>Repeat count. EFL_ANIMATION_REPEAT_INFINITE repeats animation infinitely.</value>
+ /// <value>Repeat count. EFL_ANIMATION_REPEAT_INFINITE repeats animation infinitely.</value>
public int RepeatCount {
get { return GetRepeatCount(); }
- set { SetRepeatCount( value); }
+ set { SetRepeatCount(value); }
}
/// <summary>Start delay property</summary>
-/// <value>Delay time, in seconds, from when the animation starts until the animation is animated</value>
+ /// <value>Delay time, in seconds, from when the animation starts until the animation is animated</value>
public double StartDelay {
get { return GetStartDelay(); }
- set { SetStartDelay( value); }
+ set { SetStartDelay(value); }
}
/// <summary>Interpolator property</summary>
-/// <value>Interpolator which indicates interpolation function. Efl_Interpolator is required.</value>
+ /// <value>Interpolator which indicates interpolation function. Efl_Interpolator is required.</value>
public Efl.IInterpolator Interpolator {
get { return GetInterpolator(); }
- set { SetInterpolator( value); }
+ set { SetInterpolator(value); }
}
/// <summary>Get the length of play for the media file.</summary>
-/// <value>The length of the stream in seconds.</value>
+ /// <value>The length of the stream in seconds.</value>
public double Length {
get { return GetLength(); }
}
- /// <summary></summary>
-/// <value></value>
public bool Playable {
get { return GetPlayable(); }
}
/// <summary>Get whether the media file is seekable.</summary>
-/// <value><c>true</c> if seekable.</value>
+ /// <value><c>true</c> if seekable.</value>
public bool Seekable {
get { return GetSeekable(); }
}
{
return Efl.Canvas.Animation.efl_canvas_animation_class_get();
}
-}
-public class AnimationNativeInherit : Efl.ObjectNativeInherit{
- public new static Efl.Eo.NativeModule _Module = new Efl.Eo.NativeModule(efl.Libs.Evas);
- public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
- {
- var descs = new System.Collections.Generic.List<Efl_Op_Description>();
- var methods = Efl.Eo.Globals.GetUserMethods(type);
- if (efl_animation_final_state_keep_get_static_delegate == null)
- efl_animation_final_state_keep_get_static_delegate = new efl_animation_final_state_keep_get_delegate(final_state_keep_get);
- if (methods.FirstOrDefault(m => m.Name == "GetFinalStateKeep") != null)
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_animation_final_state_keep_get"), func = Marshal.GetFunctionPointerForDelegate(efl_animation_final_state_keep_get_static_delegate)});
- if (efl_animation_final_state_keep_set_static_delegate == null)
- efl_animation_final_state_keep_set_static_delegate = new efl_animation_final_state_keep_set_delegate(final_state_keep_set);
- if (methods.FirstOrDefault(m => m.Name == "SetFinalStateKeep") != null)
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_animation_final_state_keep_set"), func = Marshal.GetFunctionPointerForDelegate(efl_animation_final_state_keep_set_static_delegate)});
- if (efl_animation_duration_get_static_delegate == null)
- efl_animation_duration_get_static_delegate = new efl_animation_duration_get_delegate(duration_get);
- if (methods.FirstOrDefault(m => m.Name == "GetDuration") != null)
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_animation_duration_get"), func = Marshal.GetFunctionPointerForDelegate(efl_animation_duration_get_static_delegate)});
- if (efl_animation_duration_set_static_delegate == null)
- efl_animation_duration_set_static_delegate = new efl_animation_duration_set_delegate(duration_set);
- if (methods.FirstOrDefault(m => m.Name == "SetDuration") != null)
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_animation_duration_set"), func = Marshal.GetFunctionPointerForDelegate(efl_animation_duration_set_static_delegate)});
- if (efl_animation_repeat_mode_get_static_delegate == null)
- efl_animation_repeat_mode_get_static_delegate = new efl_animation_repeat_mode_get_delegate(repeat_mode_get);
- if (methods.FirstOrDefault(m => m.Name == "GetRepeatMode") != null)
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_animation_repeat_mode_get"), func = Marshal.GetFunctionPointerForDelegate(efl_animation_repeat_mode_get_static_delegate)});
- if (efl_animation_repeat_mode_set_static_delegate == null)
- efl_animation_repeat_mode_set_static_delegate = new efl_animation_repeat_mode_set_delegate(repeat_mode_set);
- if (methods.FirstOrDefault(m => m.Name == "SetRepeatMode") != null)
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_animation_repeat_mode_set"), func = Marshal.GetFunctionPointerForDelegate(efl_animation_repeat_mode_set_static_delegate)});
- if (efl_animation_repeat_count_get_static_delegate == null)
- efl_animation_repeat_count_get_static_delegate = new efl_animation_repeat_count_get_delegate(repeat_count_get);
- if (methods.FirstOrDefault(m => m.Name == "GetRepeatCount") != null)
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_animation_repeat_count_get"), func = Marshal.GetFunctionPointerForDelegate(efl_animation_repeat_count_get_static_delegate)});
- if (efl_animation_repeat_count_set_static_delegate == null)
- efl_animation_repeat_count_set_static_delegate = new efl_animation_repeat_count_set_delegate(repeat_count_set);
- if (methods.FirstOrDefault(m => m.Name == "SetRepeatCount") != null)
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_animation_repeat_count_set"), func = Marshal.GetFunctionPointerForDelegate(efl_animation_repeat_count_set_static_delegate)});
- if (efl_animation_start_delay_get_static_delegate == null)
- efl_animation_start_delay_get_static_delegate = new efl_animation_start_delay_get_delegate(start_delay_get);
- if (methods.FirstOrDefault(m => m.Name == "GetStartDelay") != null)
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_animation_start_delay_get"), func = Marshal.GetFunctionPointerForDelegate(efl_animation_start_delay_get_static_delegate)});
- if (efl_animation_start_delay_set_static_delegate == null)
- efl_animation_start_delay_set_static_delegate = new efl_animation_start_delay_set_delegate(start_delay_set);
- if (methods.FirstOrDefault(m => m.Name == "SetStartDelay") != null)
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_animation_start_delay_set"), func = Marshal.GetFunctionPointerForDelegate(efl_animation_start_delay_set_static_delegate)});
- if (efl_animation_interpolator_get_static_delegate == null)
- efl_animation_interpolator_get_static_delegate = new efl_animation_interpolator_get_delegate(interpolator_get);
- if (methods.FirstOrDefault(m => m.Name == "GetInterpolator") != null)
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_animation_interpolator_get"), func = Marshal.GetFunctionPointerForDelegate(efl_animation_interpolator_get_static_delegate)});
- if (efl_animation_interpolator_set_static_delegate == null)
- efl_animation_interpolator_set_static_delegate = new efl_animation_interpolator_set_delegate(interpolator_set);
- if (methods.FirstOrDefault(m => m.Name == "SetInterpolator") != null)
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_animation_interpolator_set"), func = Marshal.GetFunctionPointerForDelegate(efl_animation_interpolator_set_static_delegate)});
- if (efl_animation_apply_static_delegate == null)
- efl_animation_apply_static_delegate = new efl_animation_apply_delegate(animation_apply);
- if (methods.FirstOrDefault(m => m.Name == "AnimationApply") != null)
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_animation_apply"), func = Marshal.GetFunctionPointerForDelegate(efl_animation_apply_static_delegate)});
- if (efl_playable_length_get_static_delegate == null)
- efl_playable_length_get_static_delegate = new efl_playable_length_get_delegate(length_get);
- if (methods.FirstOrDefault(m => m.Name == "GetLength") != null)
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_playable_length_get"), func = Marshal.GetFunctionPointerForDelegate(efl_playable_length_get_static_delegate)});
- if (efl_playable_get_static_delegate == null)
- efl_playable_get_static_delegate = new efl_playable_get_delegate(playable_get);
- if (methods.FirstOrDefault(m => m.Name == "GetPlayable") != null)
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_playable_get"), func = Marshal.GetFunctionPointerForDelegate(efl_playable_get_static_delegate)});
- if (efl_playable_seekable_get_static_delegate == null)
- efl_playable_seekable_get_static_delegate = new efl_playable_seekable_get_delegate(seekable_get);
- if (methods.FirstOrDefault(m => m.Name == "GetSeekable") != null)
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_playable_seekable_get"), func = Marshal.GetFunctionPointerForDelegate(efl_playable_seekable_get_static_delegate)});
- descs.AddRange(base.GetEoOps(type));
- return descs;
- }
- public override IntPtr GetEflClass()
+ /// <summary>Wrapper for native methods and virtual method delegates.
+ /// For internal use by generated code only.</summary>
+ public new class NativeMethods : Efl.Object.NativeMethods
{
- return Efl.Canvas.Animation.efl_canvas_animation_class_get();
- }
- public static new IntPtr GetEflClassStatic()
- {
- return Efl.Canvas.Animation.efl_canvas_animation_class_get();
- }
+ private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Evas);
+ /// <summary>Gets the list of Eo operations to override.</summary>
+ /// <returns>The list of Eo operations to be overload.</returns>
+ public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
+ {
+ var descs = new System.Collections.Generic.List<Efl_Op_Description>();
+ var methods = Efl.Eo.Globals.GetUserMethods(type);
+
+ if (efl_animation_final_state_keep_get_static_delegate == null)
+ {
+ efl_animation_final_state_keep_get_static_delegate = new efl_animation_final_state_keep_get_delegate(final_state_keep_get);
+ }
+ if (methods.FirstOrDefault(m => m.Name == "GetFinalStateKeep") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_animation_final_state_keep_get"), func = Marshal.GetFunctionPointerForDelegate(efl_animation_final_state_keep_get_static_delegate) });
+ }
- [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_animation_final_state_keep_get_delegate(System.IntPtr obj, System.IntPtr pd);
+ if (efl_animation_final_state_keep_set_static_delegate == null)
+ {
+ efl_animation_final_state_keep_set_static_delegate = new efl_animation_final_state_keep_set_delegate(final_state_keep_set);
+ }
+ if (methods.FirstOrDefault(m => m.Name == "SetFinalStateKeep") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_animation_final_state_keep_set"), func = Marshal.GetFunctionPointerForDelegate(efl_animation_final_state_keep_set_static_delegate) });
+ }
- [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_animation_final_state_keep_get_api_delegate(System.IntPtr obj);
- public static Efl.Eo.FunctionWrapper<efl_animation_final_state_keep_get_api_delegate> efl_animation_final_state_keep_get_ptr = new Efl.Eo.FunctionWrapper<efl_animation_final_state_keep_get_api_delegate>(_Module, "efl_animation_final_state_keep_get");
- private static bool final_state_keep_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_animation_final_state_keep_get was called");
- Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
- if(wrapper != null) {
- bool _ret_var = default(bool);
- try {
- _ret_var = ((Animation)wrapper).GetFinalStateKeep();
- } catch (Exception e) {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ if (efl_animation_duration_get_static_delegate == null)
+ {
+ efl_animation_duration_get_static_delegate = new efl_animation_duration_get_delegate(duration_get);
}
- return _ret_var;
- } else {
- return efl_animation_final_state_keep_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
- private static efl_animation_final_state_keep_get_delegate efl_animation_final_state_keep_get_static_delegate;
+ if (methods.FirstOrDefault(m => m.Name == "GetDuration") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_animation_duration_get"), func = Marshal.GetFunctionPointerForDelegate(efl_animation_duration_get_static_delegate) });
+ }
- private delegate void efl_animation_final_state_keep_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool keep);
+ if (efl_animation_duration_set_static_delegate == null)
+ {
+ efl_animation_duration_set_static_delegate = new efl_animation_duration_set_delegate(duration_set);
+ }
+ if (methods.FirstOrDefault(m => m.Name == "SetDuration") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_animation_duration_set"), func = Marshal.GetFunctionPointerForDelegate(efl_animation_duration_set_static_delegate) });
+ }
- public delegate void efl_animation_final_state_keep_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool keep);
- public static Efl.Eo.FunctionWrapper<efl_animation_final_state_keep_set_api_delegate> efl_animation_final_state_keep_set_ptr = new Efl.Eo.FunctionWrapper<efl_animation_final_state_keep_set_api_delegate>(_Module, "efl_animation_final_state_keep_set");
- private static void final_state_keep_set(System.IntPtr obj, System.IntPtr pd, bool keep)
- {
- Eina.Log.Debug("function efl_animation_final_state_keep_set was called");
- Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
- if(wrapper != null) {
-
- try {
- ((Animation)wrapper).SetFinalStateKeep( keep);
- } catch (Exception e) {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
- } else {
- efl_animation_final_state_keep_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), keep);
- }
- }
- private static efl_animation_final_state_keep_set_delegate efl_animation_final_state_keep_set_static_delegate;
+ if (efl_animation_repeat_mode_get_static_delegate == null)
+ {
+ efl_animation_repeat_mode_get_static_delegate = new efl_animation_repeat_mode_get_delegate(repeat_mode_get);
+ }
+ if (methods.FirstOrDefault(m => m.Name == "GetRepeatMode") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_animation_repeat_mode_get"), func = Marshal.GetFunctionPointerForDelegate(efl_animation_repeat_mode_get_static_delegate) });
+ }
- private delegate double efl_animation_duration_get_delegate(System.IntPtr obj, System.IntPtr pd);
+ if (efl_animation_repeat_mode_set_static_delegate == null)
+ {
+ efl_animation_repeat_mode_set_static_delegate = new efl_animation_repeat_mode_set_delegate(repeat_mode_set);
+ }
+ if (methods.FirstOrDefault(m => m.Name == "SetRepeatMode") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_animation_repeat_mode_set"), func = Marshal.GetFunctionPointerForDelegate(efl_animation_repeat_mode_set_static_delegate) });
+ }
- public delegate double efl_animation_duration_get_api_delegate(System.IntPtr obj);
- public static Efl.Eo.FunctionWrapper<efl_animation_duration_get_api_delegate> efl_animation_duration_get_ptr = new Efl.Eo.FunctionWrapper<efl_animation_duration_get_api_delegate>(_Module, "efl_animation_duration_get");
- private static double duration_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_animation_duration_get was called");
- Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
- if(wrapper != null) {
- double _ret_var = default(double);
- try {
- _ret_var = ((Animation)wrapper).GetDuration();
- } catch (Exception e) {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ if (efl_animation_repeat_count_get_static_delegate == null)
+ {
+ efl_animation_repeat_count_get_static_delegate = new efl_animation_repeat_count_get_delegate(repeat_count_get);
}
- return _ret_var;
- } else {
- return efl_animation_duration_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
- private static efl_animation_duration_get_delegate efl_animation_duration_get_static_delegate;
+ if (methods.FirstOrDefault(m => m.Name == "GetRepeatCount") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_animation_repeat_count_get"), func = Marshal.GetFunctionPointerForDelegate(efl_animation_repeat_count_get_static_delegate) });
+ }
- private delegate void efl_animation_duration_set_delegate(System.IntPtr obj, System.IntPtr pd, double sec);
+ if (efl_animation_repeat_count_set_static_delegate == null)
+ {
+ efl_animation_repeat_count_set_static_delegate = new efl_animation_repeat_count_set_delegate(repeat_count_set);
+ }
+ if (methods.FirstOrDefault(m => m.Name == "SetRepeatCount") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_animation_repeat_count_set"), func = Marshal.GetFunctionPointerForDelegate(efl_animation_repeat_count_set_static_delegate) });
+ }
- public delegate void efl_animation_duration_set_api_delegate(System.IntPtr obj, double sec);
- public static Efl.Eo.FunctionWrapper<efl_animation_duration_set_api_delegate> efl_animation_duration_set_ptr = new Efl.Eo.FunctionWrapper<efl_animation_duration_set_api_delegate>(_Module, "efl_animation_duration_set");
- private static void duration_set(System.IntPtr obj, System.IntPtr pd, double sec)
- {
- Eina.Log.Debug("function efl_animation_duration_set was called");
- Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
- if(wrapper != null) {
-
- try {
- ((Animation)wrapper).SetDuration( sec);
- } catch (Exception e) {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
- } else {
- efl_animation_duration_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), sec);
- }
- }
- private static efl_animation_duration_set_delegate efl_animation_duration_set_static_delegate;
+ if (efl_animation_start_delay_get_static_delegate == null)
+ {
+ efl_animation_start_delay_get_static_delegate = new efl_animation_start_delay_get_delegate(start_delay_get);
+ }
+ if (methods.FirstOrDefault(m => m.Name == "GetStartDelay") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_animation_start_delay_get"), func = Marshal.GetFunctionPointerForDelegate(efl_animation_start_delay_get_static_delegate) });
+ }
- private delegate Efl.Canvas.AnimationRepeatMode efl_animation_repeat_mode_get_delegate(System.IntPtr obj, System.IntPtr pd);
+ if (efl_animation_start_delay_set_static_delegate == null)
+ {
+ efl_animation_start_delay_set_static_delegate = new efl_animation_start_delay_set_delegate(start_delay_set);
+ }
+ if (methods.FirstOrDefault(m => m.Name == "SetStartDelay") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_animation_start_delay_set"), func = Marshal.GetFunctionPointerForDelegate(efl_animation_start_delay_set_static_delegate) });
+ }
- public delegate Efl.Canvas.AnimationRepeatMode efl_animation_repeat_mode_get_api_delegate(System.IntPtr obj);
- public static Efl.Eo.FunctionWrapper<efl_animation_repeat_mode_get_api_delegate> efl_animation_repeat_mode_get_ptr = new Efl.Eo.FunctionWrapper<efl_animation_repeat_mode_get_api_delegate>(_Module, "efl_animation_repeat_mode_get");
- private static Efl.Canvas.AnimationRepeatMode repeat_mode_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_animation_repeat_mode_get was called");
- Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
- if(wrapper != null) {
- Efl.Canvas.AnimationRepeatMode _ret_var = default(Efl.Canvas.AnimationRepeatMode);
- try {
- _ret_var = ((Animation)wrapper).GetRepeatMode();
- } catch (Exception e) {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ if (efl_animation_interpolator_get_static_delegate == null)
+ {
+ efl_animation_interpolator_get_static_delegate = new efl_animation_interpolator_get_delegate(interpolator_get);
}
- return _ret_var;
- } else {
- return efl_animation_repeat_mode_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
- private static efl_animation_repeat_mode_get_delegate efl_animation_repeat_mode_get_static_delegate;
+ if (methods.FirstOrDefault(m => m.Name == "GetInterpolator") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_animation_interpolator_get"), func = Marshal.GetFunctionPointerForDelegate(efl_animation_interpolator_get_static_delegate) });
+ }
- private delegate void efl_animation_repeat_mode_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Canvas.AnimationRepeatMode mode);
+ if (efl_animation_interpolator_set_static_delegate == null)
+ {
+ efl_animation_interpolator_set_static_delegate = new efl_animation_interpolator_set_delegate(interpolator_set);
+ }
+ if (methods.FirstOrDefault(m => m.Name == "SetInterpolator") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_animation_interpolator_set"), func = Marshal.GetFunctionPointerForDelegate(efl_animation_interpolator_set_static_delegate) });
+ }
- public delegate void efl_animation_repeat_mode_set_api_delegate(System.IntPtr obj, Efl.Canvas.AnimationRepeatMode mode);
- public static Efl.Eo.FunctionWrapper<efl_animation_repeat_mode_set_api_delegate> efl_animation_repeat_mode_set_ptr = new Efl.Eo.FunctionWrapper<efl_animation_repeat_mode_set_api_delegate>(_Module, "efl_animation_repeat_mode_set");
- private static void repeat_mode_set(System.IntPtr obj, System.IntPtr pd, Efl.Canvas.AnimationRepeatMode mode)
- {
- Eina.Log.Debug("function efl_animation_repeat_mode_set was called");
- Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
- if(wrapper != null) {
-
- try {
- ((Animation)wrapper).SetRepeatMode( mode);
- } catch (Exception e) {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
- } else {
- efl_animation_repeat_mode_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), mode);
- }
- }
- private static efl_animation_repeat_mode_set_delegate efl_animation_repeat_mode_set_static_delegate;
+ if (efl_animation_apply_static_delegate == null)
+ {
+ efl_animation_apply_static_delegate = new efl_animation_apply_delegate(animation_apply);
+ }
+ if (methods.FirstOrDefault(m => m.Name == "AnimationApply") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_animation_apply"), func = Marshal.GetFunctionPointerForDelegate(efl_animation_apply_static_delegate) });
+ }
- private delegate int efl_animation_repeat_count_get_delegate(System.IntPtr obj, System.IntPtr pd);
+ if (efl_playable_length_get_static_delegate == null)
+ {
+ efl_playable_length_get_static_delegate = new efl_playable_length_get_delegate(length_get);
+ }
+ if (methods.FirstOrDefault(m => m.Name == "GetLength") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_playable_length_get"), func = Marshal.GetFunctionPointerForDelegate(efl_playable_length_get_static_delegate) });
+ }
- public delegate int efl_animation_repeat_count_get_api_delegate(System.IntPtr obj);
- public static Efl.Eo.FunctionWrapper<efl_animation_repeat_count_get_api_delegate> efl_animation_repeat_count_get_ptr = new Efl.Eo.FunctionWrapper<efl_animation_repeat_count_get_api_delegate>(_Module, "efl_animation_repeat_count_get");
- private static int repeat_count_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_animation_repeat_count_get was called");
- Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
- if(wrapper != null) {
- int _ret_var = default(int);
- try {
- _ret_var = ((Animation)wrapper).GetRepeatCount();
- } catch (Exception e) {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ if (efl_playable_get_static_delegate == null)
+ {
+ efl_playable_get_static_delegate = new efl_playable_get_delegate(playable_get);
}
- return _ret_var;
- } else {
- return efl_animation_repeat_count_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
- }
- }
- private static efl_animation_repeat_count_get_delegate efl_animation_repeat_count_get_static_delegate;
+ if (methods.FirstOrDefault(m => m.Name == "GetPlayable") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_playable_get"), func = Marshal.GetFunctionPointerForDelegate(efl_playable_get_static_delegate) });
+ }
- private delegate void efl_animation_repeat_count_set_delegate(System.IntPtr obj, System.IntPtr pd, int count);
+ if (efl_playable_seekable_get_static_delegate == null)
+ {
+ efl_playable_seekable_get_static_delegate = new efl_playable_seekable_get_delegate(seekable_get);
+ }
+ if (methods.FirstOrDefault(m => m.Name == "GetSeekable") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_playable_seekable_get"), func = Marshal.GetFunctionPointerForDelegate(efl_playable_seekable_get_static_delegate) });
+ }
- public delegate void efl_animation_repeat_count_set_api_delegate(System.IntPtr obj, int count);
- public static Efl.Eo.FunctionWrapper<efl_animation_repeat_count_set_api_delegate> efl_animation_repeat_count_set_ptr = new Efl.Eo.FunctionWrapper<efl_animation_repeat_count_set_api_delegate>(_Module, "efl_animation_repeat_count_set");
- private static void repeat_count_set(System.IntPtr obj, System.IntPtr pd, int count)
- {
- Eina.Log.Debug("function efl_animation_repeat_count_set was called");
- Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
- if(wrapper != null) {
-
- try {
- ((Animation)wrapper).SetRepeatCount( count);
- } catch (Exception e) {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
- } else {
- efl_animation_repeat_count_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), count);
+ descs.AddRange(base.GetEoOps(type));
+ return descs;
+ }
+ /// <summary>Returns the Eo class for the native methods of this class.</summary>
+ /// <returns>The native class pointer.</returns>
+ public override IntPtr GetEflClass()
+ {
+ return Efl.Canvas.Animation.efl_canvas_animation_class_get();
}
- }
- private static efl_animation_repeat_count_set_delegate efl_animation_repeat_count_set_static_delegate;
-
- private delegate double efl_animation_start_delay_get_delegate(System.IntPtr obj, System.IntPtr pd);
+ #pragma warning disable CA1707, CS1591, SA1300, SA1600
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_animation_final_state_keep_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_animation_final_state_keep_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_animation_final_state_keep_get_api_delegate> efl_animation_final_state_keep_get_ptr = new Efl.Eo.FunctionWrapper<efl_animation_final_state_keep_get_api_delegate>(Module, "efl_animation_final_state_keep_get");
+
+ private static bool final_state_keep_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_animation_final_state_keep_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((Animation)ws.Target).GetFinalStateKeep();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+ return _ret_var;
- public delegate double efl_animation_start_delay_get_api_delegate(System.IntPtr obj);
- public static Efl.Eo.FunctionWrapper<efl_animation_start_delay_get_api_delegate> efl_animation_start_delay_get_ptr = new Efl.Eo.FunctionWrapper<efl_animation_start_delay_get_api_delegate>(_Module, "efl_animation_start_delay_get");
- private static double start_delay_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_animation_start_delay_get was called");
- Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
- if(wrapper != null) {
- double _ret_var = default(double);
- try {
- _ret_var = ((Animation)wrapper).GetStartDelay();
- } catch (Exception e) {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
- return _ret_var;
- } else {
- return efl_animation_start_delay_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ else
+ {
+ return efl_animation_final_state_keep_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
}
- }
- private static efl_animation_start_delay_get_delegate efl_animation_start_delay_get_static_delegate;
+ private static efl_animation_final_state_keep_get_delegate efl_animation_final_state_keep_get_static_delegate;
+
+
+ private delegate void efl_animation_final_state_keep_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool keep);
+
+
+ public delegate void efl_animation_final_state_keep_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool keep);
+
+ public static Efl.Eo.FunctionWrapper<efl_animation_final_state_keep_set_api_delegate> efl_animation_final_state_keep_set_ptr = new Efl.Eo.FunctionWrapper<efl_animation_final_state_keep_set_api_delegate>(Module, "efl_animation_final_state_keep_set");
+
+ private static void final_state_keep_set(System.IntPtr obj, System.IntPtr pd, bool keep)
+ {
+ Eina.Log.Debug("function efl_animation_final_state_keep_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Animation)ws.Target).SetFinalStateKeep(keep);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_animation_final_state_keep_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), keep);
+ }
+ }
- private delegate void efl_animation_start_delay_set_delegate(System.IntPtr obj, System.IntPtr pd, double sec);
+ private static efl_animation_final_state_keep_set_delegate efl_animation_final_state_keep_set_static_delegate;
+
+
+ private delegate double efl_animation_duration_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate double efl_animation_duration_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_animation_duration_get_api_delegate> efl_animation_duration_get_ptr = new Efl.Eo.FunctionWrapper<efl_animation_duration_get_api_delegate>(Module, "efl_animation_duration_get");
+
+ private static double duration_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_animation_duration_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ double _ret_var = default(double);
+ try
+ {
+ _ret_var = ((Animation)ws.Target).GetDuration();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+ return _ret_var;
- public delegate void efl_animation_start_delay_set_api_delegate(System.IntPtr obj, double sec);
- public static Efl.Eo.FunctionWrapper<efl_animation_start_delay_set_api_delegate> efl_animation_start_delay_set_ptr = new Efl.Eo.FunctionWrapper<efl_animation_start_delay_set_api_delegate>(_Module, "efl_animation_start_delay_set");
- private static void start_delay_set(System.IntPtr obj, System.IntPtr pd, double sec)
- {
- Eina.Log.Debug("function efl_animation_start_delay_set was called");
- Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
- if(wrapper != null) {
-
- try {
- ((Animation)wrapper).SetStartDelay( sec);
- } catch (Exception e) {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
- } else {
- efl_animation_start_delay_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), sec);
+ }
+ else
+ {
+ return efl_animation_duration_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
}
- }
- private static efl_animation_start_delay_set_delegate efl_animation_start_delay_set_static_delegate;
+ private static efl_animation_duration_get_delegate efl_animation_duration_get_static_delegate;
+
+
+ private delegate void efl_animation_duration_set_delegate(System.IntPtr obj, System.IntPtr pd, double sec);
+
+
+ public delegate void efl_animation_duration_set_api_delegate(System.IntPtr obj, double sec);
+
+ public static Efl.Eo.FunctionWrapper<efl_animation_duration_set_api_delegate> efl_animation_duration_set_ptr = new Efl.Eo.FunctionWrapper<efl_animation_duration_set_api_delegate>(Module, "efl_animation_duration_set");
+
+ private static void duration_set(System.IntPtr obj, System.IntPtr pd, double sec)
+ {
+ Eina.Log.Debug("function efl_animation_duration_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Animation)ws.Target).SetDuration(sec);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_animation_duration_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), sec);
+ }
+ }
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.IInterpolatorConcrete, Efl.Eo.NonOwnTag>))] private delegate Efl.IInterpolator efl_animation_interpolator_get_delegate(System.IntPtr obj, System.IntPtr pd);
+ private static efl_animation_duration_set_delegate efl_animation_duration_set_static_delegate;
+
+
+ private delegate Efl.Canvas.AnimationRepeatMode efl_animation_repeat_mode_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate Efl.Canvas.AnimationRepeatMode efl_animation_repeat_mode_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_animation_repeat_mode_get_api_delegate> efl_animation_repeat_mode_get_ptr = new Efl.Eo.FunctionWrapper<efl_animation_repeat_mode_get_api_delegate>(Module, "efl_animation_repeat_mode_get");
+
+ private static Efl.Canvas.AnimationRepeatMode repeat_mode_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_animation_repeat_mode_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Efl.Canvas.AnimationRepeatMode _ret_var = default(Efl.Canvas.AnimationRepeatMode);
+ try
+ {
+ _ret_var = ((Animation)ws.Target).GetRepeatMode();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+ return _ret_var;
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.IInterpolatorConcrete, Efl.Eo.NonOwnTag>))] public delegate Efl.IInterpolator efl_animation_interpolator_get_api_delegate(System.IntPtr obj);
- public static Efl.Eo.FunctionWrapper<efl_animation_interpolator_get_api_delegate> efl_animation_interpolator_get_ptr = new Efl.Eo.FunctionWrapper<efl_animation_interpolator_get_api_delegate>(_Module, "efl_animation_interpolator_get");
- private static Efl.IInterpolator interpolator_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_animation_interpolator_get was called");
- Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
- if(wrapper != null) {
- Efl.IInterpolator _ret_var = default(Efl.IInterpolator);
- try {
- _ret_var = ((Animation)wrapper).GetInterpolator();
- } catch (Exception e) {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
- return _ret_var;
- } else {
- return efl_animation_interpolator_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ else
+ {
+ return efl_animation_repeat_mode_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
}
- }
- private static efl_animation_interpolator_get_delegate efl_animation_interpolator_get_static_delegate;
+ private static efl_animation_repeat_mode_get_delegate efl_animation_repeat_mode_get_static_delegate;
+
+
+ private delegate void efl_animation_repeat_mode_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Canvas.AnimationRepeatMode mode);
+
+
+ public delegate void efl_animation_repeat_mode_set_api_delegate(System.IntPtr obj, Efl.Canvas.AnimationRepeatMode mode);
+
+ public static Efl.Eo.FunctionWrapper<efl_animation_repeat_mode_set_api_delegate> efl_animation_repeat_mode_set_ptr = new Efl.Eo.FunctionWrapper<efl_animation_repeat_mode_set_api_delegate>(Module, "efl_animation_repeat_mode_set");
+
+ private static void repeat_mode_set(System.IntPtr obj, System.IntPtr pd, Efl.Canvas.AnimationRepeatMode mode)
+ {
+ Eina.Log.Debug("function efl_animation_repeat_mode_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Animation)ws.Target).SetRepeatMode(mode);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_animation_repeat_mode_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), mode);
+ }
+ }
- private delegate void efl_animation_interpolator_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.IInterpolatorConcrete, Efl.Eo.NonOwnTag>))] Efl.IInterpolator interpolator);
+ private static efl_animation_repeat_mode_set_delegate efl_animation_repeat_mode_set_static_delegate;
+
+
+ private delegate int efl_animation_repeat_count_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate int efl_animation_repeat_count_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_animation_repeat_count_get_api_delegate> efl_animation_repeat_count_get_ptr = new Efl.Eo.FunctionWrapper<efl_animation_repeat_count_get_api_delegate>(Module, "efl_animation_repeat_count_get");
+
+ private static int repeat_count_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_animation_repeat_count_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ int _ret_var = default(int);
+ try
+ {
+ _ret_var = ((Animation)ws.Target).GetRepeatCount();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+ return _ret_var;
- public delegate void efl_animation_interpolator_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.IInterpolatorConcrete, Efl.Eo.NonOwnTag>))] Efl.IInterpolator interpolator);
- public static Efl.Eo.FunctionWrapper<efl_animation_interpolator_set_api_delegate> efl_animation_interpolator_set_ptr = new Efl.Eo.FunctionWrapper<efl_animation_interpolator_set_api_delegate>(_Module, "efl_animation_interpolator_set");
- private static void interpolator_set(System.IntPtr obj, System.IntPtr pd, Efl.IInterpolator interpolator)
- {
- Eina.Log.Debug("function efl_animation_interpolator_set was called");
- Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
- if(wrapper != null) {
-
- try {
- ((Animation)wrapper).SetInterpolator( interpolator);
- } catch (Exception e) {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
- }
- } else {
- efl_animation_interpolator_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), interpolator);
+ }
+ else
+ {
+ return efl_animation_repeat_count_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
}
- }
- private static efl_animation_interpolator_set_delegate efl_animation_interpolator_set_static_delegate;
+ private static efl_animation_repeat_count_get_delegate efl_animation_repeat_count_get_static_delegate;
+
+
+ private delegate void efl_animation_repeat_count_set_delegate(System.IntPtr obj, System.IntPtr pd, int count);
+
+
+ public delegate void efl_animation_repeat_count_set_api_delegate(System.IntPtr obj, int count);
+
+ public static Efl.Eo.FunctionWrapper<efl_animation_repeat_count_set_api_delegate> efl_animation_repeat_count_set_ptr = new Efl.Eo.FunctionWrapper<efl_animation_repeat_count_set_api_delegate>(Module, "efl_animation_repeat_count_set");
+
+ private static void repeat_count_set(System.IntPtr obj, System.IntPtr pd, int count)
+ {
+ Eina.Log.Debug("function efl_animation_repeat_count_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Animation)ws.Target).SetRepeatCount(count);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_animation_repeat_count_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), count);
+ }
+ }
- private delegate double efl_animation_apply_delegate(System.IntPtr obj, System.IntPtr pd, double progress, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Canvas.Object, Efl.Eo.NonOwnTag>))] Efl.Canvas.Object target);
+ private static efl_animation_repeat_count_set_delegate efl_animation_repeat_count_set_static_delegate;
+
+
+ private delegate double efl_animation_start_delay_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate double efl_animation_start_delay_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_animation_start_delay_get_api_delegate> efl_animation_start_delay_get_ptr = new Efl.Eo.FunctionWrapper<efl_animation_start_delay_get_api_delegate>(Module, "efl_animation_start_delay_get");
+
+ private static double start_delay_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_animation_start_delay_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ double _ret_var = default(double);
+ try
+ {
+ _ret_var = ((Animation)ws.Target).GetStartDelay();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+ return _ret_var;
- public delegate double efl_animation_apply_api_delegate(System.IntPtr obj, double progress, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Canvas.Object, Efl.Eo.NonOwnTag>))] Efl.Canvas.Object target);
- public static Efl.Eo.FunctionWrapper<efl_animation_apply_api_delegate> efl_animation_apply_ptr = new Efl.Eo.FunctionWrapper<efl_animation_apply_api_delegate>(_Module, "efl_animation_apply");
- private static double animation_apply(System.IntPtr obj, System.IntPtr pd, double progress, Efl.Canvas.Object target)
- {
- Eina.Log.Debug("function efl_animation_apply was called");
- Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
- if(wrapper != null) {
- double _ret_var = default(double);
- try {
- _ret_var = ((Animation)wrapper).AnimationApply( progress, target);
- } catch (Exception e) {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
- return _ret_var;
- } else {
- return efl_animation_apply_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), progress, target);
+ else
+ {
+ return efl_animation_start_delay_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
}
- }
- private static efl_animation_apply_delegate efl_animation_apply_static_delegate;
+ private static efl_animation_start_delay_get_delegate efl_animation_start_delay_get_static_delegate;
+
+
+ private delegate void efl_animation_start_delay_set_delegate(System.IntPtr obj, System.IntPtr pd, double sec);
+
+
+ public delegate void efl_animation_start_delay_set_api_delegate(System.IntPtr obj, double sec);
+
+ public static Efl.Eo.FunctionWrapper<efl_animation_start_delay_set_api_delegate> efl_animation_start_delay_set_ptr = new Efl.Eo.FunctionWrapper<efl_animation_start_delay_set_api_delegate>(Module, "efl_animation_start_delay_set");
+
+ private static void start_delay_set(System.IntPtr obj, System.IntPtr pd, double sec)
+ {
+ Eina.Log.Debug("function efl_animation_start_delay_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Animation)ws.Target).SetStartDelay(sec);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_animation_start_delay_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), sec);
+ }
+ }
- private delegate double efl_playable_length_get_delegate(System.IntPtr obj, System.IntPtr pd);
+ private static efl_animation_start_delay_set_delegate efl_animation_start_delay_set_static_delegate;
+
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ private delegate Efl.IInterpolator efl_animation_interpolator_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
+ public delegate Efl.IInterpolator efl_animation_interpolator_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_animation_interpolator_get_api_delegate> efl_animation_interpolator_get_ptr = new Efl.Eo.FunctionWrapper<efl_animation_interpolator_get_api_delegate>(Module, "efl_animation_interpolator_get");
+
+ private static Efl.IInterpolator interpolator_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_animation_interpolator_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ Efl.IInterpolator _ret_var = default(Efl.IInterpolator);
+ try
+ {
+ _ret_var = ((Animation)ws.Target).GetInterpolator();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+ return _ret_var;
- public delegate double efl_playable_length_get_api_delegate(System.IntPtr obj);
- public static Efl.Eo.FunctionWrapper<efl_playable_length_get_api_delegate> efl_playable_length_get_ptr = new Efl.Eo.FunctionWrapper<efl_playable_length_get_api_delegate>(_Module, "efl_playable_length_get");
- private static double length_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_playable_length_get was called");
- Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
- if(wrapper != null) {
- double _ret_var = default(double);
- try {
- _ret_var = ((Animation)wrapper).GetLength();
- } catch (Exception e) {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
- return _ret_var;
- } else {
- return efl_playable_length_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ else
+ {
+ return efl_animation_interpolator_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
}
- }
- private static efl_playable_length_get_delegate efl_playable_length_get_static_delegate;
+ private static efl_animation_interpolator_get_delegate efl_animation_interpolator_get_static_delegate;
+
+
+ private delegate void efl_animation_interpolator_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.IInterpolator interpolator);
+
+
+ public delegate void efl_animation_interpolator_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.IInterpolator interpolator);
+
+ public static Efl.Eo.FunctionWrapper<efl_animation_interpolator_set_api_delegate> efl_animation_interpolator_set_ptr = new Efl.Eo.FunctionWrapper<efl_animation_interpolator_set_api_delegate>(Module, "efl_animation_interpolator_set");
+
+ private static void interpolator_set(System.IntPtr obj, System.IntPtr pd, Efl.IInterpolator interpolator)
+ {
+ Eina.Log.Debug("function efl_animation_interpolator_set was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+
+ try
+ {
+ ((Animation)ws.Target).SetInterpolator(interpolator);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+
+ }
+ else
+ {
+ efl_animation_interpolator_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), interpolator);
+ }
+ }
- [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_playable_get_delegate(System.IntPtr obj, System.IntPtr pd);
+ private static efl_animation_interpolator_set_delegate efl_animation_interpolator_set_static_delegate;
+
+
+ private delegate double efl_animation_apply_delegate(System.IntPtr obj, System.IntPtr pd, double progress, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Canvas.Object target);
+
+
+ public delegate double efl_animation_apply_api_delegate(System.IntPtr obj, double progress, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Canvas.Object target);
+
+ public static Efl.Eo.FunctionWrapper<efl_animation_apply_api_delegate> efl_animation_apply_ptr = new Efl.Eo.FunctionWrapper<efl_animation_apply_api_delegate>(Module, "efl_animation_apply");
+
+ private static double animation_apply(System.IntPtr obj, System.IntPtr pd, double progress, Efl.Canvas.Object target)
+ {
+ Eina.Log.Debug("function efl_animation_apply was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ double _ret_var = default(double);
+ try
+ {
+ _ret_var = ((Animation)ws.Target).AnimationApply(progress, target);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+ return _ret_var;
- [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_playable_get_api_delegate(System.IntPtr obj);
- public static Efl.Eo.FunctionWrapper<efl_playable_get_api_delegate> efl_playable_get_ptr = new Efl.Eo.FunctionWrapper<efl_playable_get_api_delegate>(_Module, "efl_playable_get");
- private static bool playable_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_playable_get was called");
- Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
- if(wrapper != null) {
- bool _ret_var = default(bool);
- try {
- _ret_var = ((Animation)wrapper).GetPlayable();
- } catch (Exception e) {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
- return _ret_var;
- } else {
- return efl_playable_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ else
+ {
+ return efl_animation_apply_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), progress, target);
+ }
}
- }
- private static efl_playable_get_delegate efl_playable_get_static_delegate;
+ private static efl_animation_apply_delegate efl_animation_apply_static_delegate;
+
+
+ private delegate double efl_playable_length_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+
+ public delegate double efl_playable_length_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_playable_length_get_api_delegate> efl_playable_length_get_ptr = new Efl.Eo.FunctionWrapper<efl_playable_length_get_api_delegate>(Module, "efl_playable_length_get");
+
+ private static double length_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_playable_length_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ double _ret_var = default(double);
+ try
+ {
+ _ret_var = ((Animation)ws.Target).GetLength();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
- [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_playable_seekable_get_delegate(System.IntPtr obj, System.IntPtr pd);
+ return _ret_var;
+ }
+ else
+ {
+ return efl_playable_length_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_playable_length_get_delegate efl_playable_length_get_static_delegate;
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_playable_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_playable_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_playable_get_api_delegate> efl_playable_get_ptr = new Efl.Eo.FunctionWrapper<efl_playable_get_api_delegate>(Module, "efl_playable_get");
+
+ private static bool playable_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_playable_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((Animation)ws.Target).GetPlayable();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
- [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_playable_seekable_get_api_delegate(System.IntPtr obj);
- public static Efl.Eo.FunctionWrapper<efl_playable_seekable_get_api_delegate> efl_playable_seekable_get_ptr = new Efl.Eo.FunctionWrapper<efl_playable_seekable_get_api_delegate>(_Module, "efl_playable_seekable_get");
- private static bool seekable_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_playable_seekable_get was called");
- Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
- if(wrapper != null) {
- bool _ret_var = default(bool);
- try {
- _ret_var = ((Animation)wrapper).GetSeekable();
- } catch (Exception e) {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
+ else
+ {
+ return efl_playable_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
+ }
+
+ private static efl_playable_get_delegate efl_playable_get_static_delegate;
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_playable_seekable_get_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_playable_seekable_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper<efl_playable_seekable_get_api_delegate> efl_playable_seekable_get_ptr = new Efl.Eo.FunctionWrapper<efl_playable_seekable_get_api_delegate>(Module, "efl_playable_seekable_get");
+
+ private static bool seekable_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_playable_seekable_get was called");
+ var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
+ if (ws != null)
+ {
+ bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((Animation)ws.Target).GetSeekable();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
return _ret_var;
- } else {
- return efl_playable_seekable_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+
+ }
+ else
+ {
+ return efl_playable_seekable_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
}
- }
- private static efl_playable_seekable_get_delegate efl_playable_seekable_get_static_delegate;
+
+ private static efl_playable_seekable_get_delegate efl_playable_seekable_get_static_delegate;
+
+ #pragma warning restore CA1707, CS1591, SA1300, SA1600
+
}
-} }
+}
+}
+
+}
+