Diff of /trunk/src/gpxview.h

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

revision 1 by harbaum, Sat Jun 20 11:08:47 2009 UTC revision 3 by harbaum, Mon Jun 22 13:05:30 2009 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    // these are on maemo fremantle
28    #include <hildon/hildon-button.h>
29  #define USE_STACKABLE_WINDOW  #define USE_STACKABLE_WINDOW
30    #define NO_COPY_N_PASTE
31    #define MENU_GPXLIST   0
32    #define MENU_CACHELIST 1
33    #define MENU_CACHE     2
34  #endif  #endif
35  #endif  #endif
36    
# Line 129  typedef struct { Line 135  typedef struct {
135    GtkWidget *menu_remove, *menu_close;    GtkWidget *menu_remove, *menu_close;
136  #endif  #endif
137    
138    #ifndef NO_COPY_N_PASTE
139    /* do enable/disable the edit entries */    /* do enable/disable the edit entries */
140    GtkWidget *menu_cut, *menu_copy, *menu_paste;    GtkWidget *menu_cut, *menu_copy, *menu_paste;
141    GtkClipboard *clipboard;     /* clipboard for copy/paste */    GtkClipboard *clipboard;     /* clipboard for copy/paste */
142    GtkTextBuffer *active_buffer;    GtkTextBuffer *active_buffer;
143    #endif
144    
145    /* save result here to be able to "goto" it */    /* save result here to be able to "goto" it */
146    pos_t geomath;    pos_t geomath;
# Line 168  typedef struct { Line 176  typedef struct {
176    GtkWidget *bct;    GtkWidget *bct;
177    gpx_t *search_results;    gpx_t *search_results;
178    
179    #ifdef USE_BREAD_CRUMB_TRAIL
180    /* reference to enable/disable these while walking the crumb trail */    /* reference to enable/disable these while walking the crumb trail */
181    GtkWidget *menu_import, *menu_export;    GtkWidget *menu_import, *menu_export;
182    GtkWidget *menu_search;    GtkWidget *menu_search;
183    #endif
184    
185    /* keep track of current "path" in the bread crumb trail */    /* keep track of current "path" in the bread crumb trail */
186    gpx_t *cur_gpx;    gpx_t *cur_gpx;
# Line 228  extern void main_after_settings_redraw(a Line 238  extern void main_after_settings_redraw(a
238  extern void errorf(const char *fmt, ...);  extern void errorf(const char *fmt, ...);
239  extern gboolean on_window_key_press(GtkWidget *widget,  extern gboolean on_window_key_press(GtkWidget *widget,
240                                      GdkEventKey *event, gpointer data);                                      GdkEventKey *event, gpointer data);
241    #ifdef USE_STACKABLE_WINDOW
242    HildonAppMenu *menu_create(appdata_t *appdata, int mode);
243    #endif
244    
245  #endif // GPXVIEW_H  #endif // GPXVIEW_H

Legend:
Removed from v.1  
changed lines
  Added in v.3