X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=src%2Fgis-viewer.h;h=76a2d117c098dcd4843aa1c8f6448794f6580329;hb=cbd3d3a794ee86f35b1a5c73ab37a0c9447c8f10;hp=b85120b3d978b62a8a9fc90f2481c786d5780d14;hpb=2b517cba642699c307af4089f94280d9b61e3dff;p=grits diff --git a/src/gis-viewer.h b/src/gis-viewer.h index b85120b..76a2d11 100644 --- a/src/gis-viewer.h +++ b/src/gis-viewer.h @@ -89,7 +89,7 @@ struct _GisViewer { /* instance members */ GisPlugins *plugins; GisPrefs *prefs; - gchar *time; + time_t time; gdouble location[3]; gdouble rotation[3]; gboolean offline; @@ -125,8 +125,8 @@ GType gis_viewer_get_type(void); /* Methods */ void gis_viewer_setup(GisViewer *viewer, GisPlugins *plugins, GisPrefs *prefs); -void gis_viewer_set_time(GisViewer *viewer, const gchar *time); -gchar *gis_viewer_get_time(GisViewer *viewer); +void gis_viewer_set_time(GisViewer *viewer, time_t time); +time_t gis_viewer_get_time(GisViewer *viewer); void gis_viewer_set_location(GisViewer *viewer, gdouble lat, gdouble lon, gdouble elev); void gis_viewer_get_location(GisViewer *viewer, gdouble *lat, gdouble *lon, gdouble *elev);