]> err.no Git - mapper/blob - src/settings.h
Use globaly set _GNU_SOURCE
[mapper] / src / settings.h
1 #include "config.h"
2
3 #include <glib.h>
4
5 #ifndef _MAPPER_SETTINGS_H
6 #define _MAPPER_SETTINGS_H
7
8 #include "settings-gconf.h"
9
10 /** CONFIGURATION INFORMATION. */
11 gchar *_rcvr_mac;
12 gchar *_route_dir_uri;
13 gchar *_track_file_uri;
14 gchar *_route_dl_url;
15 guint _route_dl_radius;
16
17 gboolean _track_store;
18
19 gboolean _always_keep_on;
20 gboolean _fullscreen;
21 gboolean _enable_gps;
22 gboolean _gps_info;
23
24 struct _track_filter {
25         gboolean enabled;
26         gdouble hdop;
27         gdouble vdop;
28         gdouble angle;
29         gdouble osm;
30         gdouble maxdrop;
31 };
32
33 gboolean _gps_filter;
34 gdouble _filter_hdop;
35 gdouble _filter_vdop;
36 gdouble _filter_angle;
37 gdouble _filter_osm;
38 gdouble _filter_maxdrop;
39
40 gint _show_tracks;
41 gboolean _show_scale;
42 gboolean _show_velvec;
43 gboolean _show_poi;
44 gboolean _auto_download;
45
46 guint _lead_ratio;
47 guint _center_ratio;
48 guint _draw_width;
49
50 gboolean _enable_voice;
51 guint _announce_notice_ratio;
52 guint _voice_speed;
53 guint _voice_pitch;
54
55 gboolean _speed_on;
56 gboolean _speed_excess;
57 guint _speed_limit;
58
59 gboolean _satdetails_on;
60
61 gchar *_http_proxy_host;
62 gint _http_proxy_port;
63
64 GSList *_loc_list;
65 GtkListStore *_loc_model;
66
67 CustomAction _action[CUSTOM_KEY_ENUM_COUNT];
68 CenterMode _center_mode;
69 UnitType _units;
70 guint _degformat;
71 SpeedLocation _speed_location;
72 InfoFontSize _info_font_size;
73
74 GList *_repo_list;
75 RepoData *_curr_repo;
76
77 #endif