aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-sound-manager.h
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-11-30 17:29:00 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-11-30 17:29:00 +0800
commit8172bca03c6f85d7dcc0ff39f1a81ccfd719b08b (patch)
treed6387df87b988b83dedc16ffb5ef73e5d0d30de9 /libempathy-gtk/empathy-sound-manager.h
parent0dca19234c147a94609c6659660e83135e765b9c (diff)
downloadgsoc2013-empathy-8172bca03c6f85d7dcc0ff39f1a81ccfd719b08b.tar
gsoc2013-empathy-8172bca03c6f85d7dcc0ff39f1a81ccfd719b08b.tar.gz
gsoc2013-empathy-8172bca03c6f85d7dcc0ff39f1a81ccfd719b08b.tar.bz2
gsoc2013-empathy-8172bca03c6f85d7dcc0ff39f1a81ccfd719b08b.tar.lz
gsoc2013-empathy-8172bca03c6f85d7dcc0ff39f1a81ccfd719b08b.tar.xz
gsoc2013-empathy-8172bca03c6f85d7dcc0ff39f1a81ccfd719b08b.tar.zst
gsoc2013-empathy-8172bca03c6f85d7dcc0ff39f1a81ccfd719b08b.zip
add EmpathySoundManager stub object (#636067)
Diffstat (limited to 'libempathy-gtk/empathy-sound-manager.h')
-rw-r--r--libempathy-gtk/empathy-sound-manager.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-sound-manager.h b/libempathy-gtk/empathy-sound-manager.h
index 95160b342..ca112e2d9 100644
--- a/libempathy-gtk/empathy-sound-manager.h
+++ b/libempathy-gtk/empathy-sound-manager.h
@@ -42,6 +42,32 @@ typedef enum {
LAST_EMPATHY_SOUND,
} EmpathySound;
+#define EMPATHY_TYPE_SOUND_MANAGER (empathy_sound_manager_get_type ())
+#define EMPATHY_SOUND_MANAGER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EMPATHY_TYPE_SOUND_MANAGER, EmpathySoundManager))
+#define EMPATHY_SOUND_MANAGER_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), EMPATHY_TYPE_SOUND_MANAGER, EmpathySoundManagerClass))
+#define EMPATHY_IS_SOUND_MANAGER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EMPATHY_TYPE_SOUND_MANAGER))
+#define EMPATHY_IS_SOUND_MANAGER_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EMPATHY_TYPE_SOUND_MANAGER))
+#define EMPATHY_SOUND_MANAGER_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EMPATHY_TYPE_SOUND_MANAGER, EmpathySoundManagerClass))
+
+typedef struct _EmpathySoundManager EmpathySoundManager;
+typedef struct _EmpathySoundManagerClass EmpathySoundManagerClass;
+typedef struct _EmpathySoundManagerPrivate EmpathySoundManagerPrivate;
+
+struct _EmpathySoundManager
+{
+ GObject parent;
+ EmpathySoundManagerPrivate *priv;
+};
+
+struct _EmpathySoundManagerClass
+{
+ GObjectClass parent_class;
+};
+
+GType empathy_sound_manager_get_type (void) G_GNUC_CONST;
+
+EmpathySoundManager * empathy_sound_manager_dup_singleton (void);
+
gboolean empathy_sound_play (GtkWidget *widget, EmpathySound sound_id);
void empathy_sound_stop (EmpathySound sound_id);