]>
Pileus Git - aweather/blobdiff - src/aweather-location.h
#ifndef __LOCATION_H__
#define __LOCATION_H__
+#include "grits-util.h"
+
enum {
LOCATION_END,
LOCATION_CITY,
};
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[];