4 * Copyright (C) 2012 Collabora Ltd. <http://www.collabora.co.uk/>
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.
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.
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
21 #ifndef __EMPATHY_APP_PLUGIN_H__
22 #define __EMPATHY_APP_PLUGIN_H__
24 #include <glib-object.h>
25 #include <libaccount-plugin/application-plugin.h>
29 typedef struct _EmpathyAppPlugin EmpathyAppPlugin;
30 typedef struct _EmpathyAppPluginClass EmpathyAppPluginClass;
32 struct _EmpathyAppPluginClass
35 ApApplicationPluginClass parent_class;
38 struct _EmpathyAppPlugin
41 ApApplicationPlugin parent;
44 GType empathy_app_plugin_get_type (void);
47 #define EMPATHY_TYPE_APP_PLUGIN \
48 (empathy_app_plugin_get_type ())
49 #define EMPATHY_APP_PLUGIN(obj) \
50 (G_TYPE_CHECK_INSTANCE_CAST((obj), \
51 EMPATHY_TYPE_APP_PLUGIN, \
53 #define EMPATHY_APP_PLUGIN_CLASS(klass) \
54 (G_TYPE_CHECK_CLASS_CAST((klass), \
55 EMPATHY_TYPE_APP_PLUGIN, \
56 EmpathyAppPluginClass))
57 #define EMPATHY_IS_APP_PLUGIN(obj) \
58 (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
59 EMPATHY_TYPE_APP_PLUGIN))
60 #define EMPATHY_IS_APP_PLUGIN_CLASS(klass) \
61 (G_TYPE_CHECK_CLASS_TYPE((klass), \
62 EMPATHY_TYPE_APP_PLUGIN))
63 #define EMPATHY_APP_PLUGIN_GET_CLASS(obj) \
64 (G_TYPE_INSTANCE_GET_CLASS ((obj), \
65 EMPATHY_TYPE_APP_PLUGIN, \
66 EmpathyAppPluginClass))
68 GType ap_module_get_object_type (void);
72 #endif /* #ifndef __EMPATHY_APP_PLUGIN_H__*/