mex-media-player-ginterface

mex-media-player-ginterface

Synopsis

void                (*mex_media_player_iface_set_audio_volume_impl)
                                                        (MexMediaPlayerIface *self,
                                                         gdouble in_volume,
                                                         DBusGMethodInvocation *context);
void                mex_media_player_iface_implement_set_audio_volume
                                                        (MexMediaPlayerIfaceClass *klass,
                                                         mex_media_player_iface_set_audio_volume_impl impl);
void                mex_media_player_iface_return_from_set_audio_volume
                                                        (DBusGMethodInvocation *context);
void                (*mex_media_player_iface_get_audio_volume_impl)
                                                        (MexMediaPlayerIface *self,
                                                         DBusGMethodInvocation *context);
void                mex_media_player_iface_implement_get_audio_volume
                                                        (MexMediaPlayerIfaceClass *klass,
                                                         mex_media_player_iface_get_audio_volume_impl impl);
void                mex_media_player_iface_return_from_get_audio_volume
                                                        (DBusGMethodInvocation *context,
                                                         gdouble out_volume);
void                (*mex_media_player_iface_set_uri_impl)
                                                        (MexMediaPlayerIface *self,
                                                         const gchar *in_uri,
                                                         DBusGMethodInvocation *context);
void                mex_media_player_iface_implement_set_uri
                                                        (MexMediaPlayerIfaceClass *klass,
                                                         mex_media_player_iface_set_uri_impl impl);
void                mex_media_player_iface_return_from_set_uri
                                                        (DBusGMethodInvocation *context);
void                (*mex_media_player_iface_get_uri_impl)
                                                        (MexMediaPlayerIface *self,
                                                         DBusGMethodInvocation *context);
void                mex_media_player_iface_implement_get_uri
                                                        (MexMediaPlayerIfaceClass *klass,
                                                         mex_media_player_iface_get_uri_impl impl);
void                mex_media_player_iface_return_from_get_uri
                                                        (DBusGMethodInvocation *context,
                                                         const gchar *out_uri);
void                (*mex_media_player_iface_set_playing_impl)
                                                        (MexMediaPlayerIface *self,
                                                         gboolean in_playing,
                                                         DBusGMethodInvocation *context);
void                mex_media_player_iface_implement_set_playing
                                                        (MexMediaPlayerIfaceClass *klass,
                                                         mex_media_player_iface_set_playing_impl impl);
void                mex_media_player_iface_return_from_set_playing
                                                        (DBusGMethodInvocation *context);
void                (*mex_media_player_iface_get_playing_impl)
                                                        (MexMediaPlayerIface *self,
                                                         DBusGMethodInvocation *context);
void                mex_media_player_iface_implement_get_playing
                                                        (MexMediaPlayerIfaceClass *klass,
                                                         mex_media_player_iface_get_playing_impl impl);
void                mex_media_player_iface_return_from_get_playing
                                                        (DBusGMethodInvocation *context,
                                                         gboolean out_playing);
void                (*mex_media_player_iface_set_progress_impl)
                                                        (MexMediaPlayerIface *self,
                                                         gdouble in_progress,
                                                         DBusGMethodInvocation *context);
void                mex_media_player_iface_implement_set_progress
                                                        (MexMediaPlayerIfaceClass *klass,
                                                         mex_media_player_iface_set_progress_impl impl);
void                mex_media_player_iface_return_from_set_progress
                                                        (DBusGMethodInvocation *context);
void                (*mex_media_player_iface_get_progress_impl)
                                                        (MexMediaPlayerIface *self,
                                                         DBusGMethodInvocation *context);
void                mex_media_player_iface_implement_get_progress
                                                        (MexMediaPlayerIfaceClass *klass,
                                                         mex_media_player_iface_get_progress_impl impl);
void                mex_media_player_iface_return_from_get_progress
                                                        (DBusGMethodInvocation *context,
                                                         gdouble out_progress);
void                (*mex_media_player_iface_get_duration_impl)
                                                        (MexMediaPlayerIface *self,
                                                         DBusGMethodInvocation *context);
void                mex_media_player_iface_implement_get_duration
                                                        (MexMediaPlayerIfaceClass *klass,
                                                         mex_media_player_iface_get_duration_impl impl);
