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
This commit is contained in:
Vitor Sousa 2015-06-16 13:53:06 +01:00 committed by Tom Hacohen
parent bae1c701ba
commit 406ac071a1
1 changed files with 10 additions and 0 deletions

View File

@ -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 {
/*@