diff options
author | Tom Hacohen <tom@stosb.com> | 2015-06-10 17:07:14 +0100 |
---|---|---|
committer | Tom Hacohen <tom@stosb.com> | 2015-06-10 17:07:14 +0100 |
commit | f716d700084c8a0431710bdfd41930010f62b917 (patch) | |
tree | f3d5417e2eac481d63d9753fd7b4e709b3a4161c | |
parent | 24eaad059e88d0e9c65967cae59c32abd6338a7a (diff) |
Edje object: Fix some Eolian warnings regarding callbacks.
-rwxr-xr-x | src/lib/edje/edje_object.eo | 22 | ||||
-rw-r--r-- | src/lib/edje/edje_types.eot | 8 |
2 files changed, 19 insertions, 11 deletions
diff --git a/src/lib/edje/edje_object.eo b/src/lib/edje/edje_object.eo index 6f6506e8fc..d6065826fe 100755 --- a/src/lib/edje/edje_object.eo +++ b/src/lib/edje/edje_object.eo | |||
@@ -213,7 +213,7 @@ class Edje.Object (Evas.Smart_Clipped, Efl.File) | |||
213 | This function sets the callback to be called when the text changes. */ | 213 | This function sets the callback to be called when the text changes. */ |
214 | } | 214 | } |
215 | values { | 215 | values { |
216 | func: Edje_Text_Change_Cb; /*@ The callback function to handle the text change */ | 216 | func: Edje.Text.Change_Cb; /*@ The callback function to handle the text change */ |
217 | data: void *; /*@ The data associated to the callback function. */ | 217 | data: void *; /*@ The data associated to the callback function. */ |
218 | } | 218 | } |
219 | } | 219 | } |
@@ -311,7 +311,7 @@ class Edje.Object (Evas.Smart_Clipped, Efl.File) | |||
311 | Edje object is deleted (or file is set to a new file). */ | 311 | Edje object is deleted (or file is set to a new file). */ |
312 | } | 312 | } |
313 | values { | 313 | values { |
314 | func: Edje_Item_Provider_Cb; /*@ The function to call (or NULL to disable) to get item objects */ | 314 | func: Edje.Item_Provider_Cb; /*@ The function to call (or NULL to disable) to get item objects */ |
315 | data: void *; /*@ The data pointer to pass to the @p func callback */ | 315 | data: void *; /*@ The data pointer to pass to the @p func callback */ |
316 | } | 316 | } |
317 | } | 317 | } |
@@ -342,7 +342,7 @@ class Edje.Object (Evas.Smart_Clipped, Efl.File) | |||
342 | @see edje_object_message_send() */ | 342 | @see edje_object_message_send() */ |
343 | } | 343 | } |
344 | values { | 344 | values { |
345 | func: Edje_Message_Handler_Cb; /*@ The function to handle messages @b coming from @p obj */ | 345 | func: Edje.Message_Handler_Cb; /*@ The function to handle messages @b coming from @p obj */ |
346 | data: void *; /*@ Auxiliary data to be passed to @p func */ | 346 | data: void *; /*@ Auxiliary data to be passed to @p func */ |
347 | } | 347 | } |
348 | } | 348 | } |
@@ -529,7 +529,7 @@ class Edje.Object (Evas.Smart_Clipped, Efl.File) | |||
529 | return: void *; | 529 | return: void *; |
530 | params { | 530 | params { |
531 | @in part: const(char)*; /*@ The part name */ | 531 | @in part: const(char)*; /*@ The part name */ |
532 | @in func: Edje_Markup_Filter_Cb; /*@ The function callback to remove */ | 532 | @in func: Edje.Markup_Filter_Cb; /*@ The function callback to remove */ |
533 | @in data: void *; /*@ The data passed to the callback function */ | 533 | @in data: void *; /*@ The data passed to the callback function */ |
534 | } | 534 | } |
535 | } | 535 | } |
@@ -622,7 +622,7 @@ class Edje.Object (Evas.Smart_Clipped, Efl.File) | |||
622 | params { | 622 | params { |
623 | @in emission: const(char)*; /*@ The emission string. */ | 623 | @in emission: const(char)*; /*@ The emission string. */ |
624 | @in source: const(char)*; /*@ The source string. */ | 624 | @in source: const(char)*; /*@ The source string. */ |
625 | @in func: Edje_Signal_Cb; /*@ The callback function. */ | 625 | @in func: Edje.Signal_Cb; /*@ The callback function. */ |
626 | @in data: void *; /*@ The callback function. */ | 626 | @in data: void *; /*@ The callback function. */ |
627 | } | 627 | } |
628 | } | 628 | } |
@@ -757,7 +757,7 @@ class Edje.Object (Evas.Smart_Clipped, Efl.File) | |||
757 | return: void *; | 757 | return: void *; |
758 | params { | 758 | params { |
759 | @in part: const(char)*; /*@ The part name */ | 759 | @in part: const(char)*; /*@ The part name */ |
760 | @in func: Edje_Text_Filter_Cb; /*@ The function callback to remove */ | 760 | @in func: Edje.Text.Filter_Cb; /*@ The function callback to remove */ |
761 | @in data: void *; /*@ The data passed to the callback function */ | 761 | @in data: void *; /*@ The data passed to the callback function */ |
762 | } | 762 | } |
763 | } | 763 | } |
@@ -1400,7 +1400,7 @@ class Edje.Object (Evas.Smart_Clipped, Efl.File) | |||
1400 | return: void *; | 1400 | return: void *; |
1401 | params { | 1401 | params { |
1402 | @in part: const(char)*; /*@ The part name */ | 1402 | @in part: const(char)*; /*@ The part name */ |
1403 | @in func: Edje_Text_Filter_Cb; /*@ The function callback to remove */ | 1403 | @in func: Edje.Text.Filter_Cb; /*@ The function callback to remove */ |
1404 | } | 1404 | } |
1405 | } | 1405 | } |
1406 | part_drag_dir_get @const { | 1406 | part_drag_dir_get @const { |
@@ -1510,7 +1510,7 @@ class Edje.Object (Evas.Smart_Clipped, Efl.File) | |||
1510 | params { | 1510 | params { |
1511 | @in emission: const(char)*; /*@ The signal's "emission" string */ | 1511 | @in emission: const(char)*; /*@ The signal's "emission" string */ |
1512 | @in source: const(char)*; /*@ The signal's "source" string */ | 1512 | @in source: const(char)*; /*@ The signal's "source" string */ |
1513 | @in func: Edje_Signal_Cb; /*@ The callback function to be executed when the signal is | 1513 | @in func: Edje.Signal_Cb; /*@ The callback function to be executed when the signal is |
1514 | emitted. */ | 1514 | emitted. */ |
1515 | @in data: void *; /*@ A pointer to data to pass in to @p func. */ | 1515 | @in data: void *; /*@ A pointer to data to pass in to @p func. */ |
1516 | } | 1516 | } |
@@ -1673,7 +1673,7 @@ class Edje.Object (Evas.Smart_Clipped, Efl.File) | |||
1673 | 1673 | ||
1674 | params { | 1674 | params { |
1675 | @in part: const(char)*; /*@ The part name */ | 1675 | @in part: const(char)*; /*@ The part name */ |
1676 | @in func: Edje_Markup_Filter_Cb; /*@ The callback function that will act as markup filter */ | 1676 | @in func: Edje.Markup_Filter_Cb; /*@ The callback function that will act as markup filter */ |
1677 | @in data: void *; /*@ User provided data to pass to the filter function */ | 1677 | @in data: void *; /*@ User provided data to pass to the filter function */ |
1678 | } | 1678 | } |
1679 | } | 1679 | } |
@@ -2244,7 +2244,7 @@ class Edje.Object (Evas.Smart_Clipped, Efl.File) | |||
2244 | 2244 | ||
2245 | params { | 2245 | params { |
2246 | @in part: const(char)*; /*@ The part name */ | 2246 | @in part: const(char)*; /*@ The part name */ |
2247 | @in func: Edje_Text_Filter_Cb; /*@ The callback function that will act as filter */ | 2247 | @in func: Edje.Text.Filter_Cb; /*@ The callback function that will act as filter */ |
2248 | @in data: void *; /*@ User provided data to pass to the filter function */ | 2248 | @in data: void *; /*@ User provided data to pass to the filter function */ |
2249 | } | 2249 | } |
2250 | } | 2250 | } |
@@ -2295,7 +2295,7 @@ class Edje.Object (Evas.Smart_Clipped, Efl.File) | |||
2295 | return: void *; | 2295 | return: void *; |
2296 | params { | 2296 | params { |
2297 | @in part: const(char)*; /*@ The part name */ | 2297 | @in part: const(char)*; /*@ The part name */ |
2298 | @in func: Edje_Markup_Filter_Cb; /*@ The function callback to remove */ | 2298 | @in func: Edje.Markup_Filter_Cb; /*@ The function callback to remove */ |
2299 | } | 2299 | } |
2300 | } | 2300 | } |
2301 | part_text_cursor_is_visible_format_get @const { | 2301 | part_text_cursor_is_visible_format_get @const { |
diff --git a/src/lib/edje/edje_types.eot b/src/lib/edje/edje_types.eot index e8b4dc0f9c..eb2dabd683 100644 --- a/src/lib/edje/edje_types.eot +++ b/src/lib/edje/edje_types.eot | |||
@@ -41,3 +41,11 @@ enum Edje.Text.Autocapital_Type { | |||
41 | } | 41 | } |
42 | 42 | ||
43 | struct Edje.Perspective; [[Perspective info for maps inside edje objects]] | 43 | struct Edje.Perspective; [[Perspective info for maps inside edje objects]] |
44 | |||
45 | /* FIXME-cb: Ignore cb types that should be fixed. */ | ||
46 | type Edje.Signal_Cb: __undefined_type; | ||
47 | type Edje.Markup_Filter_Cb: __undefined_type; | ||
48 | type Edje.Text.Filter_Cb: __undefined_type; | ||
49 | type Edje.Text.Change_Cb: __undefined_type; | ||
50 | type Edje.Item_Provider_Cb: __undefined_type; | ||
51 | type Edje.Message_Handler_Cb: __undefined_type; | ||