Mercurial > pidgin
diff finch/gntsound.h @ 19154:01d574f529e0
One leak fix. Mostly cosmetic changes.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Wed, 11 Jul 2007 17:36:15 +0000 |
parents | 5ff1231993af |
children | fbecc35c23bb |
line wrap: on
line diff
--- a/finch/gntsound.h Wed Jul 11 16:20:12 2007 +0000 +++ b/finch/gntsound.h Wed Jul 11 17:36:15 2007 +0000 @@ -28,52 +28,37 @@ #include "sound.h" /**********************************************************************/ -/** @name GNT Sound API */ +/** @name GNT Sound API */ /**********************************************************************/ /*@{*/ /** -* Get the prefs option for an event. -* -* @param event The event. -* @return The option. -*/ -const char *finch_sound_get_event_option(PurpleSoundEventID event); - -/** -* Get the label for an event. -* -* @param event The event. -* @return The label. -*/ -const char *finch_sound_get_event_label(PurpleSoundEventID event); - -/* * Get the name of the active sound profile. * - * @return the name + * @return The name of the profile */ const char *finch_sound_get_active_profile(void); /** * Set the active profile. If the profile doesn't exist, nothing is changed. * - * + * @param name The name of the profile */ void finch_sound_set_active_profile(const char *name); /** * Get a list of available sound profiles. * - * @return A list of strings denoting sound profile names. Free this list when you're done with it. + * @return A list of strings denoting sound profile names. + * Caller must free the list (but not the data). */ GList *finch_sound_get_profiles(void); /** -* Gets GNT sound UI ops. -* -* @return The UI operations structure. -*/ + * Gets GNT sound UI ops. + * + * @return The UI operations structure. + */ PurpleSoundUiOps *finch_sound_get_ui_ops(void); /** @@ -81,13 +66,6 @@ */ void finch_sounds_show_all(void); -/** -* Get the handle for the GNT sound system. -* -* @return The handle to the sound system -*/ -void *finch_sound_get_handle(void); - /*@}*/ #endif