message-view: bgo #727634 - Cannot copy build output
[anjuta.git] / plugins / jhbuild / plugin.h
bloba84de212d5fc004fd85f5421119fa2ab5b6849a6
1 /* -*- Mode: C; indent-spaces-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
2 /*
3 plugin.h
4 Copyright (C) 2012 Carl-Anton Ingmarsson
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.
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.
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
21 #ifndef _PLUGIN_H_
22 #define _PLUGIN_H_
24 #include <libanjuta/anjuta-plugin.h>
26 #define ANJUTA_TYPE_PLUGIN_JHBUILD (jhbuild_plugin_get_type (NULL))
27 #define ANJUTA_PLUGIN_JHBUILD(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), ANJUTA_TYPE_PLUGIN_JHBUILD, JHBuildPlugin))
28 #define ANJUTA_PLUGIN_JHBUILD_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), ANJUTA_TYPE_PLUGIN_JHBUILD, JHBuildPluginClass))
29 #define ANJUTA_IS_PLUGIN_JHBUILD(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), ANJUTA_TYPE_PLUGIN_JHBUILD))
30 #define ANJUTA_IS_PLUGIN_JHBUILD_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), ANJUTA_TYPE_PLUGIN_JHBUILD))
31 #define ANJUTA_PLUGIN_JHBUILD_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), ANJUTA_TYPE_PLUGIN_JHBUILD, JHBuildPluginClass))
33 typedef struct _JHBuildPlugin JHBuildPlugin;
34 typedef struct _JHBuildPluginClass JHBuildPluginClass;
36 struct _JHBuildPlugin
38 AnjutaPlugin parent;
40 AnjutaShell* shell;
42 char* prefix;
43 char* libdir;
46 extern GType jhbuild_plugin_get_type(GTypeModule *module);
48 #endif