From 494c5dd4e52319a923402dcf338a31cccb4c9204 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Tue, 23 Sep 2014 11:18:17 -0500 Subject: Adding in a privacy settings proxy --- src/CMakeLists.txt | 4 ++++ src/accounts-service-privacy-settings.vala | 26 ++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 src/accounts-service-privacy-settings.vala diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 98bc7c4..00d53ae 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -103,11 +103,15 @@ vala_add(indicator-sound-service media-player mpris2-interfaces accounts-service-sound-settings + accounts-service-privacy-settings greeter-broadcast ) vala_add(indicator-sound-service accounts-service-sound-settings.vala ) +vala_add(indicator-sound-service + accounts-service-privacy-settings.vala +) vala_add(indicator-sound-service greeter-broadcast.vala ) diff --git a/src/accounts-service-privacy-settings.vala b/src/accounts-service-privacy-settings.vala new file mode 100644 index 0000000..ef5c309 --- /dev/null +++ b/src/accounts-service-privacy-settings.vala @@ -0,0 +1,26 @@ +/* + * 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.SecurityPrivacy")] +public interface AccountsServicePrivacySettings : Object { + // properties + public abstract bool stats_welcome_screen {owned get; set;} + public abstract bool messages_welcome_screen {owned get; set;} +} + -- cgit v1.2.3