Fix:Core:Renamed src to navit for cleanup of includes
[navit-package] / navit / maptype.h
1 #ifndef NAVIT_MAPTYPE_H
2 #define NAVIT_MAPTYPE_H
3
4 struct map_methods;
5
6 struct maptype {
7         char *name;
8         struct map_priv *(*map_new)(struct map_methods *meth, char *data, char **charset, enum projection *pro);
9         struct maptype *next;   
10 };
11
12 /* prototypes */
13 enum projection;
14 struct map_methods;
15 struct map_priv;
16 struct maptype;
17 void maptype_register(char *name, struct map_priv *(*map_new)(struct map_methods *meth, char *data, char **charset, enum projection *pro));
18 struct maptype *maptype_get(const char *name);
19
20 #endif
21