Debian Codegraph @

tests/libpeas-gtk/plugins/configurable/configurable-plugin.h

raw
1 /*
2 * configurable-plugin.h
3 * This file is part of libpeas
4 *
5 * Copyright (C) 2010 - Garrett Regier
6 *
7 * libpeas is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
11 *
12 * libpeas is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 */
21
22 #ifndef __TESTING_CONFIGURABLE_PLUGIN_H__
23 #define __TESTING_CONFIGURABLE_PLUGIN_H__
24
25 #include <libpeas/peas.h>
26
27 G_BEGIN_DECLS
28
29 #define TESTING_TYPE_CONFIGURABLE_PLUGIN (testing_configurable_plugin_get_type ())
30 #define TESTING_CONFIGURABLE_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TESTING_TYPE_CONFIGURABLE_PLUGIN, TestingConfigurablePlugin))
31 #define TESTING_CONFIGURABLE_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), TESTING_TYPE_CONFIGURABLE_PLUGIN, TestingConfigurablePlugin))
32 #define TESTING_IS_CONFIGURABLE_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TESTING_TYPE_CONFIGURABLE_PLUGIN))
33 #define TESTING_IS_CONFIGURABLE_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TESTING_TYPE_CONFIGURABLE_PLUGIN))
34 #define TESTING_CONFIGURABLE_PLUGIN_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TESTING_TYPE_CONFIGURABLE_PLUGIN, TestingConfigurablePluginClass))
35
36 typedef struct _TestingConfigurablePlugin TestingConfigurablePlugin;
37 typedef struct _TestingConfigurablePluginClass TestingConfigurablePluginClass;
38
39 struct _TestingConfigurablePlugin {
40 PeasExtensionBase parent_instance;
41 };
42
43 struct _TestingConfigurablePluginClass {
44 PeasExtensionBaseClass parent_class;
45 };
46
47 GType testing_configurable_plugin_get_type (void) G_GNUC_CONST;
48 G_MODULE_EXPORT void peas_register_types (PeasObjectModule *module);
49
50 G_END_DECLS
51
52 #endif /* __TESTING_CONFIGURABLE_PLUGIN_H__ */