void                mex_media_player_iface_return_from_get_duration
                                                        (DBusGMethodInvocation *context,
                                                         gdouble out_duration);
void                (*mex_media_player_iface_get_can_seek_impl)
                                                        (MexMediaPlayerIface *self,
                                                         DBusGMethodInvocation *context);
void                mex_media_player_iface_implement_get_can_seek
                                                        (MexMediaPlayerIfaceClass *klass,
                                                         mex_media_player_iface_get_can_seek_impl impl);
void                mex_media_player_iface_return_from_get_can_seek
                                                        (DBusGMethodInvocation *context,
                                                         gboolean out_seekable);
void                mex_media_player_iface_emit_audio_volume_changed
                                                        (gpointer instance,
                                                         gdouble arg_volume);
void                mex_media_player_iface_emit_playing_changed
                                                        (gpointer instance,
                                                         gboolean arg_playing);
void                mex_media_player_iface_emit_progress_changed
                                                        (gpointer instance,
                                                         gdouble arg_progress);
void                mex_media_player_iface_emit_duration_changed
                                                        (gpointer instance,
                                                         gdouble arg_duration);
void                mex_media_player_iface_emit_error   (gpointer instance,
                                                         const gchar *arg_error);
void                mex_media_player_iface_emit_buffer_fill_changed
                                                        (gpointer instance,
                                                         gdouble arg_buffer);
void                mex_media_player_iface_emit_can_seek_changed
                                                        (gpointer instance,
                                                         gboolean arg_seekable);
void                mex_media_player_iface_emit_eos     (gpointer instance);
                    MexMediaPlayerIface;
                    MexMediaPlayerIfaceClass;

Description

Details

mex_media_player_iface_set_audio_volume_impl ()

void                (*mex_media_player_iface_set_audio_volume_impl)
                                                        (MexMediaPlayerIface *self,
                                                         gdouble in_volume,
                                                         DBusGMethodInvocation *context);

The signature of an implementation of the D-Bus method SetAudioVolume on interface com.meego.mex.MediaPlayer.

self :

The object implementing this interface

in_volume :

gdouble (FIXME, generate documentation)

context :

Used to return values or throw an error

mex_media_player_iface_implement_set_audio_volume ()

void                mex_media_player_iface_implement_set_audio_volume
                                                        (MexMediaPlayerIfaceClass *klass,
                                                         mex_media_player_iface_set_audio_volume_impl impl);

Register an implementation for the SetAudioVolume method in the vtable of an implementation of this interface. To be called from the interface init function.

klass :

A class whose instances implement this interface

impl :

A callback used to implement the SetAudioVolume D-Bus method

mex_media_player_iface_return_from_set_audio_volume ()

void                mex_media_player_iface_return_from_set_audio_volume
                                                        (DBusGMethodInvocation *context);

Return successfully by calling dbus_g_method_return(). This inline function exists only to provide type-safety.

context :

The D-Bus method invocation context

mex_media_player_iface_get_audio_volume_impl ()

void                (*mex_media_player_iface_get_audio_volume_impl)
                                                        (MexMediaPlayerIface *self,
                                                         DBusGMethodInvocation *context);

The signature of an implementation of the D-Bus method GetAudioVolume on interface com.meego.mex.MediaPlayer.

self :

The object implementing this interface

context :

Used to return values or throw an error

mex_media_player_iface_implement_get_audio_volume ()

void                mex_media_player_iface_implement_get_audio_volume
                                                        (MexMediaPlayerIfaceClass *klass,
                                                         mex_media_player_iface_get_audio_volume_impl impl);

Register an implementation for the GetAudioVolume method in the vtable of an implementation of this interface. To be called from the interface init function.

klass :

A class whose instances implement this interface

impl :

A callback used to implement the GetAudioVolume D-Bus method

mex_media_player_iface_return_from_get_audio_volume ()

void                mex_media_player_iface_return_from_get_audio_volume
                                                        (DBusGMethodInvocation *context,
                                                         gdouble out_volume);

Return successfully by calling dbus_g_method_return(). This inline function exists only to provide type-safety.

context :

The D-Bus method invocation context

out_volume :

gdouble (FIXME, generate documentation)

mex_media_player_iface_set_uri_impl ()

