summaryrefslogtreecommitdiff
path: root/src/lib/emotion/Emotion.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/emotion/Emotion.h')
-rw-r--r--src/lib/emotion/Emotion.h193
1 files changed, 83 insertions, 110 deletions
diff --git a/src/lib/emotion/Emotion.h b/src/lib/emotion/Emotion.h
index 5f68c09fa7..b4495c12f2 100644
--- a/src/lib/emotion/Emotion.h
+++ b/src/lib/emotion/Emotion.h
@@ -93,31 +93,7 @@
#include <Evas.h>
#include <Efl_Config.h>
-#ifdef EAPI
-# undef EAPI
-#endif
-
-#ifdef _WIN32
-# ifdef EFL_BUILD
-# ifdef DLL_EXPORT
-# define EAPI __declspec(dllexport)
-# else
-# define EAPI
-# endif
-# else
-# define EAPI __declspec(dllimport)
-# endif
-#else
-# ifdef __GNUC__
-# if __GNUC__ >= 4
-# define EAPI __attribute__ ((visibility("default")))
-# else
-# define EAPI
-# endif
-# else
-# define EAPI
-# endif
-#endif
+#include <emotion_api.h>
#ifdef __cplusplus
extern "C" {
@@ -282,7 +258,7 @@ typedef struct _Emotion_Version
int revision; /** < git revision (0 if a proper release or the git revision number Emotion is built from) */
} Emotion_Version;
-EAPI extern Emotion_Version *emotion_version;
+EMOTION_API extern Emotion_Version *emotion_version;
/* api calls available */
@@ -371,14 +347,14 @@ EAPI extern Emotion_Version *emotion_version;
* Initialise needed libraries like eina ecore eet
* Initialise needed modules like webcam
*/
-EAPI Eina_Bool emotion_init(void);
+EMOTION_API Eina_Bool emotion_init(void);
/**
* @brief Shutdown Emotion library
*
* Proper shutdown of all loaded modules and initialised libraries.
*/
-EAPI Eina_Bool emotion_shutdown(void);
+EMOTION_API Eina_Bool emotion_shutdown(void);
/**
* @brief Add an emotion object to the canvas.
@@ -405,7 +381,7 @@ EAPI Eina_Bool emotion_shutdown(void);
*
* @ingroup Emotion_Init
*/
-EAPI Evas_Object *emotion_object_add (Evas *evas);
+EMOTION_API Evas_Object *emotion_object_add (Evas *evas);
/**
* @brief Set borders for the emotion object.
@@ -435,7 +411,7 @@ EAPI Evas_Object *emotion_object_add (Evas *evas);
*
* @ingroup Emotion_Video
*/
-EAPI void emotion_object_border_set(Evas_Object *obj, int l, int r, int t, int b);
+EMOTION_API void emotion_object_border_set(Evas_Object *obj, int l, int r, int t, int b);
/**
* @brief Get the borders set for the emotion object.
@@ -450,7 +426,7 @@ EAPI void emotion_object_border_set(Evas_Object *obj, int l, int r, int t, int b
*
* @ingroup Emotion_Video
*/
-EAPI void emotion_object_border_get(const Evas_Object *obj, int *l, int *r, int *t, int *b);
+EMOTION_API void emotion_object_border_get(const Evas_Object *obj, int *l, int *r, int *t, int *b);
/**
* @brief Set a color for the background rectangle of this emotion object.
@@ -471,7 +447,7 @@ EAPI void emotion_object_border_get(const Evas_Object *obj, int *l, int *r, int
*
* @ingroup Emotion_Video
*/
-EAPI void emotion_object_bg_color_set(Evas_Object *obj, int r, int g, int b, int a);
+EMOTION_API void emotion_object_bg_color_set(Evas_Object *obj, int r, int g, int b, int a);
/**
* @brief Get the background color set for the emotion object.
@@ -486,7 +462,7 @@ EAPI void emotion_object_bg_color_set(Evas_Object *obj, int r, int g, int b, int
*
* @ingroup Emotion_Video
*/
-EAPI void emotion_object_bg_color_get(const Evas_Object *obj, int *r, int *g, int *b, int *a);
+EMOTION_API void emotion_object_bg_color_get(const Evas_Object *obj, int *r, int *g, int *b, int *a);
/**
* @brief Set whether emotion should keep the aspect ratio of the video.
@@ -530,7 +506,7 @@ EAPI void emotion_object_bg_color_get(const Evas_Object *obj, int *r, int *g, in
*
* @ingroup Emotion_Video
*/
-EAPI void emotion_object_keep_aspect_set(Evas_Object *obj, Emotion_Aspect a);
+EMOTION_API void emotion_object_keep_aspect_set(Evas_Object *obj, Emotion_Aspect a);
/**
* @brief Get the current emotion aspect ratio policy.
@@ -543,7 +519,7 @@ EAPI void emotion_object_keep_aspect_set(Evas_Object *obj, Emotion_Aspect a);
*
* @ingroup Emotion_Video
*/
-EAPI Emotion_Aspect emotion_object_keep_aspect_get(const Evas_Object *obj);
+EMOTION_API Emotion_Aspect emotion_object_keep_aspect_get(const Evas_Object *obj);
/**
* @brief Set the file to be played in the Emotion object.
@@ -574,7 +550,7 @@ EAPI Emotion_Aspect emotion_object_keep_aspect_get(const Evas_Object *obj);
*
* @ingroup Emotion_Init
*/
-EAPI Eina_Bool emotion_object_file_set (Evas_Object *obj, const char *filename);
+EMOTION_API Eina_Bool emotion_object_file_set (Evas_Object *obj, const char *filename);
/**
* @brief Get the filename of the file associated with the emotion object.
@@ -592,7 +568,7 @@ EAPI Eina_Bool emotion_object_file_set (Evas_Object *obj, const
*
* @ingroup Emotion_Init
*/
-EAPI const char *emotion_object_file_get (const Evas_Object *obj);
+EMOTION_API const char *emotion_object_file_get (const Evas_Object *obj);
/**
* @defgroup Emotion_Play Play control functions
* @ingroup Emotion
@@ -609,14 +585,14 @@ EAPI const char *emotion_object_file_get (const Evas_Object *obj);
* This functions sets the currently playing status of the video. Using this
* function to play or pause the video doesn't alter it's current position.
*/
-EAPI void emotion_object_play_set (Evas_Object *obj, Eina_Bool play);
+EMOTION_API void emotion_object_play_set (Evas_Object *obj, Eina_Bool play);
/**
* @brief Get play/pause state of the media file.
*
* @param obj The emotion object from which the state will be retrieved.
* @return EINA_TRUE if playing. EINA_FALSE if not playing.
*/
-EAPI Eina_Bool emotion_object_play_get (const Evas_Object *obj);
+EMOTION_API Eina_Bool emotion_object_play_get (const Evas_Object *obj);
/**
* @brief Set the position in the media file.
*
@@ -629,7 +605,7 @@ EAPI Eina_Bool emotion_object_play_get (const Evas_Object *obj);
*
* @see emotion_object_seekable_get
*/
-EAPI void emotion_object_position_set (Evas_Object *obj, double sec);
+EMOTION_API void emotion_object_position_set (Evas_Object *obj, double sec);
/**
* @brief Get the position in the media file.
*
@@ -639,7 +615,7 @@ EAPI void emotion_object_position_set (Evas_Object *obj, double
* The position is returned as the number of seconds since the beginning of the
* media file.
*/
-EAPI double emotion_object_position_get (const Evas_Object *obj);
+EMOTION_API double emotion_object_position_get (const Evas_Object *obj);
/**
* @brief Get the percentual size of the buffering cache.
@@ -655,7 +631,7 @@ EAPI double emotion_object_position_get (const Evas_Object *obj);
*
* @warning Generic backend don't implement this (will return 1.0).
*/
-EAPI double emotion_object_buffer_size_get (const Evas_Object *obj);
+EMOTION_API double emotion_object_buffer_size_get (const Evas_Object *obj);
/**
* @brief Get whether the media file is seekable.
@@ -664,7 +640,7 @@ EAPI double emotion_object_buffer_size_get (const Evas_Object *obj);
* retrieved.
* @return EINA_TRUE if the media file is seekable, EINA_FALSE otherwise.
*/
-EAPI Eina_Bool emotion_object_seekable_get (const Evas_Object *obj);
+EMOTION_API Eina_Bool emotion_object_seekable_get (const Evas_Object *obj);
/**
* @brief Get the length of play for the media file.
*
@@ -676,7 +652,7 @@ EAPI Eina_Bool emotion_object_seekable_get (const Evas_Object *obj);
* @warning This will return 0 if called before the "length_change" signal has,
* been emitted.
*/
-EAPI double emotion_object_play_length_get (const Evas_Object *obj);
+EMOTION_API double emotion_object_play_length_get (const Evas_Object *obj);
/**
* @brief Set the play speed of the media file.
@@ -690,7 +666,7 @@ EAPI double emotion_object_play_length_get (const Evas_Object *obj);
* @warning The only backend that implements this is the experimental VLC
* backend.
*/
-EAPI void emotion_object_play_speed_set (Evas_Object *obj, double speed);
+EMOTION_API void emotion_object_play_speed_set (Evas_Object *obj, double speed);
/**
* @brief Get the play speed of the media file.
*
@@ -699,7 +675,7 @@ EAPI void emotion_object_play_speed_set (Evas_Object *obj, double
*
* @see emotion_object_play_speed_set
*/
-EAPI double emotion_object_play_speed_get (const Evas_Object *obj);
+EMOTION_API double emotion_object_play_speed_get (const Evas_Object *obj);
/**
* @brief Get how much of the file has been played.
*
@@ -709,7 +685,7 @@ EAPI double emotion_object_play_speed_get (const Evas_Object *obj);
* @warning Don't change of free the returned string.
* @warning gstreamer xine backends don't implement this(will return NULL).
*/
-EAPI const char *emotion_object_progress_info_get (const Evas_Object *obj);
+EMOTION_API const char *emotion_object_progress_info_get (const Evas_Object *obj);
/**
* @brief Get how much of the file has been played.
*
@@ -721,12 +697,12 @@ EAPI const char *emotion_object_progress_info_get (const Evas_Object *obj);
*
* @warning gstreamer xine backends don't implement this(will return 0).
*/
-EAPI double emotion_object_progress_status_get (const Evas_Object *obj);
+EMOTION_API double emotion_object_progress_status_get (const Evas_Object *obj);
/**
* @}
*/
-EAPI Eina_Bool emotion_object_video_handled_get (const Evas_Object *obj);
-EAPI Eina_Bool emotion_object_audio_handled_get (const Evas_Object *obj);
+EMOTION_API Eina_Bool emotion_object_video_handled_get (const Evas_Object *obj);
+EMOTION_API Eina_Bool emotion_object_audio_handled_get (const Evas_Object *obj);
/**
* @brief Retrieve the video aspect ratio of the media file loaded.
@@ -809,7 +785,7 @@ EAPI Eina_Bool emotion_object_audio_handled_get (const Evas_Object *obj);
*
* @ingroup Emotion_Video
*/
-EAPI double emotion_object_ratio_get (const Evas_Object *obj);
+EMOTION_API double emotion_object_ratio_get (const Evas_Object *obj);
/**
* @brief Retrieve the video size of the loaded file.
@@ -833,7 +809,7 @@ EAPI double emotion_object_ratio_get (const Evas_Object *obj);
*
* @ingroup Emotion_Video
*/
-EAPI void emotion_object_size_get (const Evas_Object *obj, int *iw, int *ih);
+EMOTION_API void emotion_object_size_get (const Evas_Object *obj, int *iw, int *ih);
/**
* @brief Sets whether to use of high-quality image scaling algorithm
@@ -850,7 +826,7 @@ EAPI void emotion_object_size_get (const Evas_Object *obj,
*
* @ingroup Emotion_Video
*/
-EAPI void emotion_object_smooth_scale_set (Evas_Object *obj, Eina_Bool smooth);
+EMOTION_API void emotion_object_smooth_scale_set (Evas_Object *obj, Eina_Bool smooth);
/**
* @brief Gets whether the high-quality image scaling algorithm
@@ -863,7 +839,7 @@ EAPI void emotion_object_smooth_scale_set (Evas_Object *obj, Eina_B
*
* @ingroup Emotion_Video
*/
-EAPI Eina_Bool emotion_object_smooth_scale_get (const Evas_Object *obj);
+EMOTION_API Eina_Bool emotion_object_smooth_scale_get (const Evas_Object *obj);
/**
* @brief Send an Emotion Event to an Evas object
@@ -873,7 +849,7 @@ EAPI Eina_Bool emotion_object_smooth_scale_get (const Evas_Object *obj);
*
* @see Emotion_Event
*/
-EAPI void emotion_object_event_simple_send (Evas_Object *obj, Emotion_Event ev);
+EMOTION_API void emotion_object_event_simple_send (Evas_Object *obj, Emotion_Event ev);
/**
* @brief Set the audio volume.
@@ -893,7 +869,7 @@ EAPI void emotion_object_event_simple_send (Evas_Object *obj, Emotio
*
* @ingroup Emotion_Audio
*/
-EAPI void emotion_object_audio_volume_set (Evas_Object *obj, double vol);
+EMOTION_API void emotion_object_audio_volume_set (Evas_Object *obj, double vol);
/**
* @brief Get the audio volume.
@@ -908,7 +884,7 @@ EAPI void emotion_object_audio_volume_set (Evas_Object *obj, double
*
* @ingroup Emotion_Audio
*/
-EAPI double emotion_object_audio_volume_get (const Evas_Object *obj);
+EMOTION_API double emotion_object_audio_volume_get (const Evas_Object *obj);
/**
* @brief Set the mute audio option for this object.
@@ -926,7 +902,7 @@ EAPI double emotion_object_audio_volume_get (const Evas_Object *obj);
*
* @ingroup Emotion_Audio
*/
-EAPI void emotion_object_audio_mute_set (Evas_Object *obj, Eina_Bool mute);
+EMOTION_API void emotion_object_audio_mute_set (Evas_Object *obj, Eina_Bool mute);
/**
* @brief Get the mute audio option of this object.
@@ -941,11 +917,11 @@ EAPI void emotion_object_audio_mute_set (Evas_Object *obj, Eina_B
*
* @ingroup Emotion_Audio
*/
-EAPI Eina_Bool emotion_object_audio_mute_get (const Evas_Object *obj);
-EAPI int emotion_object_audio_channel_count (const Evas_Object *obj);
-EAPI const char *emotion_object_audio_channel_name_get(const Evas_Object *obj, int channel);
-EAPI void emotion_object_audio_channel_set (Evas_Object *obj, int channel);
-EAPI int emotion_object_audio_channel_get (const Evas_Object *obj);
+EMOTION_API Eina_Bool emotion_object_audio_mute_get (const Evas_Object *obj);
+EMOTION_API int emotion_object_audio_channel_count (const Evas_Object *obj);
+EMOTION_API const char *emotion_object_audio_channel_name_get(const Evas_Object *obj, int channel);
+EMOTION_API void emotion_object_audio_channel_set (Evas_Object *obj, int channel);
+EMOTION_API int emotion_object_audio_channel_get (const Evas_Object *obj);
/**
* @brief Set the mute video option for this object.
@@ -963,7 +939,7 @@ EAPI int emotion_object_audio_channel_get (const Evas_Object *obj);
*
* @ingroup Emotion_Video
*/
-EAPI void emotion_object_video_mute_set (Evas_Object *obj, Eina_Bool mute);
+EMOTION_API void emotion_object_video_mute_set (Evas_Object *obj, Eina_Bool mute);
/**
* @brief Get the mute video option of this object.
@@ -978,7 +954,7 @@ EAPI void emotion_object_video_mute_set (Evas_Object *obj, Eina_B
*
* @ingroup Emotion_Video
*/
-EAPI Eina_Bool emotion_object_video_mute_get (const Evas_Object *obj);
+EMOTION_API Eina_Bool emotion_object_video_mute_get (const Evas_Object *obj);
/**
* @brief Set the video's subtitle file path.
@@ -994,7 +970,7 @@ EAPI Eina_Bool emotion_object_video_mute_get (const Evas_Object *obj);
* @ingroup Emotion_Video
* @since 1.8
*/
-EAPI void emotion_object_video_subtitle_file_set (Evas_Object *obj, const char *filepath);
+EMOTION_API void emotion_object_video_subtitle_file_set (Evas_Object *obj, const char *filepath);
/**
* @brief Get the video's subtitle file path.
@@ -1010,7 +986,7 @@ EAPI void emotion_object_video_subtitle_file_set (Evas_Object *obj, cons
* @ingroup Emotion_Video
* @since 1.8
*/
-EAPI const char *emotion_object_video_subtitle_file_get (const Evas_Object *obj);
+EMOTION_API const char *emotion_object_video_subtitle_file_get (const Evas_Object *obj);
/**
* @brief Get the number of available video channel
@@ -1022,7 +998,7 @@ EAPI const char *emotion_object_video_subtitle_file_get (const Evas_Object *ob
*
* @ingroup Emotion_Video
*/
-EAPI int emotion_object_video_channel_count (const Evas_Object *obj);
+EMOTION_API int emotion_object_video_channel_count (const Evas_Object *obj);
/**
* @brief Get the name of a given video channel
@@ -1035,7 +1011,7 @@ EAPI int emotion_object_video_channel_count (const Evas_Object *obj);
*
* @ingroup Emotion_Video
*/
-EAPI const char *emotion_object_video_channel_name_get(const Evas_Object *obj, int channel);
+EMOTION_API const char *emotion_object_video_channel_name_get(const Evas_Object *obj, int channel);
/**
* @brief Set the channel for a given video object
@@ -1045,7 +1021,7 @@ EAPI const char *emotion_object_video_channel_name_get(const Evas_Object *obj,
*
* @ingroup Emotion_Video
*/
-EAPI void emotion_object_video_channel_set (Evas_Object *obj, int channel);
+EMOTION_API void emotion_object_video_channel_set (Evas_Object *obj, int channel);
/**
* @brief Get the channel for a given video object
@@ -1055,18 +1031,18 @@ EAPI void emotion_object_video_channel_set (Evas_Object *obj, int ch
*
* @ingroup Emotion_Video
*/
-EAPI int emotion_object_video_channel_get (const Evas_Object *obj);
-EAPI void emotion_object_spu_mute_set (Evas_Object *obj, Eina_Bool mute);
-EAPI Eina_Bool emotion_object_spu_mute_get (const Evas_Object *obj);
-EAPI int emotion_object_spu_channel_count (const Evas_Object *obj);
-EAPI const char *emotion_object_spu_channel_name_get (const Evas_Object *obj, int channel);
-EAPI void emotion_object_spu_channel_set (Evas_Object *obj, int channel);
-EAPI int emotion_object_spu_channel_get (const Evas_Object *obj);
-EAPI int emotion_object_chapter_count (const Evas_Object *obj);
-EAPI void emotion_object_chapter_set (Evas_Object *obj, int chapter);
-EAPI int emotion_object_chapter_get (const Evas_Object *obj);
-EAPI const char *emotion_object_chapter_name_get (const Evas_Object *obj, int chapter);
-EAPI void emotion_object_eject (Evas_Object *obj);
+EMOTION_API int emotion_object_video_channel_get (const Evas_Object *obj);
+EMOTION_API void emotion_object_spu_mute_set (Evas_Object *obj, Eina_Bool mute);
+EMOTION_API Eina_Bool emotion_object_spu_mute_get (const Evas_Object *obj);
+EMOTION_API int emotion_object_spu_channel_count (const Evas_Object *obj);
+EMOTION_API const char *emotion_object_spu_channel_name_get (const Evas_Object *obj, int channel);
+EMOTION_API void emotion_object_spu_channel_set (Evas_Object *obj, int channel);
+EMOTION_API int emotion_object_spu_channel_get (const Evas_Object *obj);
+EMOTION_API int emotion_object_chapter_count (const Evas_Object *obj);
+EMOTION_API void emotion_object_chapter_set (Evas_Object *obj, int chapter);
+EMOTION_API int emotion_object_chapter_get (const Evas_Object *obj);
+EMOTION_API const char *emotion_object_chapter_name_get (const Evas_Object *obj, int chapter);
+EMOTION_API void emotion_object_eject (Evas_Object *obj);
/**
* @brief Get the dvd title from this emotion object.
@@ -1080,11 +1056,11 @@ EAPI void emotion_object_eject (Evas_Object *obj);
*
* @ingroup Emotion_Info
*/
-EAPI const char *emotion_object_title_get (const Evas_Object *obj);
-EAPI const char *emotion_object_ref_file_get (const Evas_Object *obj);
-EAPI int emotion_object_ref_num_get (const Evas_Object *obj);
-EAPI int emotion_object_spu_button_count_get (const Evas_Object *obj);
-EAPI int emotion_object_spu_button_get (const Evas_Object *obj);
+EMOTION_API const char *emotion_object_title_get (const Evas_Object *obj);
+EMOTION_API const char *emotion_object_ref_file_get (const Evas_Object *obj);
+EMOTION_API int emotion_object_ref_num_get (const Evas_Object *obj);
+EMOTION_API int emotion_object_spu_button_count_get (const Evas_Object *obj);
+EMOTION_API int emotion_object_spu_button_get (const Evas_Object *obj);
/**
* @brief Retrieve meta information from this file being played.
@@ -1106,7 +1082,7 @@ EAPI int emotion_object_spu_button_get (const Evas_Object *obj);
*
* @ingroup Emotion_Info
*/
-EAPI const char *emotion_object_meta_info_get (const Evas_Object *obj, Emotion_Meta_Info meta);
+EMOTION_API const char *emotion_object_meta_info_get (const Evas_Object *obj, Emotion_Meta_Info meta);
/**
* @brief Set the visualization to be used with this object.
@@ -1125,7 +1101,7 @@ EAPI const char *emotion_object_meta_info_get (const Evas_Object *obj,
*
* @ingroup Emotion_Visualization
*/
-EAPI void emotion_object_vis_set (Evas_Object *obj, Emotion_Vis visualization);
+EMOTION_API void emotion_object_vis_set (Evas_Object *obj, Emotion_Vis visualization);
/**
* @brief Get the type of visualization in use by this emotion object.
@@ -1142,7 +1118,7 @@ EAPI void emotion_object_vis_set (Evas_Object *obj, Emotio
*
* @ingroup Emotion_Visualization
*/
-EAPI Emotion_Vis emotion_object_vis_get (const Evas_Object *obj);
+EMOTION_API Emotion_Vis emotion_object_vis_get (const Evas_Object *obj);
/**
* @brief Query whether a type of visualization is supported by this object.
@@ -1160,7 +1136,7 @@ EAPI Emotion_Vis emotion_object_vis_get (const Evas_Object *obj);
*
* @ingroup Emotion_Visualization
*/
-EAPI Eina_Bool emotion_object_vis_supported (const Evas_Object *obj, Emotion_Vis visualization);
+EMOTION_API Eina_Bool emotion_object_vis_supported (const Evas_Object *obj, Emotion_Vis visualization);
/**
* @brief Raise priority of an object so it will have a priviledged access to hardware resources.
@@ -1180,7 +1156,7 @@ EAPI Eina_Bool emotion_object_vis_supported (const Evas_Object *obj,
*
* @ingroup Emotion_Ressource
*/
-EAPI void emotion_object_priority_set(Evas_Object *obj, Eina_Bool priority);
+EMOTION_API void emotion_object_priority_set(Evas_Object *obj, Eina_Bool priority);
/**
* @brief Get the actual priority of an object.
@@ -1195,7 +1171,7 @@ EAPI void emotion_object_priority_set(Evas_Object *obj, Eina_Bool priori
*
* @ingroup Emotion_Ressource
*/
-EAPI Eina_Bool emotion_object_priority_get(const Evas_Object *obj);
+EMOTION_API Eina_Bool emotion_object_priority_get(const Evas_Object *obj);
/**
* @brief Change the state of an object pipeline.
@@ -1212,7 +1188,7 @@ EAPI Eina_Bool emotion_object_priority_get(const Evas_Object *obj);
*
* @ingroup Emotion_Ressource
*/
-EAPI void emotion_object_suspend_set(Evas_Object *obj, Emotion_Suspend state);
+EMOTION_API void emotion_object_suspend_set(Evas_Object *obj, Emotion_Suspend state);
/**
* @brief Get the current state of the pipeline
@@ -1225,7 +1201,7 @@ EAPI void emotion_object_suspend_set(Evas_Object *obj, Emotion_Suspend s
*
* @ingroup Emotion_Ressource
*/
-EAPI Emotion_Suspend emotion_object_suspend_get(Evas_Object *obj);
+EMOTION_API Emotion_Suspend emotion_object_suspend_get(Evas_Object *obj);
/**
* @brief Load the last known position if available
@@ -1241,7 +1217,7 @@ EAPI Emotion_Suspend emotion_object_suspend_get(Evas_Object *obj);
*
* @ingroup Emotion_Info
*/
-EAPI void emotion_object_last_position_load(Evas_Object *obj);
+EMOTION_API void emotion_object_last_position_load(Evas_Object *obj);
/**
* @brief Save the lastest position if possible
@@ -1257,7 +1233,7 @@ EAPI void emotion_object_last_position_load(Evas_Object *obj);
*
* @ingroup Emotion_Info
*/
-EAPI void emotion_object_last_position_save(Evas_Object *obj);
+EMOTION_API void emotion_object_last_position_save(Evas_Object *obj);
/**
* @brief Do we have a chance to play that file
@@ -1269,7 +1245,7 @@ EAPI void emotion_object_last_position_save(Evas_Object *obj);
*
* @see emotion_object_extension_may_play_get()
*/
-EAPI Eina_Bool emotion_object_extension_may_play_fast_get(const char *file);
+EMOTION_API Eina_Bool emotion_object_extension_may_play_fast_get(const char *file);
/**
* @brief Do we have a chance to play that file
@@ -1281,7 +1257,7 @@ EAPI Eina_Bool emotion_object_extension_may_play_fast_get(const char *file);
*
* @see emotion_object_extension_may_play_fast_get()
*/
-EAPI Eina_Bool emotion_object_extension_may_play_get(const char *file);
+EMOTION_API Eina_Bool emotion_object_extension_may_play_get(const char *file);
/**
* @brief Get the actual image object that contains the pixels of the video stream
@@ -1292,7 +1268,7 @@ EAPI Eina_Bool emotion_object_extension_may_play_get(const char *file);
*
* @see emotion_object_image_get()
*/
-EAPI Evas_Object *emotion_object_image_get(const Evas_Object *obj);
+EMOTION_API Evas_Object *emotion_object_image_get(const Evas_Object *obj);
/**
* @defgroup Emotion_Webcam API available for accessing webcam
@@ -1301,9 +1277,9 @@ EAPI Evas_Object *emotion_object_image_get(const Evas_Object *obj);
typedef struct _Emotion_Webcam Emotion_Webcam; /**< Webcam description */
-EAPI extern int EMOTION_WEBCAM_UPDATE; /**< Ecore_Event triggered when a new webcam is plugged or unplugged */
-EAPI extern int EMOTION_WEBCAM_ADD; /**< Ecore_Event triggered when a new webcam is plugged in @since 1.8*/
-EAPI extern int EMOTION_WEBCAM_DEL; /**< Ecore_Event triggered when a webcam is unplugged @since 1.8 */
+EMOTION_API extern int EMOTION_WEBCAM_UPDATE; /**< Ecore_Event triggered when a new webcam is plugged or unplugged */
+EMOTION_API extern int EMOTION_WEBCAM_ADD; /**< Ecore_Event triggered when a new webcam is plugged in @since 1.8*/
+EMOTION_API extern int EMOTION_WEBCAM_DEL; /**< Ecore_Event triggered when a webcam is unplugged @since 1.8 */
/**
* @brief Get a list of active and available webcam
@@ -1315,7 +1291,7 @@ EAPI extern int EMOTION_WEBCAM_DEL; /**< Ecore_Event triggered when a webcam is
*
* @ingroup Emotion_Webcam
*/
-EAPI const Eina_List *emotion_webcams_get(void);
+EMOTION_API const Eina_List *emotion_webcams_get(void);
/**
* @brief Get the human understandable name of a Webcam
@@ -1325,7 +1301,7 @@ EAPI const Eina_List *emotion_webcams_get(void);
*
* @ingroup Emotion_Webcam
*/
-EAPI const char *emotion_webcam_name_get(const Emotion_Webcam *ew);
+EMOTION_API const char *emotion_webcam_name_get(const Emotion_Webcam *ew);
/**
* @brief Get the uri of a Webcam that will be understood by emotion
@@ -1335,7 +1311,7 @@ EAPI const char *emotion_webcam_name_get(const Emotion_Webcam *ew);
*
* @ingroup Emotion_Webcam
*/
-EAPI const char *emotion_webcam_device_get(const Emotion_Webcam *ew);
+EMOTION_API const char *emotion_webcam_device_get(const Emotion_Webcam *ew);
/**
* @brief Get the album artwork from file meta data tags.
@@ -1349,7 +1325,7 @@ EAPI const char *emotion_webcam_device_get(const Emotion_Webcam *ew);
* @since 1.19
*/
-EAPI Evas_Object *emotion_file_meta_artwork_get(const Evas_Object *obj, const char *path, Emotion_Artwork_Info type);
+EMOTION_API Evas_Object *emotion_file_meta_artwork_get(const Evas_Object *obj, const char *path, Emotion_Artwork_Info type);
/**
* @}
*/
@@ -1358,7 +1334,4 @@ EAPI Evas_Object *emotion_file_meta_artwork_get(const Evas_Object *obj, cons
}
#endif
-#undef EAPI
-#define EAPI
-
#endif