1 |
zoff99 |
2 |
/**
|
2 |
|
|
* Navit, a modular navigation system.
|
3 |
|
|
* Copyright (C) 2005-2008 Navit Team
|
4 |
|
|
*
|
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.
|
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 Library General Public License for more details.
|
13 |
|
|
*
|
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.
|
18 |
|
|
*/
|
19 |
|
|
|
20 |
|
|
#ifndef NAVIT_COUNTRY_H
|
21 |
|
|
#define NAVIT_COUNTRY_H
|
22 |
|
|
|
23 |
|
|
#ifdef __cplusplus
|
24 |
|
|
extern "C" {
|
25 |
|
|
#endif
|
26 |
|
|
|
27 |
|
|
/* prototypes */
|
28 |
|
|
struct attr;
|
29 |
|
|
struct country_search;
|
30 |
|
|
struct item;
|
31 |
|
|
struct country_search *country_search_new(struct attr *search, int partial);
|
32 |
|
|
struct item *country_search_get_item(struct country_search *this_);
|
33 |
|
|
struct attr *country_default(void);
|
34 |
|
|
void country_search_destroy(struct country_search *this_);
|
35 |
|
|
/* end of prototypes */
|
36 |
|
|
|
37 |
|
|
|
38 |
|
|
#ifdef __cplusplus
|
39 |
|
|
}
|
40 |
|
|
#endif
|
41 |
|
|
|
42 |
|
|
#endif
|