void                (*mex_media_player_iface_set_uri_impl)
                                                        (MexMediaPlayerIface *self,
                                                         const gchar *in_uri,
                                                         DBusGMethodInvocation *context);

The signature of an implementation of the D-Bus method SetUri on interface com.meego.mex.MediaPlayer.

self :

The object implementing this interface

in_uri :

const gchar * (FIXME, generate documentation)

context :

Used to return values or throw an error

mex_media_player_iface_implement_set_uri ()

void                mex_media_player_iface_implement_set_uri
                                                        (MexMediaPlayerIfaceClass *klass,
                                                         mex_media_player_iface_set_uri_impl impl);

Register an implementation for the SetUri method in the vtable of an implementation of this interface. To be called from the interface init function.

klass :

A class whose instances implement this interface

impl :

A callback used to implement the SetUri D-Bus method

mex_media_player_iface_return_from_set_uri ()

void                mex_media_player_iface_return_from_set_uri
                                                        (DBusGMethodInvocation *context);

Return successfully by calling dbus_g_method_return(). This inline function exists only to provide type-safety.

context :

The D-Bus method invocation context

mex_media_player_iface_get_uri_impl ()

void                (*mex_media_player_iface_get_uri_impl)
                                                        (MexMediaPlayerIface *self,
                                                         DBusGMethodInvocation *context);

The signature of an implementation of the D-Bus method GetUri on interface com.meego.mex.MediaPlayer.

self :

The object implementing this interface

context :

Used to return values or throw an error

mex_media_player_iface_implement_get_uri ()

void                mex_media_player_iface_implement_get_uri
                                                        (MexMediaPlayerIfaceClass *klass,
                                                         mex_media_player_iface_get_uri_impl impl);

Register an implementation for the GetUri method in the vtable of an implementation of this interface. To be called from the interface init function.

klass :

A class whose instances implement this interface

impl :

A callback used to implement the GetUri D-Bus method

mex_media_player_iface_return_from_get_uri ()

void                mex_media_player_iface_return_from_get_uri
                                                        (DBusGMethodInvocation *context,
                                                         const gchar *out_uri);

Return successfully by calling dbus_g_method_return(). This inline function exists only to provide type-safety.

context :

The D-Bus method invocation context

out_uri :

const gchar * (FIXME, generate documentation)

mex_media_player_iface_set_playing_impl ()

void                (*mex_media_player_iface_set_playing_impl)
                                                        (MexMediaPlayerIface *self,
                                                         gboolean in_playing,
                                                         DBusGMethodInvocation *context);

The signature of an implementation of the D-Bus method SetPlaying on interface com.meego.mex.MediaPlayer.

self :

The object implementing this interface

in_playing :

gboolean (FIXME, generate documentation)

context :

Used to return values or throw an error

mex_media_player_iface_implement_set_playing ()

void                mex_media_player_iface_implement_set_playing
                                                        (MexMediaPlayerIfaceClass *klass,
                                                         mex_media_player_iface_set_playing_impl impl);

Register an implementation for the SetPlaying method in the vtable of an implementation of this interface. To be called from the interface init function.

klass :

A class whose instances implement this interface

impl :

A callback used to implement the SetPlaying D-Bus method

mex_media_player_iface_return_from_set_playing ()

void                mex_media_player_iface_return_from_set_playing
                                                        (DBusGMethodInvocation *context);

Return successfully by calling dbus_g_method_return(). This inline function exists only to provide type-safety.

context :

The D-Bus method invocation context

mex_media_player_iface_get_playing_impl ()

void                (*mex_media_player_iface_get_playing_impl)
                                                        (MexMediaPlayerIface *self,
                                                         DBusGMethodInvocation *context);

The signature of an implementation of the D-Bus method GetPlaying on interface com.meego.mex.MediaPlayer.

self :

The object implementing this interface

context :

Used to return values or throw an error

mex_media_player_iface_implement_get_playing ()

void                mex_media_player_iface_implement_get_playing
                                                        (MexMediaPlayerIfaceClass *klass,
                                                         mex_media_player_iface_get_playing_impl impl);

Register an implementation for the GetPlaying method in the vtable of an implementation of this interface. To be called from the interface init function.

klass :

A class whose instances implement this interface

impl :

A callback used to implement the GetPlaying D-Bus method

