summaryrefslogtreecommitdiff
path: root/src/bindings/mono/eo_mono
diff options
context:
space:
mode:
authorYeongjong Lee <yj34.lee@samsung.com>2019-09-10 23:41:42 -0300
committerLauro Moura <lauromoura@expertisesolutions.com.br>2019-09-10 23:45:34 -0300
commitd7006f6a09e60d4496488a24732bf4ad047e70d2 (patch)
tree59ed37178b88b8bf005f928695ee94801ff43936 /src/bindings/mono/eo_mono
parent63fd44ef16723cfe52d4da196691b21483cf4aa4 (diff)
csharp: remove unused delegate and struct
Summary: cleanup workaround.cs Test Plan: ninja test Reviewers: lauromoura, felipealmeida Reviewed By: lauromoura Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9895
Diffstat (limited to 'src/bindings/mono/eo_mono')
-rw-r--r--src/bindings/mono/eo_mono/workaround.cs104
1 files changed, 0 insertions, 104 deletions
diff --git a/src/bindings/mono/eo_mono/workaround.cs b/src/bindings/mono/eo_mono/workaround.cs
index 49a6e1e..a8079e4 100644
--- a/src/bindings/mono/eo_mono/workaround.cs
+++ b/src/bindings/mono/eo_mono/workaround.cs
@@ -44,30 +44,6 @@ public struct Efl_Object_Ops
44 public UIntPtr count; 44 public UIntPtr count;
45}; 45};
46 46
47#pragma warning disable 0169
48
49public struct EvasObjectBoxLayout
50{
51 IntPtr o;
52 IntPtr priv;
53 IntPtr user_data;
54};
55
56[StructLayout(LayoutKind.Sequential, CharSet=CharSet.Ansi)]
57public struct EvasObjectBoxData
58{
59}
60
61public struct EvasObjectBoxOption
62{
63 IntPtr obj;
64 [MarshalAsAttribute(UnmanagedType.U1)] bool max_reached;
65 [MarshalAsAttribute(UnmanagedType.U1)] bool min_reached;
66 Evas.Coord alloc_size;
67};
68
69#pragma warning restore 0169
70
71namespace Efl 47namespace Efl
72{ 48{
73 49
@@ -212,8 +188,6 @@ public struct TextAnnotateAnnotation
212 [MarshalAsAttribute(UnmanagedType.U1)]bool is_item; 188 [MarshalAsAttribute(UnmanagedType.U1)]bool is_item;
213} 189}
214 190
215public delegate void SignalCb(IntPtr data, IntPtr obj, IntPtr emission, IntPtr source);
216
217namespace Access 191namespace Access
218{ 192{
219 193
@@ -229,85 +203,7 @@ public struct ActionData
229 203
230} // namespace Efl 204} // namespace Efl
231 205
232namespace Evas
233{
234
235public struct Coord
236{
237 int val;
238
239 public Coord(int value)
240 {
241 val = value;
242 }
243
244 static public implicit operator Coord(int val)
245 {
246 return new Coord(val);
247 }
248
249 static public implicit operator int(Coord coord)
250 {
251 return coord.val;
252 }
253}
254
255/* Copied from Evas_Legacy.h */
256public enum TextStyleType
257{
258 ///<summary> plain, standard text.</summary>
259 Plain = 0,
260 ///<summary> text with shadow underneath.</summary>
261 Shadow,
262 ///<summary> text with an outline.</summary>
263 Outline,
264 ///<summary> text with a soft outline.</summary>
265 SoftOutline,
266 ///<summary> text with a glow effect.</summary>
267 Glow,
268 ///<summary> text with both outline and shadow effects.</summary>
269 OutlineShadow,
270 ///<summary> text with (far) shadow underneath.</summary>
271 FarShadow,
272 ///<summary> text with outline and soft shadow effects combined.</summary>
273 OutlineSoftShadow,
274 ///<summary> text with (soft) shadow underneath.</summary>
275 SoftShadow,
276 ///<summary> text with (far soft) shadow underneath.</summary>
277 FarSoftShadow,
278
279 // Shadow direction modifiers
280 ///<summary> shadow growing to bottom right.</summary>
281 ShadowDirectionBottomRight = 0 /* 0 >> 4 */,
282 ///<summary> shadow growing to the bottom.</summary>
283 ShadowDirectionBottom = 16 /* 1 >> 4 */,
284 ///<summary> shadow growing to bottom left.</summary>
285 ShadowDirectionBottomLeft = 32 /* 2 >> 4 */,
286 ///<summary> shadow growing to the left.</summary>
287 ShadowDirectionLeft = 48 /* 3 >> 4 */,
288 ///<summary> shadow growing to top left.</summary>
289 ShadowDirectionTopLeft = 64 /* 4 >> 4 */,
290 ///<summary> shadow growing to the top.</summary>
291 ShadowDirectionTop = 80 /* 5 >> 4 */,
292 ///<summary> shadow growing to top right.</summary>
293 ShadowDirectionTopRight = 96 /* 6 >> 4 */,
294 ///<summary> shadow growing to the right.</summary>
295 ShadowDirectionRight = 112 /* 7 >> 4 */
296};
297
298} // namespace Evas
299
300// Global delegates 206// Global delegates
301public delegate int Eina_Compare_Cb(IntPtr a, IntPtr b); 207public delegate int Eina_Compare_Cb(IntPtr a, IntPtr b);
302public delegate void ElmInterfaceScrollableCb(IntPtr obj, IntPtr data);
303public delegate void ElmInterfaceScrollableMinLimitCb(IntPtr obj,
304 [MarshalAsAttribute(UnmanagedType.U1)]bool w,
305 [MarshalAsAttribute(UnmanagedType.U1)]bool h);
306public delegate void ElmInterfaceScrollableResizeCb(IntPtr obj, Evas.Coord w, Evas.Coord h);
307[return: MarshalAsAttribute(UnmanagedType.U1)]
308public delegate bool ElmMultibuttonentryItemFilterCb(IntPtr obj, IntPtr item_label, IntPtr item_data, IntPtr data);
309public delegate IntPtr ElmMultibuttonentryFormatCb(int count, IntPtr data);
310public delegate void EinaFreeCb(IntPtr data); 208public delegate void EinaFreeCb(IntPtr data);
311public delegate void EvasSmartCb(IntPtr data, IntPtr obj, IntPtr event_info); 209public delegate void EvasSmartCb(IntPtr data, IntPtr obj, IntPtr event_info);
312public delegate void ElmObjectItemSignalCb(IntPtr data, IntPtr item, IntPtr emission, IntPtr source);
313public delegate void ElmTooltipItemContentCb(IntPtr data, IntPtr obj, IntPtr tooltip, IntPtr item);