]> Pileus Git - aweather/blobdiff - src/aweather-location.h
Move RSL file handling to level2 object
[aweather] / src / aweather-location.h
index b030f04b4d9caeb82aa58c58b97f1ae3b6c1e450..a3a3b69b175a98a0e9339513e6c912cb17ad9fae 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2009 Andy Spencer <spenceal@rose-hulman.edu>
+ * Copyright (C) 2009-2010 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
 #define __LOCATION_H__
 
 enum {
+       LOCATION_END,
        LOCATION_CITY,
-       LOCATION_STATE
+       LOCATION_STATE,
 };
 
 typedef struct {
        int type;
        char *code;
        char *label;
-       struct {
-               gint north;
-               gint ne;
-               gint east;
-               gint se;
-               gint south;
-               gint sw;
-               gint west;
-               gint nw;
-       } neighbors;
+       double lat;
+       double lon;
+       double elev;
 } city_t;
 
 extern city_t cities[];