|
1 /* |
|
2 * Copyright (c) 2000 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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef NW_XHTML_STYLEELEMENTHANDLER_H |
|
20 #define NW_XHTML_STYLEELEMENTHANDLER_H |
|
21 |
|
22 #include "nw_xhtml_elementhandler.h" |
|
23 |
|
24 #ifdef __cplusplus |
|
25 extern "C" { |
|
26 #endif /* __cplusplus */ |
|
27 |
|
28 |
|
29 /* ------------------------------------------------------------------------- * |
|
30 forward declarations |
|
31 * ------------------------------------------------------------------------- */ |
|
32 typedef struct NW_XHTML_styleElementHandler_Class_s NW_XHTML_styleElementHandler_Class_t; |
|
33 typedef struct NW_XHTML_styleElementHandler_s NW_XHTML_styleElementHandler_t; |
|
34 |
|
35 /* ------------------------------------------------------------------------- * |
|
36 class definition |
|
37 * ------------------------------------------------------------------------- */ |
|
38 typedef struct NW_XHTML_styleElementHandler_ClassPart_s { |
|
39 void** unused; |
|
40 } NW_XHTML_styleElementHandler_ClassPart_t; |
|
41 |
|
42 struct NW_XHTML_styleElementHandler_Class_s { |
|
43 NW_Object_Core_ClassPart_t NW_Object_Core; |
|
44 NW_XHTML_ElementHandler_ClassPart_t NW_XHTML_ElementHandler; |
|
45 NW_XHTML_styleElementHandler_ClassPart_t NW_XHTML_styleElementHandler; |
|
46 }; |
|
47 |
|
48 /* ------------------------------------------------------------------------- * |
|
49 object definiton |
|
50 * ------------------------------------------------------------------------- */ |
|
51 struct NW_XHTML_styleElementHandler_s { |
|
52 NW_XHTML_ElementHandler_t super; |
|
53 }; |
|
54 |
|
55 /* ------------------------------------------------------------------------- * |
|
56 convenience macros |
|
57 * ------------------------------------------------------------------------- */ |
|
58 #define NW_XHTML_styleElementHandler_GetClassPart(_object) \ |
|
59 (((NW_XHTML_styleElementHandler_Class_t*) NW_Object_GetClass(_object))->\ |
|
60 NW_XHTML_styleElementHandler) |
|
61 |
|
62 #define NW_XHTML_styleElementHandlerOf(_object) \ |
|
63 ((NW_XHTML_styleElementHandler_t*) (_object)) |
|
64 |
|
65 /* ------------------------------------------------------------------------- * |
|
66 global static data |
|
67 * ------------------------------------------------------------------------- */ |
|
68 extern const NW_XHTML_styleElementHandler_Class_t NW_XHTML_styleElementHandler_Class; |
|
69 extern const NW_XHTML_styleElementHandler_t NW_XHTML_styleElementHandler; |
|
70 |
|
71 #ifdef __cplusplus |
|
72 } // extern "C" { |
|
73 #endif /* __cplusplus */ |
|
74 |
|
75 #endif /* _NW_Tempest_XHTML_styleElementHandler_h */ |