summaryrefslogtreecommitdiff
path: root/backends/pulse/pulse-client-stream.h
diff options
context:
space:
mode:
authorMichal Ratajsky <[email protected]>2014-06-20 00:12:40 +0200
committerMichal Ratajsky <[email protected]>2014-06-20 00:12:40 +0200
commit6be9a89195e0d3bf8408cea661f22cb97b638f24 (patch)
tree745cfec763facc62b6c3bc51cd246e5cad4d9f68 /backends/pulse/pulse-client-stream.h
parenta2290d5e13ccee88fd9ae66a3895eb4da646f81f (diff)
downloadlibmatemixer-6be9a89195e0d3bf8408cea661f22cb97b638f24.tar.bz2
libmatemixer-6be9a89195e0d3bf8408cea661f22cb97b638f24.tar.xz
Pulse and API updates, fixes
Diffstat (limited to 'backends/pulse/pulse-client-stream.h')
-rw-r--r--backends/pulse/pulse-client-stream.h28
1 files changed, 20 insertions, 8 deletions
diff --git a/backends/pulse/pulse-client-stream.h b/backends/pulse/pulse-client-stream.h
index cf801ce..c24a535 100644
--- a/backends/pulse/pulse-client-stream.h
+++ b/backends/pulse/pulse-client-stream.h
@@ -22,8 +22,7 @@
#include <glib-object.h>
#include <libmatemixer/matemixer-client-stream.h>
-
-#include <pulse/pulseaudio.h>
+#include <libmatemixer/matemixer-stream.h>
#include "pulse-stream.h"
@@ -38,7 +37,7 @@ G_BEGIN_DECLS
#define PULSE_CLIENT_STREAM_CLASS(k) \
(G_TYPE_CHECK_CLASS_CAST ((k), PULSE_TYPE_CLIENT_STREAM, PulseClientStreamClass))
#define PULSE_IS_CLIENT_STREAM_CLASS(k) \
- (G_TYPE_CLASS_CHECK_CLASS_TYPE ((k), PULSE_TYPE_CLIENT_STREAM))
+ (G_TYPE_CHECK_CLASS_TYPE ((k), PULSE_TYPE_CLIENT_STREAM))
#define PULSE_CLIENT_STREAM_GET_CLASS(o) \
(G_TYPE_INSTANCE_GET_CLASS ((o), PULSE_TYPE_CLIENT_STREAM, PulseClientStreamClass))
@@ -50,19 +49,32 @@ struct _PulseClientStream
{
PulseStream parent;
+ /*< private >*/
PulseClientStreamPrivate *priv;
};
struct _PulseClientStreamClass
{
- PulseStreamClass parent;
+ PulseStreamClass parent_class;
- gboolean (*set_parent) (MateMixerClientStream *client,
- MateMixerStream *stream);
- gboolean (*remove) (MateMixerClientStream *client);
+ gboolean (*set_parent) (MateMixerClientStream *client,
+ MateMixerStream *stream);
+ gboolean (*remove) (MateMixerClientStream *client);
};
-GType pulse_client_stream_get_type (void) G_GNUC_CONST;
+GType pulse_client_stream_get_type (void) G_GNUC_CONST;
+
+gboolean pulse_client_stream_update_parent (MateMixerClientStream *client,
+ MateMixerStream *parent);
+
+gboolean pulse_client_stream_update_app_name (MateMixerClientStream *client,
+ const gchar *app_name);
+gboolean pulse_client_stream_update_app_id (MateMixerClientStream *client,
+ const gchar *app_id);
+gboolean pulse_client_stream_update_app_version (MateMixerClientStream *client,
+ const gchar *app_version);
+gboolean pulse_client_stream_update_app_icon (MateMixerClientStream *client,
+ const gchar *app_icon);
G_END_DECLS