]> err.no Git - mapper/blob - src/path-mapper.h
Rename track.* to path-mapper.*
[mapper] / src / path-mapper.h
1 #ifndef _MAPPER_TRACK_H
2 #define _MAPPER_TRACK_H
3
4 #include <glib.h>
5 #include <sqlite3.h>
6 #include "path.h"
7 #include "filter.h"
8
9 Path *_track;
10
11
12 /** The singleton auto-route-download data. */
13 AutoRouteDownloadData _autoroute_data;
14
15 gboolean route_open_file(Path *route);
16 gboolean route_save(Path *route);
17 gboolean route_download(Path *route, gchar *to);
18 gboolean route_clear(Path *route);
19
20 void route_autoroute_check(Path *route);
21 gboolean route_show_distance_to(Path *route, Point *point);
22 void route_show_distance_to_last(Path *route);
23 void route_show_distance_to_next(Path *route);
24
25
26 gboolean track_save(Path *track);
27 gboolean track_open(Path *track);
28 void track_clear(Path *track);
29
30 void track_show_distance_from_first();
31 void track_show_distance_from_last();
32 void track_show_distance_from(Point *point);
33
34 #endif