summaryrefslogtreecommitdiff
path: root/legacy/emotion/src/lib/emotion_smart.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2011-10-03 03:30:39 +0000
committerCedric BAIL <cedric.bail@free.fr>2011-10-03 03:30:39 +0000
commita57395a62383237418706fa06735e2a749662f57 (patch)
tree21253b97a9d00b67f23a9b4704aa39205fa12c62 /legacy/emotion/src/lib/emotion_smart.c
parentd724205a6ee0aff44843385a27c76ee50307f994 (diff)
emotion: first try with xv.
SVN revision: 63759
Diffstat (limited to '')
-rw-r--r--legacy/emotion/src/lib/emotion_smart.c26
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
1272EAPI void
1273emotion_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
1286EAPI Eina_Bool
1287emotion_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
1273static void 1299static void
1274_eio_load_xattr_cleanup(Smart_Data *sd, Eio_File *handler) 1300_eio_load_xattr_cleanup(Smart_Data *sd, Eio_File *handler)