|
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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef NW_XHTML_OBJECT_OBJELEMENTHANDLER_H |
|
20 #define NW_XHTML_OBJECT_OBJELEMENTHANDLER_H |
|
21 |
|
22 #include "nw_xhtml_elementhandler.h" |
|
23 |
|
24 #ifdef __cplusplus |
|
25 extern "C" { |
|
26 #endif /* __cplusplus */ |
|
27 |
|
28 |
|
29 /* GENERATED */ |
|
30 |
|
31 /* ------------------------------------------------------------------------- * |
|
32 forward declarations |
|
33 * ------------------------------------------------------------------------- */ |
|
34 typedef struct NW_XHTML_ObjectElementHandler_Class_s NW_XHTML_ObjectElementHandler_Class_t; |
|
35 typedef struct NW_XHTML_ObjectElementHandler_s NW_XHTML_ObjectElementHandler_t; |
|
36 |
|
37 /* ------------------------------------------------------------------------- * |
|
38 class definition |
|
39 * ------------------------------------------------------------------------- */ |
|
40 typedef struct NW_XHTML_ObjectElementHandler_ClassPart_s |
|
41 { |
|
42 void** unused; |
|
43 } NW_XHTML_ObjectElementHandler_ClassPart_t; |
|
44 |
|
45 struct NW_XHTML_ObjectElementHandler_Class_s |
|
46 { |
|
47 NW_Object_Core_ClassPart_t NW_Object_Core; |
|
48 NW_XHTML_ElementHandler_ClassPart_t NW_XHTML_ElementHandler; |
|
49 NW_XHTML_ObjectElementHandler_ClassPart_t NW_XHTML_ObjectElementHandler; |
|
50 }; |
|
51 |
|
52 /* ------------------------------------------------------------------------- * |
|
53 object definiton |
|
54 * ------------------------------------------------------------------------- */ |
|
55 struct NW_XHTML_ObjectElementHandler_s |
|
56 { |
|
57 NW_XHTML_ElementHandler_t super; |
|
58 }; |
|
59 |
|
60 /* ------------------------------------------------------------------------- * |
|
61 convenience macros |
|
62 * ------------------------------------------------------------------------- */ |
|
63 #define NW_XHTML_ObjectElementHandler_GetClassPart(_object) \ |
|
64 (((NW_XHTML_ObjectElementHandler_Class_t*) NW_Object_GetClass(_object))->\ |
|
65 NW_XHTML_ObjectElementHandler) |
|
66 |
|
67 #define NW_XHTML_ObjectElementHandlerOf(_object) \ |
|
68 ((NW_XHTML_ObjectElementHandler_t*) (_object)) |
|
69 |
|
70 /* ------------------------------------------------------------------------- * |
|
71 global static data |
|
72 * ------------------------------------------------------------------------- */ |
|
73 extern const NW_XHTML_ObjectElementHandler_Class_t NW_XHTML_ObjectElementHandler_Class; |
|
74 extern const NW_XHTML_ObjectElementHandler_t NW_XHTML_ObjectElementHandler; |
|
75 |
|
76 /* ------------------------------------------------------------------------- * |
|
77 public methods |
|
78 * ------------------------------------------------------------------------- */ |
|
79 extern TBrowserStatusCode |
|
80 NW_XHTML_ObjectElementHandler_ApplyInfoProperties (const NW_XHTML_ElementHandler_t* aElementHandler, |
|
81 NW_XHTML_ContentHandler_t* aContentHandler, NW_DOM_ElementNode_t* aElementNode, |
|
82 NW_LMgr_Box_t* aBox); |
|
83 |
|
84 #ifdef __cplusplus |
|
85 } // extern "C" { |
|
86 #endif /* __cplusplus */ |
|
87 |
|
88 #endif /* NW_XHTML_OBJECT_OBJELEMENTHANDLER_H */ |