1 |
/**
|
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 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 |
#ifndef ERRORCODE_H
|
21 |
#define ERRORCODE_H
|
22 |
|
23 |
/* os level */
|
24 |
#define ERR_OUTOFMEMORY 11
|
25 |
#define ERR_CANNOTOPEN 12
|
26 |
#define ERR_CREATEFILE 13
|
27 |
#define ERR_READERROR 14
|
28 |
#define ERR_FREEFAILED 15
|
29 |
/* option */
|
30 |
#define ERR_NOARGS 21
|
31 |
#define ERR_WRONGOPTION 22
|
32 |
#define ERR_OPTIONCONFRICT 23
|
33 |
/* parser */
|
34 |
#define ERR_ISNOTGPX 31
|
35 |
#define ERR_PARSEERROR 32
|
36 |
/* unit */
|
37 |
#define ERR_ELLPSUNIT 41
|
38 |
#define ERR_LENGTHUNIT 42
|
39 |
#define ERR_TIMEUNIT 43
|
40 |
|
41 |
#endif /* ERRORCODE_H */
|