diff options
author | Yeongjong Lee <yj34.lee@samsung.com> | 2019-09-10 23:41:42 -0300 |
---|---|---|
committer | Lauro Moura <lauromoura@expertisesolutions.com.br> | 2019-09-10 23:45:34 -0300 |
commit | d7006f6a09e60d4496488a24732bf4ad047e70d2 (patch) | |
tree | 59ed37178b88b8bf005f928695ee94801ff43936 | |
parent | 63fd44ef16723cfe52d4da196691b21483cf4aa4 (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
-rw-r--r-- | src/bindings/mono/eo_mono/workaround.cs | 104 |
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 49a6e1ef58..a8079e4090 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 | |||
49 | public struct EvasObjectBoxLayout | ||
50 | { | ||
51 | IntPtr o; | ||
52 | IntPtr priv; | ||
53 | IntPtr user_data; | ||
54 | }; | ||
55 | |||
56 | [StructLayout(LayoutKind.Sequential, CharSet=CharSet.Ansi)] | ||
57 | public struct EvasObjectBoxData | ||
58 | { | ||
59 | } | ||
60 | |||
61 | public 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 | |||
71 | namespace Efl | 47 | namespace 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 | ||
215 | public delegate void SignalCb(IntPtr data, IntPtr obj, IntPtr emission, IntPtr source); | ||
216 | |||
217 | namespace Access | 191 | namespace Access |
218 | { | 192 | { |
219 | 193 | ||
@@ -229,85 +203,7 @@ public struct ActionData | |||
229 | 203 | ||
230 | } // namespace Efl | 204 | } // namespace Efl |
231 | 205 | ||
232 | namespace Evas | ||
233 | { | ||
234 | |||
235 | public 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 */ | ||
256 | public 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 |
301 | public delegate int Eina_Compare_Cb(IntPtr a, IntPtr b); | 207 | public delegate int Eina_Compare_Cb(IntPtr a, IntPtr b); |
302 | public delegate void ElmInterfaceScrollableCb(IntPtr obj, IntPtr data); | ||
303 | public delegate void ElmInterfaceScrollableMinLimitCb(IntPtr obj, | ||
304 | [MarshalAsAttribute(UnmanagedType.U1)]bool w, | ||
305 | [MarshalAsAttribute(UnmanagedType.U1)]bool h); | ||
306 | public delegate void ElmInterfaceScrollableResizeCb(IntPtr obj, Evas.Coord w, Evas.Coord h); | ||
307 | [return: MarshalAsAttribute(UnmanagedType.U1)] | ||
308 | public delegate bool ElmMultibuttonentryItemFilterCb(IntPtr obj, IntPtr item_label, IntPtr item_data, IntPtr data); | ||
309 | public delegate IntPtr ElmMultibuttonentryFormatCb(int count, IntPtr data); | ||
310 | public delegate void EinaFreeCb(IntPtr data); | 208 | public delegate void EinaFreeCb(IntPtr data); |
311 | public delegate void EvasSmartCb(IntPtr data, IntPtr obj, IntPtr event_info); | 209 | public delegate void EvasSmartCb(IntPtr data, IntPtr obj, IntPtr event_info); |
312 | public delegate void ElmObjectItemSignalCb(IntPtr data, IntPtr item, IntPtr emission, IntPtr source); | ||
313 | public delegate void ElmTooltipItemContentCb(IntPtr data, IntPtr obj, IntPtr tooltip, IntPtr item); | ||