mex_media_player_iface_return_from_get_playing ()

void                mex_media_player_iface_return_from_get_playing
                                                        (DBusGMethodInvocation *context,
                                                         gboolean out_playing);

Return successfully by calling dbus_g_method_return(). This inline function exists only to provide type-safety.

context :

The D-Bus method invocation context

out_playing :

gboolean (FIXME, generate documentation)

mex_media_player_iface_set_progress_impl ()

void                (*mex_media_player_iface_set_progress_impl)
                                                        (MexMediaPlayerIface *self,
                                                         gdouble in_progress,
                                                         DBusGMethodInvocation *context);

The signature of an implementation of the D-Bus method SetProgress on interface com.meego.mex.MediaPlayer.

self :

The object implementing this interface

in_progress :

gdouble (FIXME, generate documentation)

context :

Used to return values or throw an error

mex_media_player_iface_implement_set_progress ()

void                mex_media_player_iface_implement_set_progress
                                                        (MexMediaPlayerIfaceClass *klass,
                                                         mex_media_player_iface_set_progress_impl impl);

Register an implementation for the SetProgress method in the vtable of an implementation of this interface. To be called from the interface init function.

klass :

A class whose instances implement this interface

impl :

A callback used to implement the SetProgress D-Bus method

mex_media_player_iface_return_from_set_progress ()

void                mex_media_player_iface_return_from_set_progress
                                                        (DBusGMethodInvocation *context);

Return successfully by calling dbus_g_method_return(). This inline function exists only to provide type-safety.

context :

The D-Bus method invocation context

mex_media_player_iface_get_progress_impl ()

void                (*mex_media_player_iface_get_progress_impl)
                                                        (MexMediaPlayerIface *self,
                                                         DBusGMethodInvocation *context);

The signature of an implementation of the D-Bus method GetProgress on interface com.meego.mex.MediaPlayer.

self :

The object implementing this interface

context :

Used to return values or throw an error

mex_media_player_iface_implement_get_progress ()

void                mex_media_player_iface_implement_get_progress
                                                        (MexMediaPlayerIfaceClass *klass,
                                                         mex_media_player_iface_get_progress_impl impl);

Register an implementation for the GetProgress method in the vtable of an implementation of this interface. To be called from the interface init function.

klass :

A class whose instances implement this interface

impl :

A callback used to implement the GetProgress D-Bus method

mex_media_player_iface_return_from_get_progress ()

void                mex_media_player_iface_return_from_get_progress
                                                        (DBusGMethodInvocation *context,
                                                         gdouble out_progress);

Return successfully by calling dbus_g_method_return(). This inline function exists only to provide type-safety.

context :

The D-Bus method invocation context

out_progress :

gdouble (FIXME, generate documentation)

mex_media_player_iface_get_duration_impl ()

void                (*mex_media_player_iface_get_duration_impl)
                                                        (MexMediaPlayerIface *self,
                                                         DBusGMethodInvocation *context);

The signature of an implementation of the D-Bus method GetDuration on interface com.meego.mex.MediaPlayer.

self :

The object implementing this interface

context :

Used to return values or throw an error

mex_media_player_iface_implement_get_duration ()

void                mex_media_player_iface_implement_get_duration
                                                        (MexMediaPlayerIfaceClass *klass,
                                                         mex_media_player_iface_get_duration_impl impl);

Register an implementation for the GetDuration method in the vtable of an implementation of this interface. To be called from the interface init function.

klass :

A class whose instances implement this interface

impl :

A callback used to implement the GetDuration D-Bus method

mex_media_player_iface_return_from_get_duration ()

void                mex_media_player_iface_return_from_get_duration
                                                        (DBusGMethodInvocation *context,
                                                         gdouble out_duration);

Return successfully by calling dbus_g_method_return(). This inline function exists only to provide type-safety.

context :

The D-Bus method invocation context

out_duration :

gdouble (FIXME, generate documentation)

mex_media_player_iface_get_can_seek_impl ()

void                (*mex_media_player_iface_get_can_seek_impl)
                                                        (MexMediaPlayerIface *self,
                                                         DBusGMethodInvocation *context);

The signature of an implementation of the D-Bus method GetCanSeek on interface com.meego.mex.MediaPlayer.

self :

The object implementing this interface

