tasn pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=406ac071a119b553923cbc1620d17e1f75a98699

commit 406ac071a119b553923cbc1620d17e1f75a98699
Author: Vitor Sousa <vitorsousasi...@gmail.com>
Date:   Tue Jun 16 13:53:06 2015 +0100

    efl_player: Add playable property
    
    Summary:
    Add "playable" property to Efl.Player.
    It should be used to check if the currently loaded data can be
    played.
    
    Reviewers: tasn, felipealmeida, raster
    
    Subscribers: cedric
    
    Differential Revision: https://phab.enlightenment.org/D2704
---
 src/lib/efl/interfaces/efl_player.eo | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/src/lib/efl/interfaces/efl_player.eo 
b/src/lib/efl/interfaces/efl_player.eo
index 213eee2..f2f70a3 100644
--- a/src/lib/efl/interfaces/efl_player.eo
+++ b/src/lib/efl/interfaces/efl_player.eo
@@ -1,6 +1,16 @@
 interface Efl.Player {
    legacy_prefix: null;
    methods {
+        @property playable {
+             /*@
+              * @brief Whether or not the object data can be played.
+              */
+             get {
+             }
+             values {
+                  play: bool; /*@ true if the object have playable data, false 
otherwise */
+             }
+        }
         @property play {
              set {
                   /*@

-- 


Reply via email to