1 /*
2  * muc-tube-dbus.h - Header for GabbleMucTubeDBus
3  * Copyright (C) 2012 Collabora Ltd.
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 St, Fifth Floor, Boston, MA  02110-1301  USA
18  */
19 
20 #ifndef __GABBLE_MUC_TUBE_DBUS_H__
21 #define __GABBLE_MUC_TUBE_DBUS_H__
22 
23 #include <glib-object.h>
24 
25 #include "tube-dbus.h"
26 
27 G_BEGIN_DECLS
28 
29 typedef struct _GabbleMucTubeDBus GabbleMucTubeDBus;
30 typedef struct _GabbleMucTubeDBusClass GabbleMucTubeDBusClass;
31 
32 struct _GabbleMucTubeDBusClass {
33   GabbleTubeDBusClass parent_class;
34 };
35 
36 struct _GabbleMucTubeDBus {
37   GabbleTubeDBus parent;
38 };
39 
40 GType gabble_muc_tube_dbus_get_type (void);
41 
42 /* TYPE MACROS */
43 #define GABBLE_TYPE_MUC_TUBE_DBUS \
44   (gabble_muc_tube_dbus_get_type ())
45 #define GABBLE_MUC_TUBE_DBUS(obj) \
46   (G_TYPE_CHECK_INSTANCE_CAST((obj), GABBLE_TYPE_MUC_TUBE_DBUS, GabbleMucTubeDBus))
47 #define GABBLE_MUC_TUBE_DBUS_CLASS(klass) \
48   (G_TYPE_CHECK_CLASS_CAST((klass), GABBLE_TYPE_MUC_TUBE_DBUS,\
49                            GabbleMucTubeDBusClass))
50 #define GABBLE_IS_MUC_TUBE_DBUS(obj) \
51   (G_TYPE_CHECK_INSTANCE_TYPE((obj), GABBLE_TYPE_MUC_TUBE_DBUS))
52 #define GABBLE_IS_MUC_TUBE_DBUS_CLASS(klass) \
53   (G_TYPE_CHECK_CLASS_TYPE((klass), GABBLE_TYPE_MUC_TUBE_DBUS))
54 #define GABBLE_MUC_TUBE_DBUS_GET_CLASS(obj) \
55   (G_TYPE_INSTANCE_GET_CLASS ((obj), GABBLE_TYPE_MUC_TUBE_DBUS,\
56                               GabbleMucTubeDBusClass))
57 
58 G_END_DECLS
59 
60 #endif /* #ifndef __GABBLE_MUC_TUBE_DBUS_H__ */
61