Updated Spanish translation
[anjuta-git-plugin.git] / plugins / debug-manager / plugin.h
blob4d66bb8bef5fb549ed83588f031951e0dc6dc67e
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
2 /*
3 plugin.h
4 Copyright (C) 2000 Naba Kumar
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 #ifndef __PLUGIN_H__
22 #define __PLUGIN_H__
25 #include <libanjuta/anjuta-plugin.h>
26 #include <libanjuta/interfaces/ianjuta-debugger.h>
27 #include <libanjuta/interfaces/ianjuta-editor.h>
29 #define GLADE_FILE PACKAGE_DATA_DIR"/glade/anjuta-debug-manager.glade"
31 extern GType dma_plugin_get_type (AnjutaGluePlugin *plugin);
32 #define ANJUTA_TYPE_PLUGIN_DEBUG_MANAGER (dma_plugin_get_type (NULL))
33 #define ANJUTA_PLUGIN_DEBUG_MANAGER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), ANJUTA_TYPE_PLUGIN_DEBUG_MANAGER, DebugManagerPlugin))
34 #define ANJUTA_PLUGIN_DEBUG_MANAGER_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), ANJUTA_TYPE_PLUGIN_DEBUG_MANAGER, DebugManagerPluginClass))
35 #define ANJUTA_IS_PLUGIN_DEBUG_MANAGER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), ANJUTA_TYPE_PLUGIN_DEBUG_MANAGER))
36 #define ANJUTA_IS_PLUGIN_DEBUG_MANAGER_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), ANJUTA_TYPE_PLUGIN_DEBUG_MANAGER))
37 #define ANJUTA_PLUGIN_DEBUG_MANAGER_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), ANJUTA_TYPE_PLUGIN_DEBUG_MANAGER, DebugManagerPluginClass))
39 typedef struct _DebugManagerPlugin DebugManagerPlugin;
40 typedef struct _DebugManagerPluginClass DebugManagerPluginClass;
42 enum {
43 ACTION_GROUP_DEFAULT = 0,
44 ACTION_GROUP_EXECUTE = 1,
45 LAST_ACTION_GROUP };
47 void dma_debug_manager_goto_code (DebugManagerPlugin *self, const gchar *uri, guint line, guint address);
49 #endif