Diff of /trunk/src/gps.h

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

revision 7 by harbaum, Thu Jun 25 15:24:24 2009 UTC revision 8 by harbaum, Thu Jun 25 19:08:48 2009 UTC
# Line 146  struct gps_data_t { Line 146  struct gps_data_t {
146  #include <location/location-gpsd-control.h>  #include <location/location-gpsd-control.h>
147  #endif  #endif
148    
149    typedef struct {
150      int num;
151      int *PRN;
152      int *ss;
153      int *used;
154    } gps_sat_t;
155    
156    
157  typedef struct gps_state {  typedef struct gps_state {
158  #ifndef ENABLE_LIBLOCATION  #ifndef ENABLE_LIBLOCATION
159  #ifdef ENABLE_GPSBT  #ifdef ENABLE_GPSBT
# Line 161  typedef struct gps_state { Line 169  typedef struct gps_state {
169  #else  #else
170    LocationGPSDevice *device;    LocationGPSDevice *device;
171    guint idd_changed;    guint idd_changed;
172    gboolean fix, fix3d;    int fields;
173    double latitude, longitude;    double latitude, longitude;
174    double heading, epe;    double heading, epe;
175      gps_sat_t sats;
176  #endif  #endif
177  } gps_state_t;  } gps_state_t;
178    
 typedef struct {  
   int num;  
   int *PRN;  
   int *ss;  
   int *used;  
 } gps_sat_t;  
   
179  void gps_init(appdata_t *appdata);  void gps_init(appdata_t *appdata);
180  void gps_release(appdata_t *appdata);  void gps_release(appdata_t *appdata);
181  pos_t *gps_get_pos(appdata_t *appdata);  pos_t *gps_get_pos(appdata_t *appdata);

Legend:
Removed from v.7  
changed lines
  Added in v.8