aboutsummaryrefslogtreecommitdiff
path: root/src/freedesktop-interfaces.vala
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2011-01-11 16:44:38 -0600
committerKen VanDine <ken.vandine@canonical.com>2011-01-11 16:44:38 -0600
commit412bffad64182bfae1e2408b89f9488f0da38481 (patch)
tree1617f11e230dcd76678196fd1fde6b95a1742bcd /src/freedesktop-interfaces.vala
parent13d392dab3f0fcba861bd6607ce17d68990b9228 (diff)
parent714c7c49776e8a341254a3e4297b465d181206cd (diff)
downloadayatana-indicator-sound-412bffad64182bfae1e2408b89f9488f0da38481.tar.gz
ayatana-indicator-sound-412bffad64182bfae1e2408b89f9488f0da38481.tar.bz2
ayatana-indicator-sound-412bffad64182bfae1e2408b89f9488f0da38481.zip
Import upstream version 0.5.5
Diffstat (limited to 'src/freedesktop-interfaces.vala')
-rw-r--r--src/freedesktop-interfaces.vala47
1 files changed, 47 insertions, 0 deletions
diff --git a/src/freedesktop-interfaces.vala b/src/freedesktop-interfaces.vala
new file mode 100644
index 0000000..4d75044
--- /dev/null
+++ b/src/freedesktop-interfaces.vala
@@ -0,0 +1,47 @@
+/*
+Copyright 2010 Canonical Ltd.
+
+Authors:
+ Conor Curran <conor.curran@canonical.com>
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License version 3, as published
+by the Free Software Foundation.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranties of
+MERCHANTABILITY, SATISFACTORY QUALITY, 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/>.
+*/
+
+[DBus (name = "org.freedesktop.DBus")]
+public interface FreeDesktopObject: Object {
+ public abstract async string[] list_names() throws IOError;
+ public abstract signal void name_owner_changed ( string name,
+ string old_owner,
+ string new_owner );
+}
+
+[DBus (name = "org.freedesktop.DBus.Introspectable")]
+public interface FreeDesktopIntrospectable: Object {
+ public abstract string Introspect() throws IOError;
+}
+
+[DBus (name = "org.freedesktop.DBus.Properties")]
+public interface FreeDesktopProperties : Object{
+ public signal void PropertiesChanged (string source, HashTable<string, Variant?> changed_properties,
+ string[] invalid );
+}
+
+public errordomain XmlError {
+ FILE_NOT_FOUND,
+ XML_DOCUMENT_EMPTY
+}
+
+const string FREEDESKTOP_SERVICE = "org.freedesktop.DBus";
+const string FREEDESKTOP_OBJECT = "/org/freedesktop/DBus";
+
+