2 * Copyright (C) 2006-2007 Imendio AB
3 * Copyright (C) 2007-2011 Collabora Ltd.
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.
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.
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
20 * Authors: Martyn Russell <martyn@imendio.com>
21 * Xavier Claessens <xclaesse@gmail.com>
24 #ifndef __EMPATHY_NEW_CHATROOM_DIALOG_H__
25 #define __EMPATHY_NEW_CHATROOM_DIALOG_H__
27 #include <glib-object.h>
32 typedef struct _EmpathyNewChatroomDialog EmpathyNewChatroomDialog;
33 typedef struct _EmpathyNewChatroomDialogClass EmpathyNewChatroomDialogClass;
34 typedef struct _EmpathyNewChatroomDialogPriv EmpathyNewChatroomDialogPriv;
36 struct _EmpathyNewChatroomDialogClass
39 GtkDialogClass parent_class;
42 struct _EmpathyNewChatroomDialog
46 EmpathyNewChatroomDialogPriv *priv;
49 GType empathy_new_chatroom_dialog_get_type (void);
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))
73 GtkWidget * empathy_new_chatroom_dialog_show (GtkWindow *parent);
77 #endif /* #ifndef __EMPATHY_NEW_CHATROOM_DIALOG_H__*/