Updated Spanish translation
[anjuta-git-plugin.git] / plugins / debug-manager / utilities.h
blob90733771bc8c8e1c44e7e005ecb7b768fd8a39e8
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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 #ifndef _UTILITIES_H_
21 #define _UTILITIES_H_
23 #include <libanjuta/anjuta-plugin.h>
24 #include <libanjuta/interfaces/ianjuta-editor.h>
26 #include <glib.h>
28 /* Functions that dynamic allocate memory. Return value(s) should be g_freed
29 * Removes while spaces in the text
30 *---------------------------------------------------------------------------*/
31 gchar* gdb_util_remove_white_spaces(const gchar* text);
33 /* In this case only GList must be freed and not the data
34 * Because output data are the input data. Only GList is allocated
35 *---------------------------------------------------------------------------*/
36 GList* gdb_util_remove_blank_lines(const GList* lines);
38 /* Get current editor or NULL
39 *---------------------------------------------------------------------------*/
40 IAnjutaEditor* dma_get_current_editor(AnjutaPlugin *plugin);
42 #endif