~ubuntu-branches/ubuntu/trusty/indicator-sound-gtk2/trusty-proposed

« back to all changes in this revision

Viewing changes to src/freedesktop-interfaces.vala

  • Committer: Package Import Robot
  • Author(s): Lionel Le Folgoc
  • Date: 2012-09-10 00:09:01 UTC
  • Revision ID: package-import@ubuntu.com-20120910000901-q6469svv5d3pmn0y
Tags: upstream-12.10.0.1
ImportĀ upstreamĀ versionĀ 12.10.0.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
Copyright 2010 Canonical Ltd.
 
3
 
 
4
Authors:
 
5
    Conor Curran <conor.curran@canonical.com>
 
6
 
 
7
This program is free software: you can redistribute it and/or modify it 
 
8
under the terms of the GNU General Public License version 3, as published 
 
9
by the Free Software Foundation.
 
10
 
 
11
This program is distributed in the hope that it will be useful, but 
 
12
WITHOUT ANY WARRANTY; without even the implied warranties of 
 
13
MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR 
 
14
PURPOSE.  See the GNU General Public License for more details.
 
15
 
 
16
You should have received a copy of the GNU General Public License along 
 
17
with this program.  If not, see <http://www.gnu.org/licenses/>.
 
18
*/
 
19
 
 
20
[DBus (name = "org.freedesktop.DBus")]
 
21
public interface FreeDesktopObject: Object {
 
22
  public abstract async string[] list_names() throws IOError;
 
23
  public abstract signal void name_owner_changed ( string name,
 
24
                                                   string old_owner,
 
25
                                                   string new_owner );
 
26
}
 
27
 
 
28
[DBus (name = "org.freedesktop.DBus.Introspectable")]
 
29
public interface FreeDesktopIntrospectable: Object {
 
30
  public abstract string Introspect() throws IOError;
 
31
}
 
32
 
 
33
[DBus (name = "org.freedesktop.DBus.Properties")]
 
34
public interface FreeDesktopProperties : Object{
 
35
  public signal void PropertiesChanged (string source, HashTable<string, Variant?> changed_properties,
 
36
                                        string[] invalid );
 
37
}
 
38
 
 
39
public errordomain XmlError {
 
40
    FILE_NOT_FOUND,
 
41
    XML_DOCUMENT_EMPTY
 
42
}
 
43
 
 
44
const string FREEDESKTOP_SERVICE = "org.freedesktop.DBus";
 
45
const string FREEDESKTOP_OBJECT = "/org/freedesktop/DBus";
 
46
 
 
47