]> Pileus Git - aweather/blobdiff - src/aweather-location.h
Rename aweather-colormap.[ch] to radar-info.[ch]
[aweather] / src / aweather-location.h
index 453f6868e0c9bc1521f0847ce969522cb798b4d8..a6863328c19dfefbf1f8f6cc3a373e80f7d7d437 100644 (file)
 #ifndef __LOCATION_H__
 #define __LOCATION_H__
 
-#include "gis-util.h"
+#include "grits-util.h"
 
 enum {
-       LOCATION_END,
-       LOCATION_CITY,
-       LOCATION_STATE,
+       LOCATION_END,   // Special marker for end-of-list
+       LOCATION_CITY,  // Cities (actually radars)
+       LOCATION_STATE, // States (for indexing)
+       LOCATION_NOP,   // Missing from IDD for some reason
 };
 
 typedef struct {
-       int type;
-       char *code;
-       char *label;
-       GisPoint pos;
+       gint type;
+       gchar *code;
+       gchar *name;
+       GritsPoint pos;
        gdouble lod;
 } city_t;