Include _generated now so I get all the latest fancy stuff
[theonering] / src / tp / _generated / Channel_Handler.py
1 # -*- coding: utf-8 -*-
2 # Generated from the Telepathy spec
3 """Copyright (C) 2007-2008 Collabora Limited
4
5     This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
9
10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13 Lesser General Public License for more details.
14
15 You should have received a copy of the GNU Lesser General Public
16 License along with this library; if not, write to the Free Software
17 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18   
19 """
20
21 import dbus.service
22
23
24 class ChannelHandler(dbus.service.Object):
25     """\
26       An interface exported by Mission Control 4 client applications which
27         are able to handle incoming channels.
28     """
29
30     @dbus.service.method('org.freedesktop.Telepathy.ChannelHandler', in_signature='sosouu', out_signature='')
31     def HandleChannel(self, Bus_Name, Connection, Channel_Type, Channel, Handle_Type, Handle):
32         """
33         Called when a channel handler should handle a new channel.
34       
35         """
36         raise NotImplementedError
37