Diff of /trunk/src/gpxview.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 196 by harbaum, Thu Nov 19 07:39:00 2009 UTC revision 246 by harbaum, Tue Jan 19 20:26:37 2010 UTC
# Line 24  Line 24 
24  #if MAEMO_VERSION_MAJOR < 5  #if MAEMO_VERSION_MAJOR < 5
25  #define USE_BREAD_CRUMB_TRAIL  #define USE_BREAD_CRUMB_TRAIL
26  #else  #else
27    #define FREMANTLE
28    
29  // these are on maemo fremantle  // these are on maemo fremantle
30  #include <hildon/hildon-button.h>  #include <hildon/hildon-button.h>
31  #include <hildon/hildon-text-view.h>  #include <hildon/hildon-text-view.h>
# Line 118  typedef struct { Line 120  typedef struct {
120    
121    int gpxlist_items;    int gpxlist_items;
122    int cachelist_items;    int cachelist_items;
   guint cachelist_handler_id; /* update timer */  
123    gboolean cachelist_hide_found;    gboolean cachelist_hide_found;
124    
125    /* geotext related */    /* geotext related */
# Line 130  typedef struct { Line 131  typedef struct {
131    GtkWidget    *gpxview;    GtkWidget    *gpxview;
132    GConfClient *gconf_client;    GConfClient *gconf_client;
133    
   pos_t manual_goto;  
134    gboolean compass_locked;    gboolean compass_locked;
135    int compass_damping;    int compass_damping;
136    
# Line 177  typedef struct { Line 177  typedef struct {
177    
178  #ifdef USE_MAEMO  #ifdef USE_MAEMO
179    gboolean fullscreen;    gboolean fullscreen;
180    #ifdef ENABLE_MAEMO_MAPPER
181    pos_t mmpos;                /* position received from Maemo Mapper */    pos_t mmpos;                /* position received from Maemo Mapper */
182    gboolean mmpos_valid;    gboolean mmpos_valid;
183    #endif
184    
185    gboolean mmpoi_dontlaunch;    gboolean mmpoi_dontlaunch;
186    
# Line 205  typedef struct { Line 207  typedef struct {
207    /* keep track of current "path" in the bread crumb trail */    /* keep track of current "path" in the bread crumb trail */
208    gpx_t *cur_gpx;    gpx_t *cur_gpx;
209    cache_t *cur_cache;    cache_t *cur_cache;
210      struct cache_context_s *cache_context;
211    
212    gpx_t *search_results;    gpx_t *search_results;
213    
# Line 217  typedef struct { Line 220  typedef struct {
220    } map;    } map;
221  #endif  #endif
222    
223      /* username is also used to detect own caches (by log entry) */
224      char *username;
225    
226    /* stuff to call geotoad */    /* stuff to call geotoad */
227    struct {    struct {
228      char *username, *password, *filename;      char *password, *filename;
229      float distance, lat, lon;      float distance, lat, lon;
230      int flags;      int flags;
231    } gt;    } gt;
232    
233    #ifdef ESPEAK
234      /* espeak handling */
235      struct {
236        gboolean enabled;
237        int sample_rate;  // or init error
238      } espeak;
239    #endif
240    
241    #ifndef USE_STACKABLE_WINDOW
242    GtkWidget *vbox;    GtkWidget *vbox;
243    #endif
244  } appdata_t;  } appdata_t;
245    
246  /* all includes that rely on appdata_t go here ... */  /* all includes that rely on appdata_t go here ... */
# Line 243  typedef struct { Line 259  typedef struct {
259  #include "precpos.h"  #include "precpos.h"
260  #include "garmin_export.h"  #include "garmin_export.h"
261  #include "geotoad.h"  #include "geotoad.h"
262    #include "about.h"
263    
264  #ifdef ENABLE_OSM_GPS_MAP  #ifdef ENABLE_OSM_GPS_MAP
265  #include "map-tool.h"  #include "map-tool.h"
# Line 284  HildonAppMenu *menu_create(appdata_t *ap Line 301  HildonAppMenu *menu_create(appdata_t *ap
301  #endif  #endif
302  void cachelist_goto_cache(appdata_t *appdata, cache_t *cache);  void cachelist_goto_cache(appdata_t *appdata, cache_t *cache);
303  void gpxlist_goto_cachelist(appdata_t *appdata, gpx_t *gpx);  void gpxlist_goto_cachelist(appdata_t *appdata, gpx_t *gpx);
304    gboolean gpxlist_find(appdata_t *appdata, GtkTreeIter *iter, gpx_t *gpx);
305    void gpxlist_set(GtkListStore *store, GtkTreeIter *iter, gpx_t *gpx);
306    void gpxlist_add(appdata_t *appdata, gpx_t *new);
307    void cachelist_redraw(appdata_t *appdata);
308    
309  #endif // GPXVIEW_H  #endif // GPXVIEW_H

Legend:
Removed from v.196  
changed lines
  Added in v.246