2 * empathy-accounts-plugin.h
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_ACCOUNTS_PLUGIN_H__
22 #define __EMPATHY_ACCOUNTS_PLUGIN_H__
24 #include <libaccount-plugin/plugin.h>
28 typedef struct _EmpathyAccountsPlugin EmpathyAccountsPlugin;
29 typedef struct _EmpathyAccountsPluginClass EmpathyAccountsPluginClass;
31 struct _EmpathyAccountsPluginClass
34 ApPluginClass parent_class;
37 struct _EmpathyAccountsPlugin
43 GType empathy_accounts_plugin_get_type (void);
46 #define EMPATHY_TYPE_ACCOUNTS_PLUGIN \
47 (empathy_accounts_plugin_get_type ())
48 #define EMPATHY_ACCOUNTS_PLUGIN(obj) \
49 (G_TYPE_CHECK_INSTANCE_CAST((obj), \
50 EMPATHY_TYPE_ACCOUNTS_PLUGIN, \
51 EmpathyAccountsPlugin))
52 #define EMPATHY_ACCOUNTS_PLUGIN_CLASS(klass) \
53 (G_TYPE_CHECK_CLASS_CAST((klass), \
54 EMPATHY_TYPE_ACCOUNTS_PLUGIN, \
55 EmpathyAccountsPluginClass))
56 #define EMPATHY_IS_ACCOUNTS_PLUGIN(obj) \
57 (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
58 EMPATHY_TYPE_ACCOUNTS_PLUGIN))
59 #define EMPATHY_IS_ACCOUNTS_PLUGIN_CLASS(klass) \
60 (G_TYPE_CHECK_CLASS_TYPE((klass), \
61 EMPATHY_TYPE_ACCOUNTS_PLUGIN))
62 #define EMPATHY_ACCOUNTS_PLUGIN_GET_CLASS(obj) \
63 (G_TYPE_INSTANCE_GET_CLASS ((obj), \
64 EMPATHY_TYPE_ACCOUNTS_PLUGIN, \
65 EmpathyAccountsPluginClass))
67 GType ap_module_get_object_type (void);
71 #endif /* #ifndef __EMPATHY_ACCOUNTS_PLUGIN_H__*/