Include _generated now so I get all the latest fancy stuff
[theonering] / src / tp / _generated / Connection_Interface_Contacts.py
1 # -*- coding: utf-8 -*-
2 # Generated from the Telepathy spec
3 """ Copyright (C) 2005-2008 Collabora Limited 
4  Copyright (C) 2005, 2006 Nokia Corporation 
5  Copyright (C) 2006 INdT 
6
7     This library is free software; you can redistribute it and/or modify it
8       under the terms of the GNU Lesser General Public License as published by
9       the Free Software Foundation; either version 2.1 of the License, or (at
10       your option) any later version.
11
12     This library is distributed in the hope that it will be useful, but
13       WITHOUT ANY WARRANTY; without even the implied warranty of
14       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser
15       General Public License for more details.
16
17     You should have received a copy of the GNU Lesser General Public License
18       along with this library; if not, write to the Free Software Foundation,
19       Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20   
21 """
22
23 import dbus.service
24
25
26 class ConnectionInterfaceContacts(dbus.service.Interface):
27     """\
28       This interface allows many attributes of many contacts to be
29         obtained in a single D-Bus round trip.
30
31       Each contact attribute has an string identifier
32         (Contact_Attribute), which is namespaced
33         by the D-Bus interface which defines it.
34     """
35
36     def __init__(self):
37         self._interfaces.add('org.freedesktop.Telepathy.Connection.Interface.Contacts')
38
39     @dbus.service.method('org.freedesktop.Telepathy.Connection.Interface.Contacts', in_signature='auasb', out_signature='a{ua{sv}}')
40     def GetContactAttributes(self, Handles, Interfaces, Hold):
41         """
42         Return any number of contact attributes for the given handles.
43       
44         """
45         raise NotImplementedError
46