Updated Spanish translation
[anjuta-git-plugin.git] / plugins / search / plugin.h
blob30472b0d0f7430d67599e60c4061baf235d23010
1 /*
2 * This program is free software; you can redistribute it and/or modify
3 * it under the terms of the GNU General Public License as published by
4 * the Free Software Foundation; either version 2 of the License, or
5 * (at your option) any later version.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU Library General Public License for more details.
12 * You should have received a copy of the GNU General Public License
13 * along with this program; if not, write to the Free Software
14 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18 #include <libanjuta/anjuta-plugin.h>
19 #include <libanjuta/anjuta-preferences.h>
20 #include <libanjuta/anjuta-ui.h>
22 #include <libanjuta/interfaces/ianjuta-document-manager.h>
24 extern GType search_plugin_get_type(GTypeModule *module);
25 #define ANJUTA_TYPE_PLUGIN_SEARCH (search_plugin_get_type (NULL))
26 #define ANJUTA_PLUGIN_SEARCH(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), ANJUTA_TYPE_PLUGIN_SEARCH, SearchPlugin))
27 #define ANJUTA_PLUGIN_SEARCH_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), ANJUTA_TYPE_PLUGIN_SEARCH, SearchPluginClass))
28 #define ANJUTA_IS_PLUGIN_SEARCH(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), ANJUTA_TYPE_PLUGIN_SEARCH))
29 #define ANJUTA_IS_PLUGIN_SEARCH_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), ANJUTA_TYPE_PLUGIN_SEARCH))
30 #define ANJUTA_PLUGIN_SEARCH_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), ANJUTA_TYPE_PLUGIN_SEARCH, SearchPluginClass))
32 typedef struct _SearchPlugin SearchPlugin;
33 typedef struct _SearchPluginClass SearchPluginClass;
35 struct _SearchPlugin{
36 AnjutaPlugin parent;
38 gint uiid;
39 IAnjutaDocumentManager* docman;
42 struct _SearchPluginClass{
43 AnjutaPluginClass parent_class;