|
1 /* |
|
2 * Copyright (c) 2003 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 the License "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: Object for containing map element handler specific methods. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef NW_XHTML_IMAGE_MAPELEMENTHANDLER_H |
|
20 #define NW_XHTML_IMAGE_MAPELEMENTHANDLER_H |
|
21 |
|
22 // INCLUDES |
|
23 #include "nw_xhtml_elementhandler.h" |
|
24 #include "nw_xhtml_elementhandleri.h" |
|
25 |
|
26 #ifdef __cplusplus |
|
27 extern "C" { |
|
28 #endif /* __cplusplus */ |
|
29 |
|
30 // FORWARD DECLARATIONS |
|
31 typedef struct NW_XHTML_mapElementHandler_Class_s NW_XHTML_mapElementHandler_Class_t; |
|
32 typedef struct NW_XHTML_mapElementHandler_s NW_XHTML_mapElementHandler_t; |
|
33 |
|
34 // CLASS DECLARATION |
|
35 typedef struct NW_XHTML_mapElementHandler_ClassPart_s { |
|
36 void** unused; |
|
37 } NW_XHTML_mapElementHandler_ClassPart_t; |
|
38 |
|
39 struct NW_XHTML_mapElementHandler_Class_s { |
|
40 NW_Object_Core_ClassPart_t NW_Object_Core; |
|
41 NW_XHTML_ElementHandler_ClassPart_t NW_XHTML_ElementHandler; |
|
42 NW_XHTML_mapElementHandler_ClassPart_t NW_XHTML_mapElementHandler; |
|
43 }; |
|
44 |
|
45 // OBJECT DEFINITION |
|
46 struct NW_XHTML_mapElementHandler_s { |
|
47 NW_XHTML_ElementHandler_t super; |
|
48 }; |
|
49 |
|
50 // CONVENIENCE MACROS |
|
51 #define NW_XHTML_mapElementHandler_ClassPartOf(_object) \ |
|
52 (((NW_XHTML_mapElementHandler_Class_t*) NW_Object_ClassOf(_object))->\ |
|
53 NW_XHTML_mapElementHandler) |
|
54 |
|
55 #define NW_XHTML_mapElementHandlerOf(_object) \ |
|
56 ((NW_XHTML_mapElementHandler_t*) (_object)) |
|
57 |
|
58 // GLOBAL STATIC DATA |
|
59 extern const NW_XHTML_mapElementHandler_Class_t NW_XHTML_mapElementHandler_Class; |
|
60 extern const NW_XHTML_mapElementHandler_t NW_XHTML_mapElementHandler; |
|
61 |
|
62 #ifdef __cplusplus |
|
63 } // extern "C" { |
|
64 #endif /* __cplusplus */ |
|
65 |
|
66 #endif // NW_XHTML_IMAGE_MAPELEMENTHANDLER_H |