]> Pileus Git - aweather/blobdiff - src/aweather-location.h
Support setting an initial time with -t
[aweather] / src / aweather-location.h
index a3a3b69b175a98a0e9339513e6c912cb17ad9fae..44a4304d25812d6e6de5bb8947ad16968e80b7e4 100644 (file)
@@ -18,6 +18,8 @@
 #ifndef __LOCATION_H__
 #define __LOCATION_H__
 
+#include "grits-util.h"
+
 enum {
        LOCATION_END,
        LOCATION_CITY,
@@ -25,12 +27,11 @@ enum {
 };
 
 typedef struct {
-       int type;
-       char *code;
-       char *label;
-       double lat;
-       double lon;
-       double elev;
+       gint type;
+       gchar *code;
+       gchar *name;
+       GritsPoint pos;
+       gdouble lod;
 } city_t;
 
 extern city_t cities[];