upload tizen1.0 source
[framework/location/gps-manager.git] / gps-manager / last_position.h
index 38fb799..636db4c 100644 (file)
 
 #include "gps_manager_data_types.h"
 
-typedef struct {
-       int timestamp;
-       double latitude;
-       double longitude;
-       double altitude;
-       double hor_accuracy;
-       double ver_accuracy;
-} last_pos_t;
-
-void gps_manager_get_last_position(last_pos_t * last_pos);
-int gps_manager_distance_to_last_position(const pos_data_t * pos, const last_pos_t * last_pos);
-void gps_manager_update_last_position(const pos_data_t * pos, last_pos_t * last_pos);
+void gps_manager_set_last_position(pos_data_t * last_pos);
+void gps_manager_get_last_position(pos_data_t * last_pos);
 
 #endif                         /* _GPS_MANAGER_LAST_POSITON_H_ */