]> git.0d.be Git - empathy.git/blob - ubuntu-online-accounts/cc-plugins/app-plugin/empathy-app-plugin-widget.h
b1bfb28cd8c2fb71ad7d496b6e9cb7e3f67bb1ff
[empathy.git] / ubuntu-online-accounts / cc-plugins / app-plugin / empathy-app-plugin-widget.h
1 /*
2  * empathy-app-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
22 #ifndef __EMPATHY_APP_PLUGIN_WIDGET_H__
23 #define __EMPATHY_APP_PLUGIN_WIDGET_H__
24
25 #include <gtk/gtk.h>
26
27 #include <libaccounts-glib/ag-account.h>
28
29 G_BEGIN_DECLS
30
31 typedef struct _EmpathyAppPluginWidget EmpathyAppPluginWidget;
32 typedef struct _EmpathyAppPluginWidgetClass EmpathyAppPluginWidgetClass;
33 typedef struct _EmpathyAppPluginWidgetPriv EmpathyAppPluginWidgetPriv;
34
35 struct _EmpathyAppPluginWidgetClass
36 {
37   /*<private>*/
38   GtkBoxClass parent;
39 };
40
41 struct _EmpathyAppPluginWidget
42 {
43   /*<private>*/
44   GtkBox parent_class;
45   EmpathyAppPluginWidgetPriv *priv;
46 };
47
48 GType empathy_app_plugin_widget_get_type (void);
49
50 /* TYPE MACROS */
51 #define EMPATHY_TYPE_APP_PLUGIN_WIDGET \
52   (empathy_app_plugin_widget_get_type ())
53 #define EMPATHY_APP_PLUGIN_WIDGET(obj) \
54   (G_TYPE_CHECK_INSTANCE_CAST((obj), \
55     EMPATHY_TYPE_APP_PLUGIN_WIDGET, \
56     EmpathyAppPluginWidget))
57 #define EMPATHY_APP_PLUGIN_WIDGET_CLASS(klass) \
58   (G_TYPE_CHECK_CLASS_CAST((klass), \
59     EMPATHY_TYPE_APP_PLUGIN_WIDGET, \
60     EmpathyAppPluginWidgetClass))
61 #define EMPATHY_IS_APP_PLUGIN_WIDGET(obj) \
62   (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
63     EMPATHY_TYPE_APP_PLUGIN_WIDGET))
64 #define EMPATHY_IS_APP_PLUGIN_WIDGET_CLASS(klass) \
65   (G_TYPE_CHECK_CLASS_TYPE((klass), \
66     EMPATHY_TYPE_APP_PLUGIN_WIDGET))
67 #define EMPATHY_APP_PLUGIN_WIDGET_GET_CLASS(obj) \
68   (G_TYPE_INSTANCE_GET_CLASS ((obj), \
69     EMPATHY_TYPE_APP_PLUGIN_WIDGET, \
70     EmpathyAppPluginWidgetClass))
71
72 GtkWidget * empathy_app_plugin_widget_new (AgAccount *account);
73
74 G_END_DECLS
75
76 #endif /* #ifndef __EMPATHY_APP_PLUGIN_WIDGET_H__*/