]> err.no Git - mapper/blob - src/gpx.h
More map widget integration changes
[mapper] / src / gpx.h
1 #ifndef _GPX_H
2 #define _GPX_H
3
4 #include <glib.h>
5 #include <libgnomevfs/gnome-vfs.h>
6 #include "path.h"
7
8 typedef enum {
9         GPX_PATH_PREPEND=-1,
10         GPX_PATH_NEW=0,
11         GPX_PATH_APPEND=1,
12 } gpx_path_policy;
13
14 void gpx_init(void);
15 gboolean gpx_write(Path *path, GnomeVFSHandle *handle);
16 gboolean gpx_parse(Path *to_replace, gchar *buffer, gint size, gpx_path_policy policy);
17
18 #endif