1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
3 * Copyright (C) 2007-2008 Collabora Ltd.
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.
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
19 * Authors: Xavier Claessens <xclaesse@gmail.com>
22 #ifndef __EMPATHY_NEW_MESSAGE_DIALOG_H__
23 #define __EMPATHY_NEW_MESSAGE_DIALOG_H__
25 #include <glib-object.h>
30 typedef struct _EmpathyNewMessageDialog EmpathyNewMessageDialog;
31 typedef struct _EmpathyNewMessageDialogClass EmpathyNewMessageDialogClass;
33 struct _EmpathyNewMessageDialogClass {
34 GtkDialogClass parent_class;
37 struct _EmpathyNewMessageDialog {
41 GType empathy_new_message_dialog_get_type (void);
44 #define EMPATHY_TYPE_NEW_MESSAGE_DIALOG \
45 (empathy_new_message_dialog_get_type ())
46 #define EMPATHY_NEW_MESSAGE_DIALOG(obj) \
47 (G_TYPE_CHECK_INSTANCE_CAST((obj), EMPATHY_TYPE_NEW_MESSAGE_DIALOG, \
48 EmpathyNewMessageDialog))
49 #define EMPATHY_NEW_MESSAGE_DIALOG_CLASS(klass) \
50 (G_TYPE_CHECK_CLASS_CAST((klass), EMPATHY_TYPE_NEW_MESSAGE_DIALOG, \
51 EmpathyNewMessageDialogClass))
52 #define EMPATHY_IS_NEW_MESSAGE_DIALOG(obj) \
53 (G_TYPE_CHECK_INSTANCE_TYPE((obj), EMPATHY_TYPE_NEW_MESSAGE_DIALOG))
54 #define EMPATHY_IS_NEW_MESSAGE_DIALOG_CLASS(klass) \
55 (G_TYPE_CHECK_CLASS_TYPE((klass), EMPATHY_TYPE_NEW_MESSAGE_DIALOG))
56 #define EMPATHY_NEW_MESSAGE_DIALOG_GET_CLASS(obj) \
57 (G_TYPE_INSTANCE_GET_CLASS ((obj), EMPATHY_TYPE_NEW_MESSAGE_DIALOG, \
58 EmpathyNewMessageDialogClass))
60 GtkWidget * empathy_new_message_dialog_show (GtkWindow *parent);
64 #endif /* __EMPATHY_NEW_MESSAGE_DIALOG_H__ */