1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
2 /*
3     anjuta-c-plugin-factory.h
4     Copyright (C) 2007 Sebastien Granjoux  <seb.sfo@free.fr>
5 
6     This program is free software; you can redistribute it and/or modify
7     it under the terms of the GNU General Public License as published by
8     the Free Software Foundation; either version 2 of the License, or
9     (at your option) any later version.
10 
11     This program 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
14     GNU General Public License for more details.
15 
16     You should have received a copy of the GNU General Public License
17     along with this program; if not, write to the Free Software
18     Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
19 */
20 
21 #ifndef _ANJUTA_C_PLUGIN_FACTORY_H_
22 #define _ANJUTA_C_PLUGIN_FACTORY_H_
23 
24 #include <glib-object.h>
25 
26 G_BEGIN_DECLS
27 
28 #define ANJUTA_TYPE_C_PLUGIN_FACTORY			(anjuta_c_plugin_factory_get_type ())
29 #define ANJUTA_C_PLUGIN_FACTORY(obj)			(G_TYPE_CHECK_INSTANCE_CAST ((obj), ANJUTA_TYPE_C_PLUGIN_FACTORY, AnjutaCPluginFactory))
30 #define ANJUTA_C_PLUGIN_FACTORY_CLASS(klass)	(G_TYPE_CHECK_CLASS_CAST ((klass), ANJUTA_TYPE_C_PLUGIN_FACTORY, AnjutaCPluginFactoryClass))
31 #define ANJUTA_IS_C_PLUGIN_FACTORY(obj)			(G_TYPE_CHECK_INSTANCE_TYPE ((obj), ANJUTA_TYPE_C_PLUGIN_FACTORY))
32 #define ANJUTA_IS_C_PLUGIN_FACTORY_CLASS(klass)	(G_TYPE_CHECK_CLASS_TYPE ((obj), ANJUTA_TYPE_C_PLUGIN_FACTORY))
33 #define ANJUTA_C_PLUGIN_FACTORY_GET_CLASS(obj)	(G_TYPE_INSTANCE_GET_CLASS((obj), ANJUTA_TYPE_C_PLUGIN_FACTORY, AnjutaCPluginFactoryClass))
34 
35 typedef struct _AnjutaCPluginFactory AnjutaCPluginFactory;
36 typedef struct _AnjutaCPluginFactoryClass AnjutaCPluginFactoryClass;
37 
38 GType anjuta_c_plugin_factory_get_type (void) G_GNUC_CONST;
39 
40 AnjutaCPluginFactory *anjuta_c_plugin_factory_new (void);
41 void anjuta_c_plugin_factory_free (AnjutaCPluginFactory *factory);
42 
43 G_END_DECLS
44 #endif /* _ANJUTA_C_PLUGIN_FACTORY_H_ */
45