From 9df51f4ad93a7d69d526610a6817d428003de4d3 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Thu, 2 Oct 2014 09:13:38 -0500 Subject: Adding in a system sound settings proxy --- src/CMakeLists.txt | 4 ++++ src/accounts-service-system-sound-settings.vala | 25 +++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 src/accounts-service-system-sound-settings.vala (limited to 'src') 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 @@ -112,6 +113,9 @@ vala_add(indicator-sound-service 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 . + * + * Authors: + * Ted Gould + */ + +[DBus (name = "com.ubuntu.touch.AccountsService.Sound")] +public interface AccountsServiceSystemSoundSettings : Object { + // properties + public abstract bool silent_mode {owned get; set;} +} + -- cgit v1.2.3