]> err.no Git - mapper/blob - src/settings.h
Import fork of maemo-mapper.
[mapper] / src / settings.h
1 #ifndef _MAPPER_SETTINGS_H
2 #define _MAPPER_SETTINGS_H
3
4 #include <config.h>
5
6 #define _GNU_SOURCE
7
8 #include <unistd.h>
9 #include <stdlib.h>
10 #include <string.h>
11 #include <strings.h>
12 #include <stddef.h>
13 #include <locale.h>
14 #include <math.h>
15 #include <errno.h>
16 #include <sys/wait.h>
17 #include <glib/gstdio.h>
18 #include <gtk/gtk.h>
19 #include <libgnomevfs/gnome-vfs.h>
20 #include <curl/multi.h>
21 #include <gconf/gconf-client.h>
22 #include <libxml/parser.h>
23
24 #include "settings-gconf.h"
25
26 /** CONFIGURATION INFORMATION. */
27 gchar *_rcvr_mac;
28 gchar *_route_dir_uri;
29 gchar *_track_file_uri;
30 gboolean _fullscreen;
31 gboolean _enable_gps;
32 gboolean _gps_info;
33 gchar *_route_dl_url;
34 guint _route_dl_radius;
35 gint _show_tracks;
36 gboolean _show_scale;
37 gboolean _show_velvec;
38 gboolean _show_poi;
39 gboolean _auto_download;
40 guint _lead_ratio;
41 guint _center_ratio;
42 guint _draw_width;
43 guint _announce_notice_ratio;
44 gboolean _enable_voice;
45 gboolean _always_keep_on;
46 gdouble _voice_speed;
47 gint _voice_pitch;
48 GSList *_loc_list;
49 GtkListStore *_loc_model;
50 gboolean _speed_limit_on;
51 guint _speed_limit;
52 gboolean _speed_excess;
53 CustomAction _action[CUSTOM_KEY_ENUM_COUNT];
54
55 gboolean _satdetails_on;
56
57 CenterMode _center_mode;
58 UnitType _units;
59 guint _degformat;
60 SpeedLocation _speed_location;
61 InfoFontSize _info_font_size;
62
63 GList *_repo_list;
64 RepoData *_curr_repo;
65
66 #endif