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
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.
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.
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.
26 class ConnectionInterfaceContacts(dbus.service.Interface):
28 This interface allows many attributes of many contacts to be
29 obtained in a single D-Bus round trip.
31 Each contact attribute has an string identifier
32 (Contact_Attribute), which is namespaced
33 by the D-Bus interface which defines it.
37 self._interfaces.add('org.freedesktop.Telepathy.Connection.Interface.Contacts')
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):
42 Return any number of contact attributes for the given handles.
45 raise NotImplementedError