ecore audio: use new property impl syntax
authorDaniel Kolesa <d.kolesa@osg.samsung.com>
Tue, 27 Dec 2016 16:00:05 +0000 (17:00 +0100)
committerDaniel Kolesa <d.kolesa@osg.samsung.com>
Tue, 27 Dec 2016 16:00:05 +0000 (17:00 +0100)
src/lib/ecore_audio/ecore_audio_in_sndfile.eo
src/lib/ecore_audio/ecore_audio_in_tone.eo
src/lib/ecore_audio/ecore_audio_out_pulse.eo
src/lib/ecore_audio/ecore_audio_out_sndfile.eo

index 2675380..533e4b2 100644 (file)
@@ -4,10 +4,8 @@ class Ecore.Audio.In.Sndfile (Ecore.Audio.In)
    eo_prefix: ecore_audio_obj_in_sndfile;
    implements {
       Efl.Object.destructor;
-      Ecore.Audio.source.set;
-      Ecore.Audio.source.get;
-      Ecore.Audio.format.set;
-      Ecore.Audio.format.get;
+      Ecore.Audio.source { get; set; }
+      Ecore.Audio.format { get; set; }
       Ecore.Audio.vio_set;
       Ecore.Audio.In.seek;
       Ecore.Audio.In.read_internal;
index fbef1f2..58f3b1f 100644 (file)
@@ -5,7 +5,7 @@ class Ecore.Audio.In.Tone (Ecore.Audio.In)
    implements {
       Efl.Object.constructor;
       Efl.Object.key_data;
-      Ecore.Audio.In.length.set;
+      Ecore.Audio.In.length { set; }
       Ecore.Audio.In.seek;
       Ecore.Audio.In.read_internal;
    }
index b107eef..d7a478f 100644 (file)
@@ -6,7 +6,7 @@ class Ecore.Audio.Out.Pulse (Ecore.Audio.Out)
    implements {
       Efl.Object.constructor;
       Efl.Object.destructor;
-      Ecore.Audio.volume.set;
+      Ecore.Audio.volume { set; }
       Ecore.Audio.Out.input_attach;
       Ecore.Audio.Out.input_detach;
    }
index 510f644..1045fd4 100644 (file)
@@ -5,10 +5,8 @@ class Ecore.Audio.Out.Sndfile (Ecore.Audio.Out)
    implements {
       Efl.Object.constructor;
       Efl.Object.destructor;
-      Ecore.Audio.source.get;
-      Ecore.Audio.source.set;
-      Ecore.Audio.format.get;
-      Ecore.Audio.format.set;
+      Ecore.Audio.source { get; set; }
+      Ecore.Audio.format { get; set; }
       Ecore.Audio.Out.input_attach;
    }
 }