1 #ifndef NAVIT_VEHICLE_H
2 #define NAVIT_VEHICLE_H
15 enum projection vehicle_projection(struct vehicle *this_);
16 struct coord *vehicle_pos_get(struct vehicle *this_);
17 double *vehicle_speed_get(struct vehicle *this_);
18 double *vehicle_height_get(struct vehicle *this_);
19 double *vehicle_dir_get(struct vehicle *this_);
20 int *vehicle_status_get(struct vehicle *this_);
21 int *vehicle_sats_get(struct vehicle *this_);
22 int *vehicle_sats_used_get(struct vehicle *this_);
23 double *vehicle_pdop_get(struct vehicle *this_);
24 void vehicle_set_position(struct vehicle *this_, struct coord *pos);
25 void vehicle_set_navit(struct vehicle *this_, struct navit *nav);
26 struct vehicle *vehicle_new(const char *url);
27 void vehicle_callback_add(struct vehicle *this_, struct callback *cb);
28 void vehicle_callback_remove(struct vehicle *this_, struct callback *cb);
29 int vehicle_add_log(struct vehicle *this_, struct log *log, struct attr **attrs);
30 void vehicle_destroy(struct vehicle *this_);
31 /* end of prototypes */