elementary: adding const to accessor of elm_video

SVN revision: 64572
This commit is contained in:
Michael BOUCHAUD 2011-10-31 15:22:24 +00:00
parent ade7c17835
commit a5b0b31496
2 changed files with 18 additions and 18 deletions

View File

@ -28103,7 +28103,7 @@ extern "C" {
* *
* @ingroup Video * @ingroup Video
*/ */
EAPI Evas_Object *elm_video_emotion_get(Evas_Object *video); EAPI Evas_Object *elm_video_emotion_get(const Evas_Object *video);
/** /**
* @brief Start to play the video * @brief Start to play the video
@ -28149,7 +28149,7 @@ extern "C" {
* *
* @ingroup Video * @ingroup Video
*/ */
EAPI Eina_Bool elm_video_is_playing(Evas_Object *video); EAPI Eina_Bool elm_video_is_playing(const Evas_Object *video);
/** /**
* @brief Is it possible to seek inside the video. * @brief Is it possible to seek inside the video.
@ -28159,7 +28159,7 @@ extern "C" {
* *
* @ingroup Video * @ingroup Video
*/ */
EAPI Eina_Bool elm_video_is_seekable(Evas_Object *video); EAPI Eina_Bool elm_video_is_seekable(const Evas_Object *video);
/** /**
* @brief Is the audio muted. * @brief Is the audio muted.
@ -28169,7 +28169,7 @@ extern "C" {
* *
* @ingroup Video * @ingroup Video
*/ */
EAPI Eina_Bool elm_video_audio_mute_get(Evas_Object *video); EAPI Eina_Bool elm_video_audio_mute_get(const Evas_Object *video);
/** /**
* @brief Change the mute state of the Elm_Video object. * @brief Change the mute state of the Elm_Video object.
@ -28189,7 +28189,7 @@ extern "C" {
* *
* @ingroup Video * @ingroup Video
*/ */
EAPI double elm_video_audio_level_get(Evas_Object *video); EAPI double elm_video_audio_level_get(const Evas_Object *video);
/** /**
* @brief Set the audio level of anElm_Video object. * @brief Set the audio level of anElm_Video object.
@ -28201,12 +28201,12 @@ extern "C" {
*/ */
EAPI void elm_video_audio_level_set(Evas_Object *video, double volume); EAPI void elm_video_audio_level_set(Evas_Object *video, double volume);
EAPI double elm_video_play_position_get(Evas_Object *video); EAPI double elm_video_play_position_get(const Evas_Object *video);
EAPI void elm_video_play_position_set(Evas_Object *video, double position); EAPI void elm_video_play_position_set(Evas_Object *video, double position);
EAPI double elm_video_play_length_get(Evas_Object *video); EAPI double elm_video_play_length_get(const Evas_Object *video);
EAPI void elm_video_remember_position_set(Evas_Object *video, Eina_Bool remember); EAPI void elm_video_remember_position_set(Evas_Object *video, Eina_Bool remember);
EAPI Eina_Bool elm_video_remember_position_get(Evas_Object *video); EAPI Eina_Bool elm_video_remember_position_get(const Evas_Object *video);
EAPI const char *elm_video_title_get(Evas_Object *video); EAPI const char *elm_video_title_get(const Evas_Object *video);
/** /**
* @} * @}
*/ */

View File

@ -346,7 +346,7 @@ elm_video_uri_set(Evas_Object *video, const char *uri)
} }
EAPI Evas_Object * EAPI Evas_Object *
elm_video_emotion_get(Evas_Object *video) elm_video_emotion_get(const Evas_Object *video)
{ {
#ifdef HAVE_EMOTION #ifdef HAVE_EMOTION
ELM_CHECK_WIDTYPE(video, widtype) NULL; ELM_CHECK_WIDTYPE(video, widtype) NULL;
@ -421,7 +421,7 @@ elm_video_stop(Evas_Object *video)
} }
EAPI Eina_Bool EAPI Eina_Bool
elm_video_is_playing(Evas_Object *video) elm_video_is_playing(const Evas_Object *video)
{ {
#ifdef HAVE_EMOTION #ifdef HAVE_EMOTION
ELM_CHECK_WIDTYPE(video, widtype) EINA_FALSE; ELM_CHECK_WIDTYPE(video, widtype) EINA_FALSE;
@ -435,7 +435,7 @@ elm_video_is_playing(Evas_Object *video)
} }
EAPI Eina_Bool EAPI Eina_Bool
elm_video_is_seekable(Evas_Object *video) elm_video_is_seekable(const Evas_Object *video)
{ {
#ifdef HAVE_EMOTION #ifdef HAVE_EMOTION
ELM_CHECK_WIDTYPE(video, widtype) EINA_FALSE; ELM_CHECK_WIDTYPE(video, widtype) EINA_FALSE;
@ -449,7 +449,7 @@ elm_video_is_seekable(Evas_Object *video)
} }
EAPI Eina_Bool EAPI Eina_Bool
elm_video_audio_mute_get(Evas_Object *video) elm_video_audio_mute_get(const Evas_Object *video)
{ {
#ifdef HAVE_EMOTION #ifdef HAVE_EMOTION
ELM_CHECK_WIDTYPE(video, widtype) EINA_FALSE; ELM_CHECK_WIDTYPE(video, widtype) EINA_FALSE;
@ -477,7 +477,7 @@ elm_video_audio_mute_set(Evas_Object *video, Eina_Bool mute)
} }
EAPI double EAPI double
elm_video_audio_level_get(Evas_Object *video) elm_video_audio_level_get(const Evas_Object *video)
{ {
#ifdef HAVE_EMOTION #ifdef HAVE_EMOTION
ELM_CHECK_WIDTYPE(video, widtype) 0.0; ELM_CHECK_WIDTYPE(video, widtype) 0.0;
@ -505,7 +505,7 @@ elm_video_audio_level_set(Evas_Object *video, double volume)
} }
EAPI double EAPI double
elm_video_play_position_get(Evas_Object *video) elm_video_play_position_get(const Evas_Object *video)
{ {
#ifdef HAVE_EMOTION #ifdef HAVE_EMOTION
ELM_CHECK_WIDTYPE(video, widtype) 0.0; ELM_CHECK_WIDTYPE(video, widtype) 0.0;
@ -533,7 +533,7 @@ elm_video_play_position_set(Evas_Object *video, double position)
} }
EAPI double EAPI double
elm_video_play_length_get(Evas_Object *video) elm_video_play_length_get(const Evas_Object *video)
{ {
#ifdef HAVE_EMOTION #ifdef HAVE_EMOTION
ELM_CHECK_WIDTYPE(video, widtype) 0.0; ELM_CHECK_WIDTYPE(video, widtype) 0.0;
@ -547,7 +547,7 @@ elm_video_play_length_get(Evas_Object *video)
} }
EAPI const char * EAPI const char *
elm_video_title_get(Evas_Object *video) elm_video_title_get(const Evas_Object *video)
{ {
#ifdef HAVE_EMOTION #ifdef HAVE_EMOTION
ELM_CHECK_WIDTYPE(video, widtype) NULL; ELM_CHECK_WIDTYPE(video, widtype) NULL;
@ -575,7 +575,7 @@ elm_video_remember_position_set(Evas_Object *video, Eina_Bool remember)
} }
EAPI Eina_Bool EAPI Eina_Bool
elm_video_remember_position_get(Evas_Object *video) elm_video_remember_position_get(const Evas_Object *video)
{ {
#ifdef HAVE_EMOTION #ifdef HAVE_EMOTION
ELM_CHECK_WIDTYPE(video, widtype) EINA_FALSE; ELM_CHECK_WIDTYPE(video, widtype) EINA_FALSE;