[EflSharp] Update Circle and efl cs files (#945)
[platform/core/csapi/tizenfx.git] / internals / src / EflSharp / EflSharp / efl / efl_ui_autorepeat.eo.cs
1 #pragma warning disable CS1591
2 using System;
3 using System.Runtime.InteropServices;
4 using System.Collections.Generic;
5 using System.Linq;
6 using System.Threading;
7 using System.ComponentModel;
8 namespace Efl {
9
10 namespace Ui {
11
12 /// <summary>Interface for autorepeating clicks.
13 /// This interface abstracts functions for enabling / disabling this feature. When enabled, keeping a button pressed will continuously emit the <c>repeated</c> event until the button is released. The time it takes until it starts emitting the event is given by <see cref="Efl.Ui.IAutorepeat.AutorepeatInitialTimeout"/>, and the time between each new emission by <see cref="Efl.Ui.IAutorepeat.AutorepeatGapTimeout"/>.</summary>
14 [Efl.Ui.IAutorepeatConcrete.NativeMethods]
15 [Efl.Eo.BindingEntity]
16 public interface IAutorepeat : 
17     Efl.Eo.IWrapper, IDisposable
18 {
19     /// <summary>The initial timeout before the autorepeat event is generated.
20 /// Sets the timeout, in seconds, since the button is pressed until the first <c>repeated</c> signal is emitted. If <c>t</c> is 0.0 or less, there won&apos;t be any delay and the event will be fired the moment the button is pressed.
21 /// 
22 /// See also <see cref="Efl.Ui.IAutorepeat.AutorepeatEnabled"/> and <see cref="Efl.Ui.IAutorepeat.AutorepeatGapTimeout"/>.</summary>
23 /// <returns>Timeout in seconds.</returns>
24 double GetAutorepeatInitialTimeout();
25     /// <summary>The initial timeout before the autorepeat event is generated.
26 /// Sets the timeout, in seconds, since the button is pressed until the first <c>repeated</c> signal is emitted. If <c>t</c> is 0.0 or less, there won&apos;t be any delay and the event will be fired the moment the button is pressed.
27 /// 
28 /// See also <see cref="Efl.Ui.IAutorepeat.AutorepeatEnabled"/> and <see cref="Efl.Ui.IAutorepeat.AutorepeatGapTimeout"/>.</summary>
29 /// <param name="t">Timeout in seconds.</param>
30 void SetAutorepeatInitialTimeout(double t);
31     /// <summary>The interval between each generated autorepeat event.
32 /// After the first <c>repeated</c> event is fired, all subsequent ones will follow after a delay of <c>t</c> seconds for each.
33 /// 
34 /// See also <see cref="Efl.Ui.IAutorepeat.AutorepeatInitialTimeout"/>.</summary>
35 /// <returns>Time interval in seconds.</returns>
36 double GetAutorepeatGapTimeout();
37     /// <summary>The interval between each generated autorepeat event.
38 /// After the first <c>repeated</c> event is fired, all subsequent ones will follow after a delay of <c>t</c> seconds for each.
39 /// 
40 /// See also <see cref="Efl.Ui.IAutorepeat.AutorepeatInitialTimeout"/>.</summary>
41 /// <param name="t">Time interval in seconds.</param>
42 void SetAutorepeatGapTimeout(double t);
43     /// <summary>Turn on/off the autorepeat event generated when a button is kept pressed.
44 /// When off, no autorepeat is performed and buttons emit a normal <c>clicked</c> event when they are clicked.</summary>
45 /// <returns>A bool to turn on/off the repeat event generation.</returns>
46 bool GetAutorepeatEnabled();
47     /// <summary>Turn on/off the autorepeat event generated when a button is kept pressed.
48 /// When off, no autorepeat is performed and buttons emit a normal <c>clicked</c> event when they are clicked.</summary>
49 /// <param name="on">A bool to turn on/off the repeat event generation.</param>
50 void SetAutorepeatEnabled(bool on);
51                             /// <summary>Called when a repeated event is emitted</summary>
52     event EventHandler RepeatedEvt;
53     /// <summary>The initial timeout before the autorepeat event is generated.
54     /// Sets the timeout, in seconds, since the button is pressed until the first <c>repeated</c> signal is emitted. If <c>t</c> is 0.0 or less, there won&apos;t be any delay and the event will be fired the moment the button is pressed.
55     /// 
56     /// See also <see cref="Efl.Ui.IAutorepeat.AutorepeatEnabled"/> and <see cref="Efl.Ui.IAutorepeat.AutorepeatGapTimeout"/>.</summary>
57     /// <value>Timeout in seconds.</value>
58     double AutorepeatInitialTimeout {
59         get ;
60         set ;
61     }
62     /// <summary>The interval between each generated autorepeat event.
63     /// After the first <c>repeated</c> event is fired, all subsequent ones will follow after a delay of <c>t</c> seconds for each.
64     /// 
65     /// See also <see cref="Efl.Ui.IAutorepeat.AutorepeatInitialTimeout"/>.</summary>
66     /// <value>Time interval in seconds.</value>
67     double AutorepeatGapTimeout {
68         get ;
69         set ;
70     }
71     /// <summary>Turn on/off the autorepeat event generated when a button is kept pressed.
72     /// When off, no autorepeat is performed and buttons emit a normal <c>clicked</c> event when they are clicked.</summary>
73     /// <value>A bool to turn on/off the repeat event generation.</value>
74     bool AutorepeatEnabled {
75         get ;
76         set ;
77     }
78 }
79 /// <summary>Interface for autorepeating clicks.
80 /// This interface abstracts functions for enabling / disabling this feature. When enabled, keeping a button pressed will continuously emit the <c>repeated</c> event until the button is released. The time it takes until it starts emitting the event is given by <see cref="Efl.Ui.IAutorepeat.AutorepeatInitialTimeout"/>, and the time between each new emission by <see cref="Efl.Ui.IAutorepeat.AutorepeatGapTimeout"/>.</summary>
81 sealed public class IAutorepeatConcrete :
82     Efl.Eo.EoWrapper
83     , IAutorepeat
84     
85 {
86     ///<summary>Pointer to the native class description.</summary>
87     public override System.IntPtr NativeClass
88     {
89         get
90         {
91             if (((object)this).GetType() == typeof(IAutorepeatConcrete))
92             {
93                 return GetEflClassStatic();
94             }
95             else
96             {
97                 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
98             }
99         }
100     }
101
102     /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
103     /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
104     private IAutorepeatConcrete(ConstructingHandle ch) : base(ch)
105     {
106     }
107
108     [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
109         efl_ui_autorepeat_interface_get();
110     /// <summary>Initializes a new instance of the <see cref="IAutorepeat"/> class.
111     /// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
112     /// <param name="wh">The native pointer to be wrapped.</param>
113     private IAutorepeatConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
114     {
115     }
116
117     /// <summary>Called when a repeated event is emitted</summary>
118     public event EventHandler RepeatedEvt
119     {
120         add
121         {
122             lock (eflBindingEventLock)
123             {
124                 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
125                 {
126                     var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
127                     if (obj != null)
128                     {
129                         EventArgs args = EventArgs.Empty;
130                         try
131                         {
132                             value?.Invoke(obj, args);
133                         }
134                         catch (Exception e)
135                         {
136                             Eina.Log.Error(e.ToString());
137                             Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
138                         }
139                     }
140                 };
141
142                 string key = "_EFL_UI_AUTOREPEAT_EVENT_REPEATED";
143                 AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
144             }
145         }
146
147         remove
148         {
149             lock (eflBindingEventLock)
150             {
151                 string key = "_EFL_UI_AUTOREPEAT_EVENT_REPEATED";
152                 RemoveNativeEventHandler(efl.Libs.Efl, key, value);
153             }
154         }
155     }
156     ///<summary>Method to raise event RepeatedEvt.</summary>
157     public void OnRepeatedEvt(EventArgs e)
158     {
159         var key = "_EFL_UI_AUTOREPEAT_EVENT_REPEATED";
160         IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
161         if (desc == IntPtr.Zero)
162         {
163             Eina.Log.Error($"Failed to get native event {key}");
164             return;
165         }
166
167         Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
168     }
169     /// <summary>The initial timeout before the autorepeat event is generated.
170     /// Sets the timeout, in seconds, since the button is pressed until the first <c>repeated</c> signal is emitted. If <c>t</c> is 0.0 or less, there won&apos;t be any delay and the event will be fired the moment the button is pressed.
171     /// 
172     /// See also <see cref="Efl.Ui.IAutorepeat.AutorepeatEnabled"/> and <see cref="Efl.Ui.IAutorepeat.AutorepeatGapTimeout"/>.</summary>
173     /// <returns>Timeout in seconds.</returns>
174     public double GetAutorepeatInitialTimeout() {
175          var _ret_var = Efl.Ui.IAutorepeatConcrete.NativeMethods.efl_ui_autorepeat_initial_timeout_get_ptr.Value.Delegate(this.NativeHandle);
176         Eina.Error.RaiseIfUnhandledException();
177         return _ret_var;
178  }
179     /// <summary>The initial timeout before the autorepeat event is generated.
180     /// Sets the timeout, in seconds, since the button is pressed until the first <c>repeated</c> signal is emitted. If <c>t</c> is 0.0 or less, there won&apos;t be any delay and the event will be fired the moment the button is pressed.
181     /// 
182     /// See also <see cref="Efl.Ui.IAutorepeat.AutorepeatEnabled"/> and <see cref="Efl.Ui.IAutorepeat.AutorepeatGapTimeout"/>.</summary>
183     /// <param name="t">Timeout in seconds.</param>
184     public void SetAutorepeatInitialTimeout(double t) {
185                                  Efl.Ui.IAutorepeatConcrete.NativeMethods.efl_ui_autorepeat_initial_timeout_set_ptr.Value.Delegate(this.NativeHandle,t);
186         Eina.Error.RaiseIfUnhandledException();
187                          }
188     /// <summary>The interval between each generated autorepeat event.
189     /// After the first <c>repeated</c> event is fired, all subsequent ones will follow after a delay of <c>t</c> seconds for each.
190     /// 
191     /// See also <see cref="Efl.Ui.IAutorepeat.AutorepeatInitialTimeout"/>.</summary>
192     /// <returns>Time interval in seconds.</returns>
193     public double GetAutorepeatGapTimeout() {
194          var _ret_var = Efl.Ui.IAutorepeatConcrete.NativeMethods.efl_ui_autorepeat_gap_timeout_get_ptr.Value.Delegate(this.NativeHandle);
195         Eina.Error.RaiseIfUnhandledException();
196         return _ret_var;
197  }
198     /// <summary>The interval between each generated autorepeat event.
199     /// After the first <c>repeated</c> event is fired, all subsequent ones will follow after a delay of <c>t</c> seconds for each.
200     /// 
201     /// See also <see cref="Efl.Ui.IAutorepeat.AutorepeatInitialTimeout"/>.</summary>
202     /// <param name="t">Time interval in seconds.</param>
203     public void SetAutorepeatGapTimeout(double t) {
204                                  Efl.Ui.IAutorepeatConcrete.NativeMethods.efl_ui_autorepeat_gap_timeout_set_ptr.Value.Delegate(this.NativeHandle,t);
205         Eina.Error.RaiseIfUnhandledException();
206                          }
207     /// <summary>Turn on/off the autorepeat event generated when a button is kept pressed.
208     /// When off, no autorepeat is performed and buttons emit a normal <c>clicked</c> event when they are clicked.</summary>
209     /// <returns>A bool to turn on/off the repeat event generation.</returns>
210     public bool GetAutorepeatEnabled() {
211          var _ret_var = Efl.Ui.IAutorepeatConcrete.NativeMethods.efl_ui_autorepeat_enabled_get_ptr.Value.Delegate(this.NativeHandle);
212         Eina.Error.RaiseIfUnhandledException();
213         return _ret_var;
214  }
215     /// <summary>Turn on/off the autorepeat event generated when a button is kept pressed.
216     /// When off, no autorepeat is performed and buttons emit a normal <c>clicked</c> event when they are clicked.</summary>
217     /// <param name="on">A bool to turn on/off the repeat event generation.</param>
218     public void SetAutorepeatEnabled(bool on) {
219                                  Efl.Ui.IAutorepeatConcrete.NativeMethods.efl_ui_autorepeat_enabled_set_ptr.Value.Delegate(this.NativeHandle,on);
220         Eina.Error.RaiseIfUnhandledException();
221                          }
222     /// <summary>The initial timeout before the autorepeat event is generated.
223     /// Sets the timeout, in seconds, since the button is pressed until the first <c>repeated</c> signal is emitted. If <c>t</c> is 0.0 or less, there won&apos;t be any delay and the event will be fired the moment the button is pressed.
224     /// 
225     /// See also <see cref="Efl.Ui.IAutorepeat.AutorepeatEnabled"/> and <see cref="Efl.Ui.IAutorepeat.AutorepeatGapTimeout"/>.</summary>
226     /// <value>Timeout in seconds.</value>
227     public double AutorepeatInitialTimeout {
228         get { return GetAutorepeatInitialTimeout(); }
229         set { SetAutorepeatInitialTimeout(value); }
230     }
231     /// <summary>The interval between each generated autorepeat event.
232     /// After the first <c>repeated</c> event is fired, all subsequent ones will follow after a delay of <c>t</c> seconds for each.
233     /// 
234     /// See also <see cref="Efl.Ui.IAutorepeat.AutorepeatInitialTimeout"/>.</summary>
235     /// <value>Time interval in seconds.</value>
236     public double AutorepeatGapTimeout {
237         get { return GetAutorepeatGapTimeout(); }
238         set { SetAutorepeatGapTimeout(value); }
239     }
240     /// <summary>Turn on/off the autorepeat event generated when a button is kept pressed.
241     /// When off, no autorepeat is performed and buttons emit a normal <c>clicked</c> event when they are clicked.</summary>
242     /// <value>A bool to turn on/off the repeat event generation.</value>
243     public bool AutorepeatEnabled {
244         get { return GetAutorepeatEnabled(); }
245         set { SetAutorepeatEnabled(value); }
246     }
247     private static IntPtr GetEflClassStatic()
248     {
249         return Efl.Ui.IAutorepeatConcrete.efl_ui_autorepeat_interface_get();
250     }
251     /// <summary>Wrapper for native methods and virtual method delegates.
252     /// For internal use by generated code only.</summary>
253     public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
254     {
255         private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule(    efl.Libs.Efl);
256         /// <summary>Gets the list of Eo operations to override.</summary>
257         /// <returns>The list of Eo operations to be overload.</returns>
258         public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
259         {
260             var descs = new System.Collections.Generic.List<Efl_Op_Description>();
261             var methods = Efl.Eo.Globals.GetUserMethods(type);
262
263             if (efl_ui_autorepeat_initial_timeout_get_static_delegate == null)
264             {
265                 efl_ui_autorepeat_initial_timeout_get_static_delegate = new efl_ui_autorepeat_initial_timeout_get_delegate(autorepeat_initial_timeout_get);
266             }
267
268             if (methods.FirstOrDefault(m => m.Name == "GetAutorepeatInitialTimeout") != null)
269             {
270                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_autorepeat_initial_timeout_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_autorepeat_initial_timeout_get_static_delegate) });
271             }
272
273             if (efl_ui_autorepeat_initial_timeout_set_static_delegate == null)
274             {
275                 efl_ui_autorepeat_initial_timeout_set_static_delegate = new efl_ui_autorepeat_initial_timeout_set_delegate(autorepeat_initial_timeout_set);
276             }
277
278             if (methods.FirstOrDefault(m => m.Name == "SetAutorepeatInitialTimeout") != null)
279             {
280                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_autorepeat_initial_timeout_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_autorepeat_initial_timeout_set_static_delegate) });
281             }
282
283             if (efl_ui_autorepeat_gap_timeout_get_static_delegate == null)
284             {
285                 efl_ui_autorepeat_gap_timeout_get_static_delegate = new efl_ui_autorepeat_gap_timeout_get_delegate(autorepeat_gap_timeout_get);
286             }
287
288             if (methods.FirstOrDefault(m => m.Name == "GetAutorepeatGapTimeout") != null)
289             {
290                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_autorepeat_gap_timeout_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_autorepeat_gap_timeout_get_static_delegate) });
291             }
292
293             if (efl_ui_autorepeat_gap_timeout_set_static_delegate == null)
294             {
295                 efl_ui_autorepeat_gap_timeout_set_static_delegate = new efl_ui_autorepeat_gap_timeout_set_delegate(autorepeat_gap_timeout_set);
296             }
297
298             if (methods.FirstOrDefault(m => m.Name == "SetAutorepeatGapTimeout") != null)
299             {
300                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_autorepeat_gap_timeout_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_autorepeat_gap_timeout_set_static_delegate) });
301             }
302
303             if (efl_ui_autorepeat_enabled_get_static_delegate == null)
304             {
305                 efl_ui_autorepeat_enabled_get_static_delegate = new efl_ui_autorepeat_enabled_get_delegate(autorepeat_enabled_get);
306             }
307
308             if (methods.FirstOrDefault(m => m.Name == "GetAutorepeatEnabled") != null)
309             {
310                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_autorepeat_enabled_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_autorepeat_enabled_get_static_delegate) });
311             }
312
313             if (efl_ui_autorepeat_enabled_set_static_delegate == null)
314             {
315                 efl_ui_autorepeat_enabled_set_static_delegate = new efl_ui_autorepeat_enabled_set_delegate(autorepeat_enabled_set);
316             }
317
318             if (methods.FirstOrDefault(m => m.Name == "SetAutorepeatEnabled") != null)
319             {
320                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_autorepeat_enabled_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_autorepeat_enabled_set_static_delegate) });
321             }
322
323             return descs;
324         }
325         /// <summary>Returns the Eo class for the native methods of this class.</summary>
326         /// <returns>The native class pointer.</returns>
327         public override IntPtr GetEflClass()
328         {
329             return Efl.Ui.IAutorepeatConcrete.efl_ui_autorepeat_interface_get();
330         }
331
332         #pragma warning disable CA1707, CS1591, SA1300, SA1600
333
334         
335         private delegate double efl_ui_autorepeat_initial_timeout_get_delegate(System.IntPtr obj, System.IntPtr pd);
336
337         
338         public delegate double efl_ui_autorepeat_initial_timeout_get_api_delegate(System.IntPtr obj);
339
340         public static Efl.Eo.FunctionWrapper<efl_ui_autorepeat_initial_timeout_get_api_delegate> efl_ui_autorepeat_initial_timeout_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_autorepeat_initial_timeout_get_api_delegate>(Module, "efl_ui_autorepeat_initial_timeout_get");
341
342         private static double autorepeat_initial_timeout_get(System.IntPtr obj, System.IntPtr pd)
343         {
344             Eina.Log.Debug("function efl_ui_autorepeat_initial_timeout_get was called");
345             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
346             if (ws != null)
347             {
348             double _ret_var = default(double);
349                 try
350                 {
351                     _ret_var = ((IAutorepeat)ws.Target).GetAutorepeatInitialTimeout();
352                 }
353                 catch (Exception e)
354                 {
355                     Eina.Log.Warning($"Callback error: {e.ToString()}");
356                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
357                 }
358
359         return _ret_var;
360
361             }
362             else
363             {
364                 return efl_ui_autorepeat_initial_timeout_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
365             }
366         }
367
368         private static efl_ui_autorepeat_initial_timeout_get_delegate efl_ui_autorepeat_initial_timeout_get_static_delegate;
369
370         
371         private delegate void efl_ui_autorepeat_initial_timeout_set_delegate(System.IntPtr obj, System.IntPtr pd,  double t);
372
373         
374         public delegate void efl_ui_autorepeat_initial_timeout_set_api_delegate(System.IntPtr obj,  double t);
375
376         public static Efl.Eo.FunctionWrapper<efl_ui_autorepeat_initial_timeout_set_api_delegate> efl_ui_autorepeat_initial_timeout_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_autorepeat_initial_timeout_set_api_delegate>(Module, "efl_ui_autorepeat_initial_timeout_set");
377
378         private static void autorepeat_initial_timeout_set(System.IntPtr obj, System.IntPtr pd, double t)
379         {
380             Eina.Log.Debug("function efl_ui_autorepeat_initial_timeout_set was called");
381             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
382             if (ws != null)
383             {
384                                     
385                 try
386                 {
387                     ((IAutorepeat)ws.Target).SetAutorepeatInitialTimeout(t);
388                 }
389                 catch (Exception e)
390                 {
391                     Eina.Log.Warning($"Callback error: {e.ToString()}");
392                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
393                 }
394
395                         
396             }
397             else
398             {
399                 efl_ui_autorepeat_initial_timeout_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), t);
400             }
401         }
402
403         private static efl_ui_autorepeat_initial_timeout_set_delegate efl_ui_autorepeat_initial_timeout_set_static_delegate;
404
405         
406         private delegate double efl_ui_autorepeat_gap_timeout_get_delegate(System.IntPtr obj, System.IntPtr pd);
407
408         
409         public delegate double efl_ui_autorepeat_gap_timeout_get_api_delegate(System.IntPtr obj);
410
411         public static Efl.Eo.FunctionWrapper<efl_ui_autorepeat_gap_timeout_get_api_delegate> efl_ui_autorepeat_gap_timeout_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_autorepeat_gap_timeout_get_api_delegate>(Module, "efl_ui_autorepeat_gap_timeout_get");
412
413         private static double autorepeat_gap_timeout_get(System.IntPtr obj, System.IntPtr pd)
414         {
415             Eina.Log.Debug("function efl_ui_autorepeat_gap_timeout_get was called");
416             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
417             if (ws != null)
418             {
419             double _ret_var = default(double);
420                 try
421                 {
422                     _ret_var = ((IAutorepeat)ws.Target).GetAutorepeatGapTimeout();
423                 }
424                 catch (Exception e)
425                 {
426                     Eina.Log.Warning($"Callback error: {e.ToString()}");
427                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
428                 }
429
430         return _ret_var;
431
432             }
433             else
434             {
435                 return efl_ui_autorepeat_gap_timeout_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
436             }
437         }
438
439         private static efl_ui_autorepeat_gap_timeout_get_delegate efl_ui_autorepeat_gap_timeout_get_static_delegate;
440
441         
442         private delegate void efl_ui_autorepeat_gap_timeout_set_delegate(System.IntPtr obj, System.IntPtr pd,  double t);
443
444         
445         public delegate void efl_ui_autorepeat_gap_timeout_set_api_delegate(System.IntPtr obj,  double t);
446
447         public static Efl.Eo.FunctionWrapper<efl_ui_autorepeat_gap_timeout_set_api_delegate> efl_ui_autorepeat_gap_timeout_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_autorepeat_gap_timeout_set_api_delegate>(Module, "efl_ui_autorepeat_gap_timeout_set");
448
449         private static void autorepeat_gap_timeout_set(System.IntPtr obj, System.IntPtr pd, double t)
450         {
451             Eina.Log.Debug("function efl_ui_autorepeat_gap_timeout_set was called");
452             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
453             if (ws != null)
454             {
455                                     
456                 try
457                 {
458                     ((IAutorepeat)ws.Target).SetAutorepeatGapTimeout(t);
459                 }
460                 catch (Exception e)
461                 {
462                     Eina.Log.Warning($"Callback error: {e.ToString()}");
463                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
464                 }
465
466                         
467             }
468             else
469             {
470                 efl_ui_autorepeat_gap_timeout_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), t);
471             }
472         }
473
474         private static efl_ui_autorepeat_gap_timeout_set_delegate efl_ui_autorepeat_gap_timeout_set_static_delegate;
475
476         [return: MarshalAs(UnmanagedType.U1)]
477         private delegate bool efl_ui_autorepeat_enabled_get_delegate(System.IntPtr obj, System.IntPtr pd);
478
479         [return: MarshalAs(UnmanagedType.U1)]
480         public delegate bool efl_ui_autorepeat_enabled_get_api_delegate(System.IntPtr obj);
481
482         public static Efl.Eo.FunctionWrapper<efl_ui_autorepeat_enabled_get_api_delegate> efl_ui_autorepeat_enabled_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_autorepeat_enabled_get_api_delegate>(Module, "efl_ui_autorepeat_enabled_get");
483
484         private static bool autorepeat_enabled_get(System.IntPtr obj, System.IntPtr pd)
485         {
486             Eina.Log.Debug("function efl_ui_autorepeat_enabled_get was called");
487             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
488             if (ws != null)
489             {
490             bool _ret_var = default(bool);
491                 try
492                 {
493                     _ret_var = ((IAutorepeat)ws.Target).GetAutorepeatEnabled();
494                 }
495                 catch (Exception e)
496                 {
497                     Eina.Log.Warning($"Callback error: {e.ToString()}");
498                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
499                 }
500
501         return _ret_var;
502
503             }
504             else
505             {
506                 return efl_ui_autorepeat_enabled_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
507             }
508         }
509
510         private static efl_ui_autorepeat_enabled_get_delegate efl_ui_autorepeat_enabled_get_static_delegate;
511
512         
513         private delegate void efl_ui_autorepeat_enabled_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool on);
514
515         
516         public delegate void efl_ui_autorepeat_enabled_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool on);
517
518         public static Efl.Eo.FunctionWrapper<efl_ui_autorepeat_enabled_set_api_delegate> efl_ui_autorepeat_enabled_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_autorepeat_enabled_set_api_delegate>(Module, "efl_ui_autorepeat_enabled_set");
519
520         private static void autorepeat_enabled_set(System.IntPtr obj, System.IntPtr pd, bool on)
521         {
522             Eina.Log.Debug("function efl_ui_autorepeat_enabled_set was called");
523             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
524             if (ws != null)
525             {
526                                     
527                 try
528                 {
529                     ((IAutorepeat)ws.Target).SetAutorepeatEnabled(on);
530                 }
531                 catch (Exception e)
532                 {
533                     Eina.Log.Warning($"Callback error: {e.ToString()}");
534                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
535                 }
536
537                         
538             }
539             else
540             {
541                 efl_ui_autorepeat_enabled_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), on);
542             }
543         }
544
545         private static efl_ui_autorepeat_enabled_set_delegate efl_ui_autorepeat_enabled_set_static_delegate;
546
547         #pragma warning restore CA1707, CS1591, SA1300, SA1600
548
549 }
550 }
551 }
552
553 }
554