navit 0.5.3-trunk
Loading...
Searching...
No Matches
maptype.h
Go to the documentation of this file.
1
20#ifndef NAVIT_MAPTYPE_H
21#define NAVIT_MAPTYPE_H
22
23struct map_methods;
24enum projection;
25
26struct maptype {
27 char *name;
28 struct map_priv *(*map_new)(struct map_methods *meth, char *data, char **charset, enum projection *pro);
29 struct maptype *next;
30};
31
32/* prototypes */
33struct map_methods;
34struct map_priv;
35struct maptype;
36void maptype_register(char *name, struct map_priv *(*map_new)(struct map_methods *meth, char *data, char **charset, enum projection *pro));
37struct maptype *maptype_get(const char *name);
38
39#endif
40
char data
Definition garmin_img.c:2
struct map * map_new(struct attr *parent, struct attr **attrs)
Opens a new map.
Definition map.c:82
void maptype_register(char *name, struct map_priv *(*map_new)(struct map_methods *meth, char *data, char **charset, enum projection *pro))
Definition maptype.c:29
struct maptype * maptype_get(const char *name)
Definition maptype.c:40
projection
Definition projection.h:23
char name[0]
Definition street.c:3
Holds all functions a map plugin has to implement to be usable.
Definition map.h:80
Represents the map from a single binfile.
Definition binfile.c:105
Definition maptype.h:26
char * name
Definition maptype.h:27
struct maptype * next
Definition maptype.h:29