|
1 /* |
|
2 * Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * Header GDR.H |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef __GDR_H__ |
|
21 #define __GDR_H__ |
|
22 |
|
23 /** |
|
24 @file |
|
25 @publishedAll |
|
26 */ |
|
27 |
|
28 /** WARNING: Typedefs for internal use ONLY. Compatibility is not guaranteed in future releases. */ |
|
29 typedef char chardim; // used for character dimensions, can be increased to short int (2 bytes) |
|
30 /** WARNING: Typedefs for internal use ONLY. Compatibility is not guaranteed in future releases. */ |
|
31 typedef unsigned char uint8; // used for values which are written as unsigned short int |
|
32 /** WARNING: Typedefs for internal use ONLY. Compatibility is not guaranteed in future releases. */ |
|
33 typedef unsigned short int uint16; // used for values which are written as unsigned short int |
|
34 /** WARNING: Typedefs for internal use ONLY. Compatibility is not guaranteed in future releases. */ |
|
35 typedef signed long int32; // used for file signature |
|
36 /** WARNING: Typedefs for internal use ONLY. Compatibility is not guaranteed in future releases. */ |
|
37 typedef unsigned long uint32; |
|
38 /** WARNING: Typedefs for internal use ONLY. Compatibility is not guaranteed in future releases. */ |
|
39 typedef signed int uid; |
|
40 /** WARNING: Typedefs for internal use ONLY. Compatibility is not guaranteed in future releases. */ |
|
41 typedef uint8 boolean; |
|
42 |
|
43 /** WARNING: Constants for internal use ONLY. Compatibility is not guaranteed in future releases. */ |
|
44 const boolean efalse = 0; |
|
45 /** WARNING: Constants for internal use ONLY. Compatibility is not guaranteed in future releases. */ |
|
46 const boolean etrue = 1; |
|
47 |
|
48 /** WARNING: Constants for internal use ONLY. Compatibility is not guaranteed in future releases. */ |
|
49 const int MaxLineLen = 256; // maximum line length |
|
50 /** WARNING: Constants for internal use ONLY. Compatibility is not guaranteed in future releases. */ |
|
51 const int KUndefinedInteger=0x7fff; |
|
52 |
|
53 /** WARNING: For internal use ONLY. Compatibility is not guaranteed in future releases. */ |
|
54 #if defined(__VC32__) |
|
55 #define IMPORT_C __declspec(dllexport) |
|
56 #define EXPORT_C __declspec(dllexport) |
|
57 #else |
|
58 #define IMPORT_C |
|
59 #define EXPORT_C |
|
60 #endif |
|
61 |
|
62 #endif |