]> git.0d.be Git - empathy.git/blob - libempathy-gtk/empathy-subscription-dialog.h
Fix broken nl translation
[empathy.git] / libempathy-gtk / empathy-subscription-dialog.h
1 /*
2  * Copyright (C) 2012 Collabora Ltd.
3  *
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.
8  *
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.
13  *
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
17  *
18  * Authors: Guillaume Desmottes <guillaume.desmottes@collabora.com>
19  */
20
21 #ifndef __EMPATHY_SUBSCRIPTION_DIALOG_H__
22 #define __EMPATHY_SUBSCRIPTION_DIALOG_H__
23
24 #include <gtk/gtk.h>
25 #include <folks/folks.h>
26
27 G_BEGIN_DECLS
28
29 typedef struct _EmpathySubscriptionDialog EmpathySubscriptionDialog;
30 typedef struct _EmpathySubscriptionDialogClass EmpathySubscriptionDialogClass;
31 typedef struct _EmpathySubscriptionDialogPriv EmpathySubscriptionDialogPriv;
32
33 struct _EmpathySubscriptionDialogClass
34 {
35   /*<private>*/
36   GtkMessageDialogClass parent_class;
37 };
38
39 struct _EmpathySubscriptionDialog
40 {
41   /*<private>*/
42   GtkMessageDialog parent;
43   EmpathySubscriptionDialogPriv *priv;
44 };
45
46 GType empathy_subscription_dialog_get_type (void);
47
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))
69
70 GtkWidget * empathy_subscription_dialog_new (FolksIndividual *individual,
71     const gchar *message);
72
73 G_END_DECLS
74
75 #endif /* #ifndef __EMPATHY_SUBSCRIPTION_DIALOG_H__*/