[EflSharp] Update Circle and efl cs files (#819)
[platform/core/csapi/tizenfx.git] / internals / src / EflSharp / EflSharp / efl / efl_ui_list_default_item.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>List Default Item class. This class need to be sub object of list widget. text and contents can be appliable by efl_text, efl_content or efl_part APIs.</summary>
13 [Efl.Ui.ListDefaultItem.NativeMethods]
14 public class ListDefaultItem : Efl.Ui.ListItem, Efl.Eo.IWrapper,Efl.IContent,Efl.IText,Efl.ITextMarkup
15 {
16     ///<summary>Pointer to the native class description.</summary>
17     public override System.IntPtr NativeClass
18     {
19         get
20         {
21             if (((object)this).GetType() == typeof(ListDefaultItem))
22             {
23                 return GetEflClassStatic();
24             }
25             else
26             {
27                 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
28             }
29         }
30     }
31
32     [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
33         efl_ui_list_default_item_class_get();
34     /// <summary>Initializes a new instance of the <see cref="ListDefaultItem"/> class.</summary>
35     /// <param name="parent">Parent instance.</param>
36     /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
37     public ListDefaultItem(Efl.Object parent
38             , System.String style = null) : base(efl_ui_list_default_item_class_get(), typeof(ListDefaultItem), parent)
39     {
40         if (Efl.Eo.Globals.ParamHelperCheck(style))
41         {
42             SetStyle(Efl.Eo.Globals.GetParamHelper(style));
43         }
44
45         FinishInstantiation();
46     }
47
48     /// <summary>Initializes a new instance of the <see cref="ListDefaultItem"/> class.
49     /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
50     /// <param name="raw">The native pointer to be wrapped.</param>
51     protected ListDefaultItem(System.IntPtr raw) : base(raw)
52     {
53             }
54
55     /// <summary>Initializes a new instance of the <see cref="ListDefaultItem"/> class.
56     /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
57     /// <param name="baseKlass">The pointer to the base native Eo class.</param>
58     /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
59     /// <param name="parent">The Efl.Object parent of this instance.</param>
60     protected ListDefaultItem(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
61     {
62     }
63
64     /// <summary>Verifies if the given object is equal to this one.</summary>
65     /// <param name="instance">The object to compare to.</param>
66     /// <returns>True if both objects point to the same native object.</returns>
67     public override bool Equals(object instance)
68     {
69         var other = instance as Efl.Object;
70         if (other == null)
71         {
72             return false;
73         }
74         return this.NativeHandle == other.NativeHandle;
75     }
76
77     /// <summary>Gets the hash code for this object based on the native pointer it points to.</summary>
78     /// <returns>The value of the pointer, to be used as the hash code of this object.</returns>
79     public override int GetHashCode()
80     {
81         return this.NativeHandle.ToInt32();
82     }
83
84     /// <summary>Turns the native pointer into a string representation.</summary>
85     /// <returns>A string with the type and the native pointer for this object.</returns>
86     public override String ToString()
87     {
88         return $"{this.GetType().Name}@[{this.NativeHandle.ToInt32():x}]";
89     }
90
91     /// <summary>Sent after the content is set or unset using the current content object.
92     /// (Since EFL 1.22)</summary>
93     public event EventHandler<Efl.IContentContentChangedEvt_Args> ContentChangedEvt
94     {
95         add
96         {
97             lock (eventLock)
98             {
99                 var wRef = new WeakReference(this);
100                 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
101                 {
102                     var obj = wRef.Target as Efl.Eo.IWrapper;
103                     if (obj != null)
104                     {
105                                                 Efl.IContentContentChangedEvt_Args args = new Efl.IContentContentChangedEvt_Args();
106                         args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Gfx.IEntityConcrete);
107                         try
108                         {
109                             value?.Invoke(obj, args);
110                         }
111                         catch (Exception e)
112                         {
113                             Eina.Log.Error(e.ToString());
114                             Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
115                         }
116                     }
117                 };
118
119                 string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
120                 AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
121             }
122         }
123
124         remove
125         {
126             lock (eventLock)
127             {
128                 string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
129                 RemoveNativeEventHandler(efl.Libs.Efl, key, value);
130             }
131         }
132     }
133     ///<summary>Method to raise event ContentChangedEvt.</summary>
134     public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e)
135     {
136         var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
137         IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
138         if (desc == IntPtr.Zero)
139         {
140             Eina.Log.Error($"Failed to get native event {key}");
141             return;
142         }
143
144         IntPtr info = e.arg.NativeHandle;
145         Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
146     }
147     /// <summary>Sub-object currently set as this object&apos;s single content.
148     /// If it is set multiple times, previous sub-objects are removed first. Therefore, if an invalid <c>content</c> is set the object will become empty (it will have no sub-object).
149     /// (Since EFL 1.22)</summary>
150     /// <returns>The sub-object.</returns>
151     virtual public Efl.Gfx.IEntity GetContent() {
152          var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
153         Eina.Error.RaiseIfUnhandledException();
154         return _ret_var;
155  }
156     /// <summary>Sub-object currently set as this object&apos;s single content.
157     /// If it is set multiple times, previous sub-objects are removed first. Therefore, if an invalid <c>content</c> is set the object will become empty (it will have no sub-object).
158     /// (Since EFL 1.22)</summary>
159     /// <param name="content">The sub-object.</param>
160     /// <returns><c>true</c> if <c>content</c> was successfully swallowed.</returns>
161     virtual public bool SetContent(Efl.Gfx.IEntity content) {
162                                  var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),content);
163         Eina.Error.RaiseIfUnhandledException();
164                         return _ret_var;
165  }
166     /// <summary>Remove the sub-object currently set as content of this object and return it. This object becomes empty.
167     /// (Since EFL 1.22)</summary>
168     /// <returns>Unswallowed object</returns>
169     virtual public Efl.Gfx.IEntity UnsetContent() {
170          var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
171         Eina.Error.RaiseIfUnhandledException();
172         return _ret_var;
173  }
174     /// <summary>Retrieves the text string currently being displayed by the given text object.
175     /// Do not free() the return value.
176     /// 
177     /// See also <see cref="Efl.IText.GetText"/>.
178     /// (Since EFL 1.22)</summary>
179     /// <returns>Text string to display on it.</returns>
180     virtual public System.String GetText() {
181          var _ret_var = Efl.ITextConcrete.NativeMethods.efl_text_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
182         Eina.Error.RaiseIfUnhandledException();
183         return _ret_var;
184  }
185     /// <summary>Sets the text string to be displayed by the given text object.
186     /// See also <see cref="Efl.IText.GetText"/>.
187     /// (Since EFL 1.22)</summary>
188     /// <param name="text">Text string to display on it.</param>
189     virtual public void SetText(System.String text) {
190                                  Efl.ITextConcrete.NativeMethods.efl_text_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),text);
191         Eina.Error.RaiseIfUnhandledException();
192                          }
193     /// <summary>Markup property</summary>
194     /// <returns>The markup-text representation set to this text.</returns>
195     virtual public System.String GetMarkup() {
196          var _ret_var = Efl.ITextMarkupConcrete.NativeMethods.efl_text_markup_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
197         Eina.Error.RaiseIfUnhandledException();
198         return _ret_var;
199  }
200     /// <summary>Markup property</summary>
201     /// <param name="markup">The markup-text representation set to this text.</param>
202     virtual public void SetMarkup(System.String markup) {
203                                  Efl.ITextMarkupConcrete.NativeMethods.efl_text_markup_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),markup);
204         Eina.Error.RaiseIfUnhandledException();
205                          }
206     /// <summary>Sub-object currently set as this object&apos;s single content.
207 /// If it is set multiple times, previous sub-objects are removed first. Therefore, if an invalid <c>content</c> is set the object will become empty (it will have no sub-object).
208 /// (Since EFL 1.22)</summary>
209 /// <value>The sub-object.</value>
210     public Efl.Gfx.IEntity Content {
211         get { return GetContent(); }
212         set { SetContent(value); }
213     }
214     /// <summary>Markup property</summary>
215 /// <value>The markup-text representation set to this text.</value>
216     public System.String Markup {
217         get { return GetMarkup(); }
218         set { SetMarkup(value); }
219     }
220     private static IntPtr GetEflClassStatic()
221     {
222         return Efl.Ui.ListDefaultItem.efl_ui_list_default_item_class_get();
223     }
224     /// <summary>Wrapper for native methods and virtual method delegates.
225     /// For internal use by generated code only.</summary>
226     public new class NativeMethods : Efl.Ui.ListItem.NativeMethods
227     {
228         private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule(    efl.Libs.Elementary);
229         /// <summary>Gets the list of Eo operations to override.</summary>
230         /// <returns>The list of Eo operations to be overload.</returns>
231         public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
232         {
233             var descs = new System.Collections.Generic.List<Efl_Op_Description>();
234             var methods = Efl.Eo.Globals.GetUserMethods(type);
235
236             if (efl_content_get_static_delegate == null)
237             {
238                 efl_content_get_static_delegate = new efl_content_get_delegate(content_get);
239             }
240
241             if (methods.FirstOrDefault(m => m.Name == "GetContent") != null)
242             {
243                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_get"), func = Marshal.GetFunctionPointerForDelegate(efl_content_get_static_delegate) });
244             }
245
246             if (efl_content_set_static_delegate == null)
247             {
248                 efl_content_set_static_delegate = new efl_content_set_delegate(content_set);
249             }
250
251             if (methods.FirstOrDefault(m => m.Name == "SetContent") != null)
252             {
253                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_set"), func = Marshal.GetFunctionPointerForDelegate(efl_content_set_static_delegate) });
254             }
255
256             if (efl_content_unset_static_delegate == null)
257             {
258                 efl_content_unset_static_delegate = new efl_content_unset_delegate(content_unset);
259             }
260
261             if (methods.FirstOrDefault(m => m.Name == "UnsetContent") != null)
262             {
263                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_unset"), func = Marshal.GetFunctionPointerForDelegate(efl_content_unset_static_delegate) });
264             }
265
266             if (efl_text_get_static_delegate == null)
267             {
268                 efl_text_get_static_delegate = new efl_text_get_delegate(text_get);
269             }
270
271             if (methods.FirstOrDefault(m => m.Name == "GetText") != null)
272             {
273                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_get_static_delegate) });
274             }
275
276             if (efl_text_set_static_delegate == null)
277             {
278                 efl_text_set_static_delegate = new efl_text_set_delegate(text_set);
279             }
280
281             if (methods.FirstOrDefault(m => m.Name == "SetText") != null)
282             {
283                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_set"), func = Marshal.GetFunctionPointerForDelegate(efl_text_set_static_delegate) });
284             }
285
286             if (efl_text_markup_get_static_delegate == null)
287             {
288                 efl_text_markup_get_static_delegate = new efl_text_markup_get_delegate(markup_get);
289             }
290
291             if (methods.FirstOrDefault(m => m.Name == "GetMarkup") != null)
292             {
293                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_markup_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_markup_get_static_delegate) });
294             }
295
296             if (efl_text_markup_set_static_delegate == null)
297             {
298                 efl_text_markup_set_static_delegate = new efl_text_markup_set_delegate(markup_set);
299             }
300
301             if (methods.FirstOrDefault(m => m.Name == "SetMarkup") != null)
302             {
303                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_markup_set"), func = Marshal.GetFunctionPointerForDelegate(efl_text_markup_set_static_delegate) });
304             }
305
306             descs.AddRange(base.GetEoOps(type));
307             return descs;
308         }
309         /// <summary>Returns the Eo class for the native methods of this class.</summary>
310         /// <returns>The native class pointer.</returns>
311         public override IntPtr GetEflClass()
312         {
313             return Efl.Ui.ListDefaultItem.efl_ui_list_default_item_class_get();
314         }
315
316         #pragma warning disable CA1707, SA1300, SA1600
317
318         [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
319         private delegate Efl.Gfx.IEntity efl_content_get_delegate(System.IntPtr obj, System.IntPtr pd);
320
321         [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
322         public delegate Efl.Gfx.IEntity efl_content_get_api_delegate(System.IntPtr obj);
323
324         public static Efl.Eo.FunctionWrapper<efl_content_get_api_delegate> efl_content_get_ptr = new Efl.Eo.FunctionWrapper<efl_content_get_api_delegate>(Module, "efl_content_get");
325
326         private static Efl.Gfx.IEntity content_get(System.IntPtr obj, System.IntPtr pd)
327         {
328             Eina.Log.Debug("function efl_content_get was called");
329             Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
330             if (wrapper != null)
331             {
332             Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity);
333                 try
334                 {
335                     _ret_var = ((ListDefaultItem)wrapper).GetContent();
336                 }
337                 catch (Exception e)
338                 {
339                     Eina.Log.Warning($"Callback error: {e.ToString()}");
340                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
341                 }
342
343         return _ret_var;
344
345             }
346             else
347             {
348                 return efl_content_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
349             }
350         }
351
352         private static efl_content_get_delegate efl_content_get_static_delegate;
353
354         [return: MarshalAs(UnmanagedType.U1)]
355         private delegate bool efl_content_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity content);
356
357         [return: MarshalAs(UnmanagedType.U1)]
358         public delegate bool efl_content_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity content);
359
360         public static Efl.Eo.FunctionWrapper<efl_content_set_api_delegate> efl_content_set_ptr = new Efl.Eo.FunctionWrapper<efl_content_set_api_delegate>(Module, "efl_content_set");
361
362         private static bool content_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity content)
363         {
364             Eina.Log.Debug("function efl_content_set was called");
365             Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
366             if (wrapper != null)
367             {
368                                     bool _ret_var = default(bool);
369                 try
370                 {
371                     _ret_var = ((ListDefaultItem)wrapper).SetContent(content);
372                 }
373                 catch (Exception e)
374                 {
375                     Eina.Log.Warning($"Callback error: {e.ToString()}");
376                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
377                 }
378
379                         return _ret_var;
380
381             }
382             else
383             {
384                 return efl_content_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), content);
385             }
386         }
387
388         private static efl_content_set_delegate efl_content_set_static_delegate;
389
390         [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
391         private delegate Efl.Gfx.IEntity efl_content_unset_delegate(System.IntPtr obj, System.IntPtr pd);
392
393         [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
394         public delegate Efl.Gfx.IEntity efl_content_unset_api_delegate(System.IntPtr obj);
395
396         public static Efl.Eo.FunctionWrapper<efl_content_unset_api_delegate> efl_content_unset_ptr = new Efl.Eo.FunctionWrapper<efl_content_unset_api_delegate>(Module, "efl_content_unset");
397
398         private static Efl.Gfx.IEntity content_unset(System.IntPtr obj, System.IntPtr pd)
399         {
400             Eina.Log.Debug("function efl_content_unset was called");
401             Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
402             if (wrapper != null)
403             {
404             Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity);
405                 try
406                 {
407                     _ret_var = ((ListDefaultItem)wrapper).UnsetContent();
408                 }
409                 catch (Exception e)
410                 {
411                     Eina.Log.Warning($"Callback error: {e.ToString()}");
412                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
413                 }
414
415         return _ret_var;
416
417             }
418             else
419             {
420                 return efl_content_unset_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
421             }
422         }
423
424         private static efl_content_unset_delegate efl_content_unset_static_delegate;
425
426         [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
427         private delegate System.String efl_text_get_delegate(System.IntPtr obj, System.IntPtr pd);
428
429         [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
430         public delegate System.String efl_text_get_api_delegate(System.IntPtr obj);
431
432         public static Efl.Eo.FunctionWrapper<efl_text_get_api_delegate> efl_text_get_ptr = new Efl.Eo.FunctionWrapper<efl_text_get_api_delegate>(Module, "efl_text_get");
433
434         private static System.String text_get(System.IntPtr obj, System.IntPtr pd)
435         {
436             Eina.Log.Debug("function efl_text_get was called");
437             Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
438             if (wrapper != null)
439             {
440             System.String _ret_var = default(System.String);
441                 try
442                 {
443                     _ret_var = ((ListDefaultItem)wrapper).GetText();
444                 }
445                 catch (Exception e)
446                 {
447                     Eina.Log.Warning($"Callback error: {e.ToString()}");
448                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
449                 }
450
451         return _ret_var;
452
453             }
454             else
455             {
456                 return efl_text_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
457             }
458         }
459
460         private static efl_text_get_delegate efl_text_get_static_delegate;
461
462         
463         private delegate void efl_text_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String text);
464
465         
466         public delegate void efl_text_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String text);
467
468         public static Efl.Eo.FunctionWrapper<efl_text_set_api_delegate> efl_text_set_ptr = new Efl.Eo.FunctionWrapper<efl_text_set_api_delegate>(Module, "efl_text_set");
469
470         private static void text_set(System.IntPtr obj, System.IntPtr pd, System.String text)
471         {
472             Eina.Log.Debug("function efl_text_set was called");
473             Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
474             if (wrapper != null)
475             {
476                                     
477                 try
478                 {
479                     ((ListDefaultItem)wrapper).SetText(text);
480                 }
481                 catch (Exception e)
482                 {
483                     Eina.Log.Warning($"Callback error: {e.ToString()}");
484                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
485                 }
486
487                         
488             }
489             else
490             {
491                 efl_text_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), text);
492             }
493         }
494
495         private static efl_text_set_delegate efl_text_set_static_delegate;
496
497         [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
498         private delegate System.String efl_text_markup_get_delegate(System.IntPtr obj, System.IntPtr pd);
499
500         [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
501         public delegate System.String efl_text_markup_get_api_delegate(System.IntPtr obj);
502
503         public static Efl.Eo.FunctionWrapper<efl_text_markup_get_api_delegate> efl_text_markup_get_ptr = new Efl.Eo.FunctionWrapper<efl_text_markup_get_api_delegate>(Module, "efl_text_markup_get");
504
505         private static System.String markup_get(System.IntPtr obj, System.IntPtr pd)
506         {
507             Eina.Log.Debug("function efl_text_markup_get was called");
508             Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
509             if (wrapper != null)
510             {
511             System.String _ret_var = default(System.String);
512                 try
513                 {
514                     _ret_var = ((ListDefaultItem)wrapper).GetMarkup();
515                 }
516                 catch (Exception e)
517                 {
518                     Eina.Log.Warning($"Callback error: {e.ToString()}");
519                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
520                 }
521
522         return _ret_var;
523
524             }
525             else
526             {
527                 return efl_text_markup_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
528             }
529         }
530
531         private static efl_text_markup_get_delegate efl_text_markup_get_static_delegate;
532
533         
534         private delegate void efl_text_markup_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String markup);
535
536         
537         public delegate void efl_text_markup_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String markup);
538
539         public static Efl.Eo.FunctionWrapper<efl_text_markup_set_api_delegate> efl_text_markup_set_ptr = new Efl.Eo.FunctionWrapper<efl_text_markup_set_api_delegate>(Module, "efl_text_markup_set");
540
541         private static void markup_set(System.IntPtr obj, System.IntPtr pd, System.String markup)
542         {
543             Eina.Log.Debug("function efl_text_markup_set was called");
544             Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
545             if (wrapper != null)
546             {
547                                     
548                 try
549                 {
550                     ((ListDefaultItem)wrapper).SetMarkup(markup);
551                 }
552                 catch (Exception e)
553                 {
554                     Eina.Log.Warning($"Callback error: {e.ToString()}");
555                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
556                 }
557
558                         
559             }
560             else
561             {
562                 efl_text_markup_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), markup);
563             }
564         }
565
566         private static efl_text_markup_set_delegate efl_text_markup_set_static_delegate;
567
568         #pragma warning restore CA1707, SA1300, SA1600
569
570 }
571 }
572 }
573
574 }
575