]> Pileus Git - aweather/blobdiff - src/aweather-location.h
Convert GtkBox and GtkScale to GTK 3 version
[aweather] / src / aweather-location.h
index 6c8f2959a9087e893fc93cfe1cbceb730231d931..7eaa3d27aa47eb5a831a7c32abb1f73fb8bcd412 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2009-2010 Andy Spencer <andy753421@gmail.com>
+ * Copyright (C) 2009-2011 Andy Spencer <andy753421@gmail.com>
  * 
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
 #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 {
        gint type;
        gchar *code;
        gchar *name;
-       GisPoint pos;
+       GritsPoint pos;
        gdouble lod;
 } city_t;