]> git.street.me.uk Git - andy/viking.git/blame - src/util.h
Never willingly abort, remove exit() statements.
[andy/viking.git] / src / util.h
CommitLineData
7d02a0b0
GB
1/*
2 * viking -- GPS Data and Topo Analyzer, Explorer, and Manager
3 *
a482007a 4 * Copyright (C) 2007-2009, Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
7d02a0b0 5 * Based on:
a482007a 6 * Copyright (C) 2003-2007, Leandro A. F. Pereira <leandro@linuxmag.com.br>
7d02a0b0
GB
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 *
22 */
23
24#ifndef _VIKING_UTIL_H
25#define _VIKING_UTIL_H
26
27#include <glib.h>
28#include <gtk/gtk.h>
29
30void open_url(GtkWindow *parent, const gchar * url);
3530c91e 31void new_email(GtkWindow *parent, const gchar * address);
7d02a0b0 32
ba4a5e11
GB
33gchar *uri_escape(gchar *str);
34
7d02a0b0
GB
35#endif
36