mock-pkcs11: use g_hash_table_unref()
[nijm-empathy.git] / libempathy-gtk / empathy-contact-blocking-dialog.h
blob96451c6c37a2935261f52f1ddaa40e23d03fd2a2
1 /*
2 * empathy-contact-blocking-dialog.h
4 * EmpathyContactBlockingDialog
6 * Copyright (C) 2011 Collabora Ltd.
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2.1 of the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22 * Authors: Danielle Madeley <danielle.madeley@collabora.co.uk>
25 #ifndef __EMPATHY_CONTACT_BLOCKING_DIALOG_H__
26 #define __EMPATHY_CONTACT_BLOCKING_DIALOG_H__
28 #include <gtk/gtk.h>
30 G_BEGIN_DECLS
32 #define EMPATHY_TYPE_CONTACT_BLOCKING_DIALOG (empathy_contact_blocking_dialog_get_type ())
33 #define EMPATHY_CONTACT_BLOCKING_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EMPATHY_TYPE_CONTACT_BLOCKING_DIALOG, EmpathyContactBlockingDialog))
34 #define EMPATHY_CONTACT_BLOCKING_DIALOG_CLASS(obj) (G_TYPE_CHECK_CLASS_CAST ((obj), EMPATHY_TYPE_CONTACT_BLOCKING_DIALOG, EmpathyContactBlockingDialogClass))
35 #define EMPATHY_IS_CONTACT_BLOCKING_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EMPATHY_TYPE_CONTACT_BLOCKING_DIALOG))
36 #define EMPATHY_IS_CONTACT_BLOCKING_DIALOG_CLASS(obj) (G_TYPE_CHECK_CLASS_TYPE ((obj), EMPATHY_TYPE_CONTACT_BLOCKING_DIALOG))
37 #define EMPATHY_CONTACT_BLOCKING_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), EMPATHY_TYPE_CONTACT_BLOCKING_DIALOG, EmpathyContactBlockingDialogClass))
39 typedef struct _EmpathyContactBlockingDialog EmpathyContactBlockingDialog;
40 typedef struct _EmpathyContactBlockingDialogClass EmpathyContactBlockingDialogClass;
41 typedef struct _EmpathyContactBlockingDialogPrivate EmpathyContactBlockingDialogPrivate;
43 struct _EmpathyContactBlockingDialog
45 GtkDialog parent;
46 EmpathyContactBlockingDialogPrivate *priv;
49 struct _EmpathyContactBlockingDialogClass
51 GtkDialogClass parent_class;
54 GType empathy_contact_blocking_dialog_get_type (void);
56 GtkWidget *empathy_contact_blocking_dialog_new (GtkWindow *parent);
58 G_END_DECLS
60 #endif