2 * Navit, a modular navigation system.
3 * Copyright (C) 2005-2008 Navit Team
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public License
7 * version 2 as published by the Free Software Foundation.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU Library General Public License for more details.
14 * You should have received a copy of the GNU Library General Public
15 * License along with this program; if not, write to the
16 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 * Boston, MA 02110-1301, USA.
20 #ifndef NAVIT_NAVIGATION_H
21 #define NAVIT_NAVIGATION_H
34 struct navigation *navigation_new(struct attr **attrs);
35 int navigation_set_announce(struct navigation *this_, enum item_type type, int *level);
36 void navigation_update(struct navigation *this_, struct route *route);
37 void navigation_flush(struct navigation *this_);
38 void navigation_destroy(struct navigation *this_);
39 int navigation_register_callback(struct navigation *this_, enum attr_type type, struct callback *cb);
40 void navigation_unregister_callback(struct navigation *this_, enum attr_type type, struct callback *cb);
41 struct map *navigation_get_map(struct navigation *this_);
42 void navigation_init(void);
43 /* end of prototypes */