diff finch/gntsound.h @ 19146:5ff1231993af

Added sound profiles
author Eric Polino <aluink@pidgin.im>
date Tue, 10 Jul 2007 16:10:06 +0000
parents 907c41608ada
children 01d574f529e0
line wrap: on
line diff
--- a/finch/gntsound.h	Mon Jul 09 21:29:08 2007 +0000
+++ b/finch/gntsound.h	Tue Jul 10 16:10:06 2007 +0000
@@ -48,6 +48,27 @@
 */
 const char *finch_sound_get_event_label(PurpleSoundEventID event);
 
+/*
+ * Get the name of the active sound profile.
+ *
+ * @return the name
+ */
+const char *finch_sound_get_active_profile(void);
+
+/**
+ * Set the active profile.  If the profile doesn't exist, nothing is changed.
+ * 
+ * 
+ */
+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.
+ */
+GList *finch_sound_get_profiles(void);
+
 /**
 * Gets GNT sound UI ops.
 *