Updated Spanish translation
[anjuta-git-plugin.git] / plugins / valgrind / vgactions.h
blob52378f6e7721ff0aea241dc855274d0fa7cedb1b
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
2 /*
3 * Copyright (C) Massimo Cora' 2005 <maxcvs@gmail.com>
4 *
5 * You may redistribute it and/or modify it under the terms of the
6 * GNU General Public License, as published by the Free Software
7 * Foundation; either version 2, or (at your option) any later version.
8 *
9 * plugin.h is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12 * See the GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with plugin.h. See the file "COPYING". If not,
16 * write to: The Free Software Foundation, Inc.,
17 * 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA.
21 #ifndef __VGACTIONS_H
22 #define __VGACTIONS_H
24 #include <glib.h>
25 #include <glib-object.h>
27 #include "vgerror.h"
28 #include "process.h"
29 #include "symtab.h"
30 #include "preferences.h"
32 G_BEGIN_DECLS
34 #define VG_TYPE_ACTIONS (vg_actions_get_type ())
35 #define VG_ACTIONS(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), VG_TYPE_ACTIONS, VgActions))
36 #define VG_ACTIONS_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), VG_TYPE_ACTIONS, VgActionsClass))
37 #define VG_IS_ACTIONS(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), VG_TYPE_ACTIONS))
38 #define VG_IS_ACTIONS_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), VG_TYPE_ACTIONS))
39 #define VG_ACTIONS_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), VG_TYPE_ACTIONS, VgActionsClass))
42 typedef struct _VgActionsClass VgActionsClass;
43 typedef struct _VgActions VgActions;
44 typedef struct _VgActionsPriv VgActionsPriv;
46 #include "plugin.h"
49 struct _VgActionsClass {
50 GObjectClass parent_class;
54 struct _VgActions {
55 GObject parent;
56 VgActionsPriv *priv;
61 GType vg_actions_get_type (void);
62 VgActions *vg_actions_new (AnjutaValgrindPlugin *anjuta_plugin,
63 ValgrindPluginPrefs **prefs, GtkWidget *vg_default_view);
64 void vg_actions_run (VgActions *actions, gchar* prg_to_debug, gchar* tool,
65 GError **err);
66 void vg_actions_kill (VgActions *actions);
67 void vg_actions_set_pid (VgActions *actions, pid_t pid);
68 void vg_actions_set_giochan (VgActions *actions, GIOChannel*gio);
69 void vg_actions_set_watch_id (VgActions *actions, guint watch_id);
72 G_END_DECLS
74 #endif /* __VGACTIONS_H */