]> git.0d.be Git - empathy.git/blob - ubuntu-online-accounts/cc-plugins/account-plugins/empathy-accounts-plugin-widget.h
Merge branch 'gnome-3-8'
[empathy.git] / ubuntu-online-accounts / cc-plugins / account-plugins / empathy-accounts-plugin-widget.h
1 /*
2  * empathy-accounts-plugin-widget.h
3  *
4  * Copyright (C) 2012 Collabora Ltd. <http://www.collabora.co.uk/>
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19  */
20
21 #ifndef __EMPATHY_ACCOUNTS_PLUGIN_WIDGET_H__
22 #define __EMPATHY_ACCOUNTS_PLUGIN_WIDGET_H__
23
24 #include <gtk/gtk.h>
25 #include <libaccounts-glib/ag-account.h>
26
27 G_BEGIN_DECLS
28
29 typedef struct _EmpathyAccountsPluginWidget EmpathyAccountsPluginWidget;
30 typedef struct _EmpathyAccountsPluginWidgetClass EmpathyAccountsPluginWidgetClass;
31 typedef struct _EmpathyAccountsPluginWidgetPriv EmpathyAccountsPluginWidgetPriv;
32
33 struct _EmpathyAccountsPluginWidgetClass
34 {
35   /*<private>*/
36   GtkBoxClass parent_class;
37 };
38
39 struct _EmpathyAccountsPluginWidget
40 {
41   /*<private>*/
42   GtkBox parent;
43   EmpathyAccountsPluginWidgetPriv *priv;
44 };
45
46 GType empathy_accounts_plugin_widget_get_type (void);
47
48 /* TYPE MACROS */
49 #define EMPATHY_TYPE_ACCOUNTS_PLUGIN_WIDGET \
50   (empathy_accounts_plugin_widget_get_type ())
51 #define EMPATHY_ACCOUNTS_PLUGIN_WIDGET(obj) \
52   (G_TYPE_CHECK_INSTANCE_CAST((obj), \
53     EMPATHY_TYPE_ACCOUNTS_PLUGIN_WIDGET, \
54     EmpathyAccountsPluginWidget))
55 #define EMPATHY_ACCOUNTS_PLUGIN_WIDGET_CLASS(klass) \
56   (G_TYPE_CHECK_CLASS_CAST((klass), \
57     EMPATHY_TYPE_ACCOUNTS_PLUGIN_WIDGET, \
58     EmpathyAccountsPluginWidgetClass))
59 #define EMPATHY_IS_ACCOUNTS_PLUGIN_WIDGET(obj) \
60   (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
61     EMPATHY_TYPE_ACCOUNTS_PLUGIN_WIDGET))
62 #define EMPATHY_IS_ACCOUNTS_PLUGIN_WIDGET_CLASS(klass) \
63   (G_TYPE_CHECK_CLASS_TYPE((klass), \
64     EMPATHY_TYPE_ACCOUNTS_PLUGIN_WIDGET))
65 #define EMPATHY_ACCOUNTS_PLUGIN_WIDGET_GET_CLASS(obj) \
66   (G_TYPE_INSTANCE_GET_CLASS ((obj), \
67     EMPATHY_TYPE_ACCOUNTS_PLUGIN_WIDGET, \
68     EmpathyAccountsPluginWidgetClass))
69
70 GtkWidget * empathy_accounts_plugin_widget_new (AgAccount *account);
71
72 G_END_DECLS
73
74 #endif /* #ifndef __EMPATHY_ACCOUNTS_PLUGIN_WIDGET_H__*/