]> git.0d.be Git - empathy.git/blob - ubuntu-online-accounts/cc-plugins/app-plugin/empathy-app-plugin.h
0167c851e9d1e7939dd7f4ca047063e47765992a
[empathy.git] / ubuntu-online-accounts / cc-plugins / app-plugin / empathy-app-plugin.h
1 /*
2  * empathy-app-plugin.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_APP_PLUGIN_H__
22 #define __EMPATHY_APP_PLUGIN_H__
23
24 #include <glib-object.h>
25
26 #include <libaccount-plugin/application-plugin.h>
27
28 G_BEGIN_DECLS
29
30 typedef struct _EmpathyAppPlugin EmpathyAppPlugin;
31 typedef struct _EmpathyAppPluginClass EmpathyAppPluginClass;
32
33 struct _EmpathyAppPluginClass
34 {
35   /*<private>*/
36  ApApplicationPluginClass parent_class;
37 };
38
39 struct _EmpathyAppPlugin
40 {
41   /*<private>*/
42   ApApplicationPlugin parent;
43 };
44
45 GType empathy_app_plugin_get_type (void);
46
47 /* TYPE MACROS */
48 #define EMPATHY_TYPE_APP_PLUGIN \
49   (empathy_app_plugin_get_type ())
50 #define EMPATHY_APP_PLUGIN(obj) \
51   (G_TYPE_CHECK_INSTANCE_CAST((obj), \
52     EMPATHY_TYPE_APP_PLUGIN, \
53     EmpathyAppPlugin))
54 #define EMPATHY_APP_PLUGIN_CLASS(klass) \
55   (G_TYPE_CHECK_CLASS_CAST((klass), \
56     EMPATHY_TYPE_APP_PLUGIN, \
57     EmpathyAppPluginClass))
58 #define EMPATHY_IS_APP_PLUGIN(obj) \
59   (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
60     EMPATHY_TYPE_APP_PLUGIN))
61 #define EMPATHY_IS_APP_PLUGIN_CLASS(klass) \
62   (G_TYPE_CHECK_CLASS_TYPE((klass), \
63     EMPATHY_TYPE_APP_PLUGIN))
64 #define EMPATHY_APP_PLUGIN_GET_CLASS(obj) \
65   (G_TYPE_INSTANCE_GET_CLASS ((obj), \
66     EMPATHY_TYPE_APP_PLUGIN, \
67     EmpathyAppPluginClass))
68
69 GType ap_module_get_object_type (void);
70
71 G_END_DECLS
72
73 #endif /* #ifndef __EMPATHY_APP_PLUGIN_H__*/