aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2014-10-02 09:13:38 -0500
committerTed Gould <ted@gould.cx>2014-10-02 09:13:38 -0500
commit9df51f4ad93a7d69d526610a6817d428003de4d3 (patch)
tree1d56ae649bbdec2c966a57471d8be963a590b7e3
parentbc76f6bec418085b700dedd9551d734f640a6e2a (diff)
downloadayatana-indicator-sound-9df51f4ad93a7d69d526610a6817d428003de4d3.tar.gz
ayatana-indicator-sound-9df51f4ad93a7d69d526610a6817d428003de4d3.tar.bz2
ayatana-indicator-sound-9df51f4ad93a7d69d526610a6817d428003de4d3.zip
Adding in a system sound settings proxy
-rw-r--r--src/CMakeLists.txt4
-rw-r--r--src/accounts-service-system-sound-settings.vala25
2 files changed, 29 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 00d53ae..4a4443f 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -104,6 +104,7 @@ vala_add(indicator-sound-service
mpris2-interfaces
accounts-service-sound-settings
accounts-service-privacy-settings
+ accounts-service-system-sound-settings
greeter-broadcast
)
vala_add(indicator-sound-service
@@ -113,6 +114,9 @@ vala_add(indicator-sound-service
accounts-service-privacy-settings.vala
)
vala_add(indicator-sound-service
+ accounts-service-system-sound-settings.vala
+)
+vala_add(indicator-sound-service
greeter-broadcast.vala
)
diff --git a/src/accounts-service-system-sound-settings.vala b/src/accounts-service-system-sound-settings.vala
new file mode 100644
index 0000000..283a606
--- /dev/null
+++ b/src/accounts-service-system-sound-settings.vala
@@ -0,0 +1,25 @@
+/*
+ * Copyright 2014 © Canonical Ltd.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 3.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ * Authors:
+ * Ted Gould <ted@canonical.com>
+ */
+
+[DBus (name = "com.ubuntu.touch.AccountsService.Sound")]
+public interface AccountsServiceSystemSoundSettings : Object {
+ // properties
+ public abstract bool silent_mode {owned get; set;}
+}
+