2
* This file is part of telepathy-idle
4
* Copyright © 2009–2012 Collabora Limited
6
* This library is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU Lesser General Public License
8
* version 2.1 as published by the Free Software Foundation.
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.
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 St, Fifth Floor, Boston, MA 02110-1301 USA
20
* Jonathon Jongsma <jonathon.jongsma@collabora.co.uk>
21
* Will Thompson <will.thompson@collabora.co.uk>
24
#ifndef __IDLE_ROOMLIST_CHANNEL_H__
25
#define __IDLE_ROOMLIST_CHANNEL_H__
27
#include <glib-object.h>
28
#include <telepathy-glib/telepathy-glib.h>
32
typedef struct _IdleRoomlistChannel IdleRoomlistChannel;
33
typedef struct _IdleRoomlistChannelClass IdleRoomlistChannelClass;
34
typedef struct _IdleRoomlistChannelPrivate IdleRoomlistChannelPrivate;
36
struct _IdleRoomlistChannelClass {
37
TpBaseChannelClass parent_class;
40
struct _IdleRoomlistChannel {
42
IdleRoomlistChannelPrivate *priv;
45
GType idle_roomlist_channel_get_type(void);
48
#define IDLE_TYPE_ROOMLIST_CHANNEL \
49
(idle_roomlist_channel_get_type())
50
#define IDLE_ROOMLIST_CHANNEL(obj) \
51
(G_TYPE_CHECK_INSTANCE_CAST((obj), IDLE_TYPE_ROOMLIST_CHANNEL, IdleRoomlistChannel))
52
#define IDLE_ROOMLIST_CHANNEL_CLASS(klass) \
53
(G_TYPE_CHECK_CLASS_CAST((klass), IDLE_TYPE_ROOMLIST_CHANNEL, IdleRoomlistChannelClass))
54
#define IDLE_IS_ROOMLIST_CHANNEL(obj) \
55
(G_TYPE_CHECK_INSTANCE_TYPE((obj), IDLE_TYPE_ROOMLIST_CHANNEL))
56
#define IDLE_IS_ROOMLIST_CHANNEL_CLASS(klass) \
57
(G_TYPE_CHECK_CLASS_TYPE((klass), IDLE_TYPE_ROOMLIST_CHANNEL))
58
#define IDLE_ROOMLIST_CHANNEL_GET_CLASS(obj) \
59
(G_TYPE_INSTANCE_GET_CLASS ((obj), IDLE_TYPE_ROOMLIST_CHANNEL, IdleRoomlistChannelClass))
63
#endif /* #ifndef __IDLE_ROOMLIST_CHANNEL_H__*/