aboutsummaryrefslogtreecommitdiff
path: root/src/accounts-service-sound-settings.vala
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2014-03-24 15:02:25 +0000
committerCI bot <ps-jenkins@lists.canonical.com>2014-03-24 15:02:25 +0000
commit7a312f2f03a0bc0c52ce8a6f834849d70233cf61 (patch)
treeb7e124f7b3297dc0ea03e08052ae63a7d0d0acc6 /src/accounts-service-sound-settings.vala
parent0aae819193bfd6dba02207c4513ccb038d412d4e (diff)
parent7d47058ef00b8aab6e7b58e20bd6e5fbcecdfc34 (diff)
downloadayatana-indicator-sound-7a312f2f03a0bc0c52ce8a6f834849d70233cf61.tar.gz
ayatana-indicator-sound-7a312f2f03a0bc0c52ce8a6f834849d70233cf61.tar.bz2
ayatana-indicator-sound-7a312f2f03a0bc0c52ce8a6f834849d70233cf61.zip
Export currently running player to Accounts Service
Diffstat (limited to 'src/accounts-service-sound-settings.vala')
-rw-r--r--src/accounts-service-sound-settings.vala33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/accounts-service-sound-settings.vala b/src/accounts-service-sound-settings.vala
new file mode 100644
index 0000000..7e27bd5
--- /dev/null
+++ b/src/accounts-service-sound-settings.vala
@@ -0,0 +1,33 @@
+/*
+ * 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.canonical.indicator.sound.AccountsService")]
+public interface AccountsServiceSoundSettings : Object {
+ // properties
+ public abstract uint64 timestamp {owned get; set;}
+ public abstract string player_name {owned get; set;}
+ public abstract Variant player_icon {owned get; set;}
+ public abstract bool running {owned get; set;}
+ public abstract string state {owned get; set;}
+ public abstract string title {owned get; set;}
+ public abstract string artist {owned get; set;}
+ public abstract string album {owned get; set;}
+ public abstract string art_url {owned get; set;}
+}
+