Updated Chinese (Taiwan) translation
[empathy-mirror.git] / libempathy-gtk / empathy-subscription-dialog.h
blob2e7de953b7b49968a60cec34423c7ed50289af24
1 /*
2 * Copyright (C) 2012 Collabora Ltd.
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18 * Authors: Guillaume Desmottes <guillaume.desmottes@collabora.com>
21 #ifndef __EMPATHY_SUBSCRIPTION_DIALOG_H__
22 #define __EMPATHY_SUBSCRIPTION_DIALOG_H__
24 #include <gtk/gtk.h>
25 #include <folks/folks.h>
27 G_BEGIN_DECLS
29 typedef struct _EmpathySubscriptionDialog EmpathySubscriptionDialog;
30 typedef struct _EmpathySubscriptionDialogClass EmpathySubscriptionDialogClass;
31 typedef struct _EmpathySubscriptionDialogPriv EmpathySubscriptionDialogPriv;
33 struct _EmpathySubscriptionDialogClass
35 /*<private>*/
36 GtkMessageDialogClass parent_class;
39 struct _EmpathySubscriptionDialog
41 /*<private>*/
42 GtkMessageDialog parent;
43 EmpathySubscriptionDialogPriv *priv;
46 GType empathy_subscription_dialog_get_type (void);
48 /* TYPE MACROS */
49 #define EMPATHY_TYPE_SUBSCRIPTION_DIALOG \
50 (empathy_subscription_dialog_get_type ())
51 #define EMPATHY_SUBSCRIPTION_DIALOG(obj) \
52 (G_TYPE_CHECK_INSTANCE_CAST((obj), \
53 EMPATHY_TYPE_SUBSCRIPTION_DIALOG, \
54 EmpathySubscriptionDialog))
55 #define EMPATHY_SUBSCRIPTION_DIALOG_CLASS(klass) \
56 (G_TYPE_CHECK_CLASS_CAST((klass), \
57 EMPATHY_TYPE_SUBSCRIPTION_DIALOG, \
58 EmpathySubscriptionDialogClass))
59 #define EMPATHY_IS_SUBSCRIPTION_DIALOG(obj) \
60 (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
61 EMPATHY_TYPE_SUBSCRIPTION_DIALOG))
62 #define EMPATHY_IS_SUBSCRIPTION_DIALOG_CLASS(klass) \
63 (G_TYPE_CHECK_CLASS_TYPE((klass), \
64 EMPATHY_TYPE_SUBSCRIPTION_DIALOG))
65 #define EMPATHY_SUBSCRIPTION_DIALOG_GET_CLASS(obj) \
66 (G_TYPE_INSTANCE_GET_CLASS ((obj), \
67 EMPATHY_TYPE_SUBSCRIPTION_DIALOG, \
68 EmpathySubscriptionDialogClass))
70 GtkWidget * empathy_subscription_dialog_new (FolksIndividual *individual,
71 const gchar *message);
73 G_END_DECLS
75 #endif /* #ifndef __EMPATHY_SUBSCRIPTION_DIALOG_H__*/