summaryrefslogtreecommitdiff
path: root/backends/pulse/pulse-client-stream.h
diff options
context:
space:
mode:
authorMichal Ratajsky <[email protected]>2014-07-18 15:41:59 +0200
committerMichal Ratajsky <[email protected]>2014-07-18 15:41:59 +0200
commit56c76128b0144a5c61e77d2a7aec07a337cfb66d (patch)
treef67ce44025881578cf6de3332064c214da176a23 /backends/pulse/pulse-client-stream.h
parent85070f3b97a3213d75a7bebf86ad973aaa21c55b (diff)
downloadlibmatemixer-56c76128b0144a5c61e77d2a7aec07a337cfb66d.tar.bz2
libmatemixer-56c76128b0144a5c61e77d2a7aec07a337cfb66d.tar.xz
PulseAudio fixes and API updates
Diffstat (limited to 'backends/pulse/pulse-client-stream.h')
-rw-r--r--backends/pulse/pulse-client-stream.h41
1 files changed, 27 insertions, 14 deletions
diff --git a/backends/pulse/pulse-client-stream.h b/backends/pulse/pulse-client-stream.h
index 61e9c4d..fe24dc3 100644
--- a/backends/pulse/pulse-client-stream.h
+++ b/backends/pulse/pulse-client-stream.h
@@ -22,6 +22,7 @@
#include <glib-object.h>
#include <libmatemixer/matemixer-client-stream.h>
+#include <libmatemixer/matemixer-enums.h>
#include <libmatemixer/matemixer-stream.h>
#include "pulse-stream.h"
@@ -57,24 +58,36 @@ struct _PulseClientStreamClass
{
PulseStreamClass parent_class;
- gboolean (*set_parent) (MateMixerClientStream *client,
- MateMixerStream *stream);
- gboolean (*remove) (MateMixerClientStream *client);
+ /*< private >*/
+ /* Virtual table */
+ gboolean (*set_parent) (PulseClientStream *pclient,
+ PulseStream *pstream);
+
+ gboolean (*remove) (PulseClientStream *pclient);
+
+ /* Signals */
+ void (*removed) (PulseClientStream *pclient);
};
GType pulse_client_stream_get_type (void) G_GNUC_CONST;
-gboolean pulse_client_stream_update_parent (PulseClientStream *client,
- MateMixerStream *parent);
-
-gboolean pulse_client_stream_update_app_name (PulseClientStream *client,
- const gchar *app_name);
-gboolean pulse_client_stream_update_app_id (PulseClientStream *client,
- const gchar *app_id);
-gboolean pulse_client_stream_update_app_version (PulseClientStream *client,
- const gchar *app_version);
-gboolean pulse_client_stream_update_app_icon (PulseClientStream *client,
- const gchar *app_icon);
+gboolean pulse_client_stream_update_flags (PulseClientStream *pclient,
+ MateMixerClientStreamFlags flags);
+
+gboolean pulse_client_stream_update_role (PulseClientStream *pclient,
+ MateMixerClientStreamRole role);
+
+gboolean pulse_client_stream_update_parent (PulseClientStream *pclient,
+ MateMixerStream *parent);
+
+gboolean pulse_client_stream_update_app_name (PulseClientStream *pclient,
+ const gchar *app_name);
+gboolean pulse_client_stream_update_app_id (PulseClientStream *pclient,
+ const gchar *app_id);
+gboolean pulse_client_stream_update_app_version (PulseClientStream *pclient,
+ const gchar *app_version);
+gboolean pulse_client_stream_update_app_icon (PulseClientStream *pclient,
+ const gchar *app_icon);
G_END_DECLS