summaryrefslogtreecommitdiff
path: root/src/lib/ecore_audio/ecore_audio.eo
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2015-05-18 16:13:08 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2015-05-18 16:14:31 +0100
commit058a9c9d88b4532ff859f3d7a82e15ea64a94be3 (patch)
treed4e35abcfe912e9e948082d39e6a114e8e0ca010 /src/lib/ecore_audio/ecore_audio.eo
parentdcc73c8f9a2e337dcdb18b26da13d98d03a4ec1f (diff)
eolian: new syntax for params/values/keys
Instead of "@in type name;" we now use "@in name: type;". This change is done because of consistency with the rest of Eolian; pretty much every other part of Eolian syntax uses the latter form. This is a big breaking change in the .eo format, so please update your .eo files accordingly and compile Elementary together with the EFL. @feature
Diffstat (limited to 'src/lib/ecore_audio/ecore_audio.eo')
-rw-r--r--src/lib/ecore_audio/ecore_audio.eo16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/ecore_audio/ecore_audio.eo b/src/lib/ecore_audio/ecore_audio.eo
index e2969c659e..c22f12473d 100644
--- a/src/lib/ecore_audio/ecore_audio.eo
+++ b/src/lib/ecore_audio/ecore_audio.eo
@@ -18,7 +18,7 @@ class Ecore_Audio (Eo.Base)
18 @since 1.8 */ 18 @since 1.8 */
19 } 19 }
20 values { 20 values {
21 const(char)* name; 21 name: const(char)*;
22 } 22 }
23 } 23 }
24 @property paused { 24 @property paused {
@@ -35,7 +35,7 @@ class Ecore_Audio (Eo.Base)
35 @since 1.8 */ 35 @since 1.8 */
36 } 36 }
37 values { 37 values {
38 bool paused; /*@ ret EINA_TRUE if object is paused, EINA_FALSE if not*/ 38 paused: bool; /*@ ret EINA_TRUE if object is paused, EINA_FALSE if not*/
39 } 39 }
40 } 40 }
41 @property volume { 41 @property volume {
@@ -52,7 +52,7 @@ class Ecore_Audio (Eo.Base)
52 @since 1.8 */ 52 @since 1.8 */
53 } 53 }
54 values { 54 values {
55 double volume; /*@ The volume */ 55 volume: double; /*@ The volume */
56 } 56 }
57 } 57 }
58 @property source { 58 @property source {
@@ -73,7 +73,7 @@ class Ecore_Audio (Eo.Base)
73 @since 1.8 */ 73 @since 1.8 */
74 } 74 }
75 values { 75 values {
76 const(char)* source; /*@ The source to set to (i.e. file, URL, device)*/ 76 source: const(char)*; /*@ The source to set to (i.e. file, URL, device)*/
77 } 77 }
78 } 78 }
79 @property format { 79 @property format {
@@ -97,7 +97,7 @@ class Ecore_Audio (Eo.Base)
97 @since 1.8 */ 97 @since 1.8 */
98 } 98 }
99 values { 99 values {
100 Ecore_Audio_Format format; /*@ The format of the object*/ 100 format: Ecore_Audio_Format; /*@ The format of the object*/
101 } 101 }
102 } 102 }
103 vio_set { 103 vio_set {
@@ -106,9 +106,9 @@ class Ecore_Audio (Eo.Base)
106 106
107 @since 1.8 */ 107 @since 1.8 */
108 params { 108 params {
109 Ecore_Audio_Vio *vio; /*@ The @ref Ecore_Audio_Vio struct with the function callbacks*/ 109 vio: Ecore_Audio_Vio *; /*@ The @ref Ecore_Audio_Vio struct with the function callbacks*/
110 void *data; /*@ User data to pass to the VIO functions*/ 110 data: void *; /*@ User data to pass to the VIO functions*/
111 eo_key_data_free_func free_func; /*@ This function takes care to clean up @ref data when he VIO is destroyed. NULL means do nothing.*/ 111 free_func: eo_key_data_free_func; /*@ This function takes care to clean up @ref data when he VIO is destroyed. NULL means do nothing.*/
112 } 112 }
113 } 113 }
114 } 114 }