X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=src%2Faweather-location.h;h=44a4304d25812d6e6de5bb8947ad16968e80b7e4;hb=7fb42f1927cb3794935403b0ee39968e76207c9b;hp=a80f0ac0973b2d52baa6e35899f458e84c23cb46;hpb=8417951998fb6807532b36183841097dbf549def;p=aweather diff --git a/src/aweather-location.h b/src/aweather-location.h index a80f0ac..44a4304 100644 --- a/src/aweather-location.h +++ b/src/aweather-location.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2009 Andy Spencer + * Copyright (C) 2009-2010 Andy Spencer * * 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 @@ -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[];