diff options
author | Cedric BAIL <cedric.bail@free.fr> | 2011-10-03 03:30:39 +0000 |
---|---|---|
committer | Cedric BAIL <cedric.bail@free.fr> | 2011-10-03 03:30:39 +0000 |
commit | a57395a62383237418706fa06735e2a749662f57 (patch) | |
tree | 21253b97a9d00b67f23a9b4704aa39205fa12c62 /legacy/emotion/src/lib/emotion_smart.c | |
parent | d724205a6ee0aff44843385a27c76ee50307f994 (diff) |
emotion: first try with xv.
SVN revision: 63759
Diffstat (limited to '')
-rw-r--r-- | legacy/emotion/src/lib/emotion_smart.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/legacy/emotion/src/lib/emotion_smart.c b/legacy/emotion/src/lib/emotion_smart.c index 3adc02be52..d3f32c9bee 100644 --- a/legacy/emotion/src/lib/emotion_smart.c +++ b/legacy/emotion/src/lib/emotion_smart.c | |||
@@ -1269,6 +1269,32 @@ emotion_object_vis_supported(const Evas_Object *obj, Emotion_Vis visualization) | |||
1269 | return sd->module->vis_supported(sd->video, visualization); | 1269 | return sd->module->vis_supported(sd->video, visualization); |
1270 | } | 1270 | } |
1271 | 1271 | ||
1272 | EAPI void | ||
1273 | emotion_object_priority_set(Evas_Object *obj, Eina_Bool priority) | ||
1274 | { | ||
1275 | Smart_Data *sd; | ||
1276 | |||
1277 | E_SMART_OBJ_GET(sd, obj, E_OBJ_NAME); | ||
1278 | fprintf(stderr, "priority set %p\n", sd->module); | ||
1279 | if (!sd->module) return ; | ||
1280 | if (!sd->video) return ; | ||
1281 | if (!sd->module->priority_set) return ; | ||
1282 | fprintf(stderr, "calling\n"); | ||
1283 | sd->module->priority_set(sd->video, priority); | ||
1284 | } | ||
1285 | |||
1286 | EAPI Eina_Bool | ||
1287 | emotion_object_priority_get(const Evas_Object *obj) | ||
1288 | { | ||
1289 | Smart_Data *sd; | ||
1290 | |||
1291 | E_SMART_OBJ_GET_RETURN(sd, obj, E_OBJ_NAME, 0); | ||
1292 | if (!sd->module) return EINA_FALSE; | ||
1293 | if (!sd->video) return EINA_FALSE; | ||
1294 | if (!sd->module->priority_get) return EINA_FALSE; | ||
1295 | return sd->module->priority_get(sd->video); | ||
1296 | } | ||
1297 | |||
1272 | #ifdef HAVE_EIO | 1298 | #ifdef HAVE_EIO |
1273 | static void | 1299 | static void |
1274 | _eio_load_xattr_cleanup(Smart_Data *sd, Eio_File *handler) | 1300 | _eio_load_xattr_cleanup(Smart_Data *sd, Eio_File *handler) |