Merge with modular_map
[navit-package] / src / statusbar.h
1 struct route;
2 struct statusbar_priv;
3 struct point;
4 struct transformation;
5
6 struct statusbar_methods {
7         void (*statusbar_destroy)(struct statusbar_priv *this);
8         void (*statusbar_mouse_update)(struct statusbar_priv *this, struct transformation *tr, struct point *p);
9         void (*statusbar_route_update)(struct statusbar_priv *this, struct route *route);
10         void (*statusbar_gps_update)(struct statusbar_priv *this, int sats, int qual, double lng, double lat, double height, double direction, double speed);
11 };
12
13 struct statusbar {
14         struct statusbar_methods meth;
15         struct statusbar_priv *priv;
16 };
17
18 /* prototypes */