Include _generated now so I get all the latest fancy stuff
[theonering] / src / tp / _generated / Channel_Dispatcher_Interface_Operation_List.py
1 # -*- coding: utf-8 -*-
2 # Generated from the Telepathy spec
3 """Copyright © 2008-2009 Collabora Ltd.
4 Copyright © 2008-2009 Nokia Corporation
5
6     This library is free software; you can redistribute it and/or
7       modify it under the terms of the GNU Lesser General Public
8       License as published by the Free Software Foundation; either
9       version 2.1 of the License, or (at your option) any later version.
10
11     This library is distributed in the hope that it will be useful,
12       but WITHOUT ANY WARRANTY; without even the implied warranty of
13       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14       Lesser General Public License for more details.
15
16     You should have received a copy of the GNU Lesser General Public
17       License along with this library; if not, write to the Free Software
18       Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
19       USA.
20   
21 """
22
23 import dbus.service
24
25
26 class ChannelDispatcherInterfaceOperationList(dbus.service.Interface):
27     """\
28       This interface allows users of the ChannelDispatcher to enumerate
29         all the pending dispatch operations, with change notification.
30
31       
32         The existence of the
33           DispatchOperations property allows a
34           newly started approver to pick up existing dispatch operations.
35
36         This is on a separate interface so clients that aren't interested
37           in doing this aren't woken up by its signals.
38       
39     """
40
41     def __init__(self):
42         self._interfaces.add('org.freedesktop.Telepathy.ChannelDispatcher.Interface.OperationList')
43
44     @dbus.service.signal('org.freedesktop.Telepathy.ChannelDispatcher.Interface.OperationList', signature='oa{sv}')
45     def NewDispatchOperation(self, Dispatch_Operation, Properties):
46         """
47         Emitted when a dispatch operation is added to
48           DispatchOperations.
49       
50         """
51         pass
52   
53     @dbus.service.signal('org.freedesktop.Telepathy.ChannelDispatcher.Interface.OperationList', signature='o')
54     def DispatchOperationFinished(self, Dispatch_Operation):
55         """
56         Emitted when a dispatch operation finishes (i.e. exactly once per
57         emission of ChannelDispatchOperation.Finished).
58
59         
60           Strictly speaking this is redundant with
61           ChannelDispatchOperation.Finished, but it provides full
62           change-notification for the
63           DispatchOperations property.
64         
65       
66         """
67         pass
68