]> git.0d.be Git - empathy.git/blob - src/empathy-new-chatroom-dialog.h
9f7796dbeac3edea92f1e2296633554aee8b09d5
[empathy.git] / src / empathy-new-chatroom-dialog.h
1 /*
2  * Copyright (C) 2006-2007 Imendio AB
3  * Copyright (C) 2007-2011 Collabora Ltd.
4  *
5  * This program is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU General Public License as
7  * published by the Free Software Foundation; either version 2 of the
8  * License, or (at your option) any later version.
9  *
10  * This program 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  * General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public
16  * License along with this program; if not, write to the
17  * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
18  * Boston, MA  02110-1301  USA
19  *
20  * Authors: Martyn Russell <martyn@imendio.com>
21  *          Xavier Claessens <xclaesse@gmail.com>
22  */
23
24 #ifndef __EMPATHY_NEW_CHATROOM_DIALOG_H__
25 #define __EMPATHY_NEW_CHATROOM_DIALOG_H__
26
27 #include <glib-object.h>
28 #include <gtk/gtk.h>
29
30 G_BEGIN_DECLS
31
32 typedef struct _EmpathyNewChatroomDialog EmpathyNewChatroomDialog;
33 typedef struct _EmpathyNewChatroomDialogClass EmpathyNewChatroomDialogClass;
34 typedef struct _EmpathyNewChatroomDialogPriv EmpathyNewChatroomDialogPriv;
35
36 struct _EmpathyNewChatroomDialogClass
37 {
38   /*<private>*/
39   GtkDialogClass parent_class;
40 };
41
42 struct _EmpathyNewChatroomDialog
43 {
44   /*<private>*/
45   GtkDialog parent;
46   EmpathyNewChatroomDialogPriv *priv;
47 };
48
49 GType empathy_new_chatroom_dialog_get_type (void);
50
51 /* TYPE MACROS */
52 #define EMPATHY_TYPE_NEW_CHATROOM_DIALOG \
53   (empathy_new_chatroom_dialog_get_type ())
54 #define EMPATHY_NEW_CHATROOM_DIALOG(obj) \
55   (G_TYPE_CHECK_INSTANCE_CAST((obj), \
56     EMPATHY_TYPE_NEW_CHATROOM_DIALOG, \
57     EmpathyNewChatroomDialog))
58 #define EMPATHY_NEW_CHATROOM_DIALOG_CLASS(klass) \
59   (G_TYPE_CHECK_CLASS_CAST((klass), \
60     EMPATHY_TYPE_NEW_CHATROOM_DIALOG, \
61     EmpathyNewChatroomDialogClass))
62 #define EMPATHY_IS_NEW_CHATROOM_DIALOG(obj) \
63   (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
64     EMPATHY_TYPE_NEW_CHATROOM_DIALOG))
65 #define EMPATHY_IS_NEW_CHATROOM_DIALOG_CLASS(klass) \
66   (G_TYPE_CHECK_CLASS_TYPE((klass), \
67     EMPATHY_TYPE_NEW_CHATROOM_DIALOG))
68 #define EMPATHY_NEW_CHATROOM_DIALOG_GET_CLASS(obj) \
69   (G_TYPE_INSTANCE_GET_CLASS ((obj), \
70     EMPATHY_TYPE_NEW_CHATROOM_DIALOG, \
71     EmpathyNewChatroomDialogClass))
72
73 GtkWidget * empathy_new_chatroom_dialog_show (GtkWindow *parent);
74
75 G_END_DECLS
76
77 #endif /* #ifndef __EMPATHY_NEW_CHATROOM_DIALOG_H__*/