context :

Used to return values or throw an error

mex_media_player_iface_implement_get_can_seek ()

void                mex_media_player_iface_implement_get_can_seek
                                                        (MexMediaPlayerIfaceClass *klass,
                                                         mex_media_player_iface_get_can_seek_impl impl);

Register an implementation for the GetCanSeek method in the vtable of an implementation of this interface. To be called from the interface init function.

klass :

A class whose instances implement this interface

impl :

A callback used to implement the GetCanSeek D-Bus method

mex_media_player_iface_return_from_get_can_seek ()

void                mex_media_player_iface_return_from_get_can_seek
                                                        (DBusGMethodInvocation *context,
                                                         gboolean out_seekable);

Return successfully by calling dbus_g_method_return(). This inline function exists only to provide type-safety.

context :

The D-Bus method invocation context

out_seekable :

gboolean (FIXME, generate documentation)

mex_media_player_iface_emit_audio_volume_changed ()

void                mex_media_player_iface_emit_audio_volume_changed
                                                        (gpointer instance,
                                                         gdouble arg_volume);

Type-safe wrapper around g_signal_emit to emit the AudioVolumeChanged signal on interface com.meego.mex.MediaPlayer.

instance :

The object implementing this interface

arg_volume :

gdouble (FIXME, generate documentation)

mex_media_player_iface_emit_playing_changed ()

void                mex_media_player_iface_emit_playing_changed
                                                        (gpointer instance,
                                                         gboolean arg_playing);

Type-safe wrapper around g_signal_emit to emit the PlayingChanged signal on interface com.meego.mex.MediaPlayer.

instance :

The object implementing this interface

arg_playing :

gboolean (FIXME, generate documentation)

mex_media_player_iface_emit_progress_changed ()

void                mex_media_player_iface_emit_progress_changed
                                                        (gpointer instance,
                                                         gdouble arg_progress);

Type-safe wrapper around g_signal_emit to emit the ProgressChanged signal on interface com.meego.mex.MediaPlayer.

instance :

The object implementing this interface

arg_progress :

gdouble (FIXME, generate documentation)

mex_media_player_iface_emit_duration_changed ()

void                mex_media_player_iface_emit_duration_changed
                                                        (gpointer instance,
                                                         gdouble arg_duration);

Type-safe wrapper around g_signal_emit to emit the DurationChanged signal on interface com.meego.mex.MediaPlayer.

instance :

The object implementing this interface

arg_duration :

gdouble (FIXME, generate documentation)

mex_media_player_iface_emit_error ()

void                mex_media_player_iface_emit_error   (gpointer instance,
                                                         const gchar *arg_error);

Type-safe wrapper around g_signal_emit to emit the Error signal on interface com.meego.mex.MediaPlayer.

instance :

The object implementing this interface

arg_error :

const gchar * (FIXME, generate documentation)

mex_media_player_iface_emit_buffer_fill_changed ()

void                mex_media_player_iface_emit_buffer_fill_changed
                                                        (gpointer instance,
                                                         gdouble arg_buffer);

Type-safe wrapper around g_signal_emit to emit the BufferFillChanged signal on interface com.meego.mex.MediaPlayer.

instance :

The object implementing this interface

arg_buffer :

gdouble (FIXME, generate documentation)

mex_media_player_iface_emit_can_seek_changed ()

void                mex_media_player_iface_emit_can_seek_changed
                                                        (gpointer instance,
                                                         gboolean arg_seekable);

Type-safe wrapper around g_signal_emit to emit the CanSeekChanged signal on interface com.meego.mex.MediaPlayer.

instance :

The object implementing this interface

arg_seekable :

gboolean (FIXME, generate documentation)

mex_media_player_iface_emit_eos ()

void                mex_media_player_iface_emit_eos     (gpointer instance);

Type-safe wrapper around g_signal_emit to emit the EOS signal on interface com.meego.mex.MediaPlayer.

instance :

The object implementing this interface

MexMediaPlayerIface

typedef struct _MexMediaPlayerIface MexMediaPlayerIface;

Dummy typedef representing any implementation of this interface.


MexMediaPlayerIfaceClass

typedef struct _MexMediaPlayerIfaceClass MexMediaPlayerIfaceClass;

The class of MexMediaPlayerIface.