|
1 /* |
|
2 * Copyright (c) 2006-2007 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: Platform specific #definitions for the toolkit. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef __HUIPLATFORM_H__ |
|
21 #define __HUIPLATFORM_H__ |
|
22 |
|
23 #if !defined(SERIES_80) && !defined(SERIES_60) |
|
24 #define SERIES_60 // S60 is the default. |
|
25 #endif |
|
26 |
|
27 /* |
|
28 * Series 80 definitions. |
|
29 */ |
|
30 #ifdef SERIES_80 |
|
31 |
|
32 #include <coecntrl.h> |
|
33 #include <eikapp.h> |
|
34 #include <eikdoc.h> |
|
35 #include <eikappui.h> |
|
36 #include <eikon.hrh> |
|
37 |
|
38 #define C_HUI_APPLICATION CEikApplication |
|
39 #define C_HUI_DOCUMENT CEikDocument |
|
40 #define C_HUI_APP_UI CEikAppUi |
|
41 #define C_HUI_CONTROL CCoeControl |
|
42 |
|
43 #endif |
|
44 |
|
45 /* |
|
46 * Series 90 definitions. |
|
47 */ |
|
48 #ifdef SERIES_90 |
|
49 |
|
50 #include <eikbctrl.h> |
|
51 #include <eikapp.h> |
|
52 #include <eikdoc.h> |
|
53 #include <eikappui.h> |
|
54 #include <eikon.hrh> |
|
55 |
|
56 #define C_HUI_APPLICATION CEikApplication |
|
57 #define C_HUI_DOCUMENT CEikDocument |
|
58 #define C_HUI_APP_UI CEikAppUi |
|
59 #define C_HUI_CONTROL CEikBorderedControl |
|
60 |
|
61 #endif |
|
62 |
|
63 /* |
|
64 * Series 60 definitions. |
|
65 */ |
|
66 #ifdef SERIES_60 |
|
67 |
|
68 #include <coecntrl.h> |
|
69 #include <aknapp.h> |
|
70 #include <AknDoc.h> |
|
71 #include <aknappui.h> |
|
72 #include <avkon.hrh> |
|
73 |
|
74 #define C_HUI_APPLICATION CAknApplication |
|
75 #define C_HUI_DOCUMENT CAknDocument |
|
76 #define C_HUI_APP_UI CAknAppUi |
|
77 #define C_HUI_CONTROL CCoeControl |
|
78 |
|
79 #endif |
|
80 |
|
81 |
|
82 #endif |