Navit SVN

/work/compile/navit/src/navit/maptype.h

00001 
00020 #ifndef NAVIT_MAPTYPE_H
00021 #define NAVIT_MAPTYPE_H
00022 
00023 struct map_methods;
00024 enum projection;
00025 
00026 struct maptype {
00027         char *name;
00028         struct map_priv *(*map_new)(struct map_methods *meth, char *data, char **charset, enum projection *pro);
00029         struct maptype *next;   
00030 };
00031 
00032 /* prototypes */
00033 struct map_methods;
00034 struct map_priv;
00035 struct maptype;
00036 void maptype_register(char *name, struct map_priv *(*map_new)(struct map_methods *meth, char *data, char **charset, enum projection *pro));
00037 struct maptype *maptype_get(const char *name);
00038 
00039 #endif
00040