navit 0.5.3-trunk
Loading...
Searching...
No Matches
plugin_def.h
Go to the documentation of this file.
1
20struct attr;
21struct navit;
22struct callback_list;
23struct gui;
24PLUGIN_FUNC1(draw, struct container *, co)
25PLUGIN_FUNC3(popup, struct container *, map, struct popup *, p, struct popup_item **, list)
26PLUGIN_CATEGORY(graphics, (struct navit *nav, struct graphics_methods *meth, struct attr **attrs, struct callback_list *cbl))
27PLUGIN_CATEGORY(gui, (struct navit *nav, struct gui_methods *meth, struct attr **attrs, struct gui *gui))
28PLUGIN_CATEGORY(map, (struct map_methods *meth, struct attr **attrs, struct callback_list *cbl))
29PLUGIN_CATEGORY(osd, (struct navit *nav, struct osd_methods *meth, struct attr **attrs))
30PLUGIN_CATEGORY(speech, (struct speech_methods *meth, struct attr **attrs, struct attr *parent))
32PLUGIN_CATEGORY(event, (struct event_methods *meth))
33PLUGIN_CATEGORY(font, (void *meth))
34PLUGIN_CATEGORY(traffic, (struct navit *nav, struct traffic_methods *meth, struct attr **attrs, struct callback_list *cbl))
struct callback_list * cbl
Definition main.c:64
unsigned char p[5]
Definition mg.h:2
#define PLUGIN_FUNC1(name, t1, p1)
Definition plugin.h:124
#define PLUGIN_CATEGORY(category, newargs)
Definition plugin.h:136
#define PLUGIN_FUNC3(name, t1, p1, t2, p2, t3, p3)
Definition plugin.h:128
void popup(struct navit *nav, int button, struct point *p)
Definition popup.c:377
Definition attr.h:136
Definition callback.c:37
Definition event.h:37
Definition graphics.h:111
graphics object A graphics object serves as the target for drawing operations. It encapsulates variou...
Definition graphics.c:78
Definition gui.h:37
Definition gui.c:30
struct attr ** attrs
Definition gui.c:33
struct gui_methods meth
Definition gui.c:31
Holds all functions a map plugin has to implement to be usable.
Definition map.h:80
Definition map.c:55
Definition navit.c:112
Definition osd.h:30
Definition osd.c:34
Definition gpx2navit_txt.h:51
Definition speech.h:28
Definition speech.c:28
Holds all functions a traffic plugin has to implement to be usable.
Definition traffic.h:258
A traffic plugin instance.
Definition traffic.c:116
Definition vehicle.h:32
Definition vehicle.c:56