diff options
Diffstat (limited to 'src/sound-service-dbus.c')
-rw-r--r-- | src/sound-service-dbus.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/sound-service-dbus.c b/src/sound-service-dbus.c index 88ddd22..06117eb 100644 --- a/src/sound-service-dbus.c +++ b/src/sound-service-dbus.c @@ -25,7 +25,6 @@ #include <dbus/dbus-glib.h> #include "dbus-shared-names.h" #include "sound-service-dbus.h" -//#include "sound-service-client.h" #include "sound-service-server.h" #include "common-defs.h" #include "sound-service-marshal.h" @@ -54,7 +53,6 @@ static void sound_service_dbus_class_init (SoundServiceDbusClass *klass); static void sound_service_dbus_init (SoundServiceDbus *self); static void sound_service_dbus_dispose (GObject *object); static void sound_service_dbus_finalize (GObject *object); -gboolean sound_service_dbus_set_sink_volume(SoundServiceDbus* service, const guint volume_percent, GError** gerror); /* GObject Boilerplate */ G_DEFINE_TYPE (SoundServiceDbus, sound_service_dbus, G_TYPE_OBJECT); @@ -82,8 +80,9 @@ sound_service_dbus_class_init (SoundServiceDbusClass *klass) G_TYPE_NONE, 2, G_TYPE_INT, G_TYPE_BOOLEAN); } -//void sound_service_dbus_sink_volume_changed (SoundServiceDbus* obj, gint volume); - +/** +DBUS Method Callbacks +**/ gboolean sound_service_dbus_set_sink_volume(SoundServiceDbus* service, const guint volume_percent, GError** gerror) { g_debug("in the set sink volume method in the sound service dbus! Holy Fuck with volume_percent of %i", volume_percent); @@ -109,9 +108,7 @@ void sound_service_dbus_sink_input_while_muted(SoundServiceDbus* obj, gint sink_ value); } - - - + static void sound_service_dbus_init (SoundServiceDbus *self) { |