Diff of /trunk/src/osm-gps-map-types.h

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

revision 55 by harbaum, Thu Aug 13 12:01:52 2009 UTC revision 280 by harbaum, Fri May 21 19:28:16 2010 UTC
# Line 26  Line 26 
26  #define _OSM_GPS_MAP_TYPES_H_  #define _OSM_GPS_MAP_TYPES_H_
27    
28  #include <gdk/gdk.h>  #include <gdk/gdk.h>
29  #ifdef LIBSOUP22  #if USE_LIBSOUP22
30  #include <libsoup/soup.h>  #include <libsoup/soup.h>
31  #endif  #endif
32  #include "osm-gps-map.h"  #include "osm-gps-map.h"
# Line 60  Line 60 
60  //....  //....
61  #define URI_FLAG_END (1 << 8)  #define URI_FLAG_END (1 << 8)
62    
 #define OSM_NAN  (0.0/0.0)  
   
63  /* equatorial radius in meters */  /* equatorial radius in meters */
64  #define OSM_EQ_RADIUS   (6378137.0)  #define OSM_EQ_RADIUS   (6378137.0)
65    
# Line 80  typedef struct { Line 78  typedef struct {
78      OsmGpsMap *map;      OsmGpsMap *map;
79      /* whether to redraw the map when the tile arrives */      /* whether to redraw the map when the tile arrives */
80      gboolean redraw;      gboolean redraw;
81  #ifdef LIBSOUP22  #if USE_LIBSOUP22
82      SoupSession *session;      SoupSession *session;
83  #endif  #endif
84  } tile_download_t;  } tile_download_t;
# Line 96  typedef struct { Line 94  typedef struct {
94      GdkPixbuf *image;      GdkPixbuf *image;
95      int w;      int w;
96      int h;      int h;
97        int xoffset;
98        int yoffset;
99  } image_t;  } image_t;
100    
101  #endif /* _OSM_GPS_MAP_TYPES_H_ */  #endif /* _OSM_GPS_MAP_TYPES_H_ */

Legend:
Removed from v.55  
changed lines
  Added in v.280