EAPI Eina_Bool emotion_object_extension_may_play_fast_get(const char *file);
EAPI Eina_Bool emotion_object_extension_may_play_get(const char *file);
+EAPI Evas_Object *emotion_object_image_get(const Evas_Object *obj);
+
typedef struct _Emotion_Webcam Emotion_Webcam;
extern int EMOTION_WEBCAM_UPDATE;
Eina_Emotion_Plugins *plugin;
};
-EAPI Evas_Object *_emotion_image_get(const Evas_Object *obj);
EAPI void *_emotion_video_get(const Evas_Object *obj);
EAPI void _emotion_frame_new(Evas_Object *obj);
EAPI void _emotion_video_pos_update(Evas_Object *obj, double pos, double len);
return evas_object_smart_add(evas, smart);
}
+EAPI Evas_Object *
+emotion_object_image_get(const Evas_Object *obj)
+{
+ Smart_Data *sd;
+
+ sd = evas_object_smart_data_get(obj);
+ if (!sd) return NULL;
+ return sd->obj;
+}
+
EAPI void
emotion_object_module_option_set(Evas_Object *obj, const char *opt, const char *val)
{
evas_object_clip_unset(sd->obj);
}
-EAPI Evas_Object *
-_emotion_image_get(const Evas_Object *obj)
-{
- Smart_Data *sd;
-
- sd = evas_object_smart_data_get(obj);
- if (!sd) return NULL;
- return sd->obj;
-}
-
Evas_Object *obj;
GstStateChangeReturn res;
- obj = _emotion_image_get(o);
+ obj = emotion_object_image_get(o);
if (!obj)
{
ERR("Not Evas_Object specified");