1 |
/**
|
2 |
* ZANavi, Zoff Android Navigation system.
|
3 |
* Copyright (C) 2011-2012 Zoff <zoff@zoff.cc>
|
4 |
*
|
5 |
* This program is free software; you can redistribute it and/or
|
6 |
* modify it under the terms of the GNU General Public License
|
7 |
* version 2 as published by the Free Software Foundation.
|
8 |
*
|
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 General Public License for more details.
|
13 |
*
|
14 |
* You should have received a copy of the GNU General Public License
|
15 |
* 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.
|
18 |
*/
|
19 |
|
20 |
/**
|
21 |
* Navit, a modular navigation system.
|
22 |
* Copyright (C) 2005-2008 Navit Team
|
23 |
*
|
24 |
* This program is free software; you can redistribute it and/or
|
25 |
* modify it under the terms of the GNU Library General Public License
|
26 |
* version 2 as published by the Free Software Foundation.
|
27 |
*
|
28 |
* This program is distributed in the hope that it will be useful,
|
29 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
30 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
31 |
* GNU Library General Public License for more details.
|
32 |
*
|
33 |
* You should have received a copy of the GNU Library General Public
|
34 |
* License along with this program; if not, write to the
|
35 |
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
36 |
* Boston, MA 02110-1301, USA.
|
37 |
*/
|
38 |
|
39 |
#ifndef NAVIT_MAIN_H
|
40 |
#define NAVIT_MAIN_H
|
41 |
|
42 |
#ifdef __cplusplus
|
43 |
extern "C"
|
44 |
{
|
45 |
#endif
|
46 |
|
47 |
/* prototypes */
|
48 |
struct navit;
|
49 |
struct iter;
|
50 |
struct attr;
|
51 |
struct iter * main_iter_new(void);
|
52 |
void main_iter_destroy(struct iter *iter);
|
53 |
struct navit * main_get_navit(struct iter *iter);
|
54 |
void main_add_navit(struct navit *nav);
|
55 |
void main_remove_navit(struct navit *nav);
|
56 |
int main_add_attr(struct attr *attr);
|
57 |
int main_remove_attr(struct attr *attr);
|
58 |
void main_init(const char *program);
|
59 |
void main_init_nls(void);
|
60 |
int main(int argc, char **argv);
|
61 |
/* end of prototypes */
|
62 |
|
63 |
#ifdef __cplusplus
|
64 |
}
|
65 |
#endif
|
66 |
|
67 |
#endif
|