1 /*
2  * This file is part of telepathy-idle
3  *
4  * Copyright (C) 2006-2007 Collabora Limited
5  * Copyright (C) 2006-2007 Nokia Corporation
6  *
7  * This library is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Lesser General Public License
9  * version 2.1 as published by the Free Software Foundation.
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 St, Fifth Floor, Boston, MA  02110-1301  USA
19  */
20 
21 #ifndef __IDLE_CONNECTION_MANAGER_H__
22 #define __IDLE_CONNECTION_MANAGER_H__
23 
24 #include <glib-object.h>
25 #include <telepathy-glib/telepathy-glib.h>
26 
27 G_BEGIN_DECLS
28 
29 typedef struct _IdleConnectionManager IdleConnectionManager;
30 typedef struct _IdleConnectionManagerClass IdleConnectionManagerClass;
31 
32 struct _IdleConnectionManagerClass {
33 	TpBaseConnectionManagerClass parent_class;
34 };
35 
36 struct _IdleConnectionManager {
37 	TpBaseConnection parent;
38 };
39 
40 GType idle_connection_manager_get_type(void);
41 
42 /* TYPE MACROS */
43 #define IDLE_TYPE_CONNECTION_MANAGER \
44 	(idle_connection_manager_get_type())
45 #define IDLE_CONNECTION_MANAGER(obj) \
46 	(G_TYPE_CHECK_INSTANCE_CAST((obj), IDLE_TYPE_CONNECTION_MANAGER, IdleConnectionManager))
47 #define IDLE_CONNECTION_MANAGER_CLASS(klass) \
48 	(G_TYPE_CHECK_CLASS_CAST((klass), IDLE_TYPE_CONNECTION_MANAGER, IdleConnectionManagerClass))
49 #define IDLE_IS_CONNECTION_MANAGER(obj) \
50 	(G_TYPE_CHECK_INSTANCE_TYPE((obj), IDLE_TYPE_CONNECTION_MANAGER))
51 #define IDLE_IS_CONNECTION_MANAGER_CLASS(klass) \
52 	(G_TYPE_CHECK_CLASS_TYPE((klass), IDLE_TYPE_CONNECTION_MANAGER))
53 #define IDLE_CONNECTION_MANAGER_GET_CLASS(obj) \
54 	(G_TYPE_INSTANCE_GET_CLASS((obj), IDLE_TYPE_CONNECTION_MANAGER, IdleConnectionManagerClass))
55 
56 G_END_DECLS
57 
58 #endif /* #ifndef __IDLE_CONNECTION_MANAGER_H__*/
59