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