Updated Spanish translation
[anjuta-git-plugin.git] / plugins / debug-manager / utilities.h
blob0541af34050d547a17bc8559474e3a54634be8c3
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
2 /*
3 utilities.h
4 Copyright (C) 2000 Kh. Naba Kumar Singh
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
20 #ifndef _UTILITIES_H_
21 #define _UTILITIES_H_
23 #include <libanjuta/anjuta-plugin.h>
25 #include <glib.h>
27 /* Functions that dynamic allocate memory. Return value(s) should be g_freed
28 * Removes while spaces in the text
29 *---------------------------------------------------------------------------*/
30 gchar* gdb_util_remove_white_spaces(const gchar* text);
32 /* In this case only GList must be freed and not the data
33 * Because output data are the input data. Only GList is allocated
34 *---------------------------------------------------------------------------*/
35 GList* gdb_util_remove_blank_lines(const GList* lines);
37 /* Goto to corresponding location in editor, opening file if necessary
38 *---------------------------------------------------------------------------*/
39 void goto_location_in_editor (AnjutaPlugin *plugin, const gchar* uri, guint line);
41 #endif