webengine/wmlengine/src/xhtml/include/nw_xhtml_textelementhandler.h
changeset 0 dd21522fd290
equal deleted inserted replaced
-1:000000000000 0:dd21522fd290
       
     1 /*
       
     2 * Copyright (c) 2000 - 2001 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_TEXTELEMENTHANDLER_H
       
    20 #define NW_XHTML_TEXTELEMENTHANDLER_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_TextElementHandler_Class_s NW_XHTML_TextElementHandler_Class_t;
       
    33 typedef struct NW_XHTML_TextElementHandler_s NW_XHTML_TextElementHandler_t;
       
    34 
       
    35 /* ------------------------------------------------------------------------- *
       
    36    class definition
       
    37  * ------------------------------------------------------------------------- */
       
    38 typedef struct NW_XHTML_TextElementHandler_ClassPart_s {
       
    39   void** unused;
       
    40 } NW_XHTML_TextElementHandler_ClassPart_t;
       
    41 
       
    42 struct NW_XHTML_TextElementHandler_Class_s {
       
    43   NW_Object_Core_ClassPart_t NW_Object_Core;
       
    44   NW_XHTML_ElementHandler_ClassPart_t NW_XHTML_ElementHandler;
       
    45   NW_XHTML_TextElementHandler_ClassPart_t NW_XHTML_TextElementHandler;
       
    46 };
       
    47 
       
    48 /* ------------------------------------------------------------------------- *
       
    49    object definiton
       
    50  * ------------------------------------------------------------------------- */
       
    51 struct NW_XHTML_TextElementHandler_s {
       
    52   NW_XHTML_ElementHandler_t super;
       
    53 };
       
    54 
       
    55 /* ------------------------------------------------------------------------- *
       
    56    convenience macros
       
    57  * ------------------------------------------------------------------------- */
       
    58 #define NW_XHTML_TextElementHandler_GetClassPart(_object) \
       
    59   (NW_Object_GetClassPart((_object), NW_XHTML_TextElementHandler))
       
    60 
       
    61 #define NW_XHTML_TextElementHandlerOf(_object) \
       
    62   (NW_Object_Cast (_object, NW_XHTML_TextElementHandler))
       
    63 
       
    64 /* ------------------------------------------------------------------------- *
       
    65    global static data
       
    66  * ------------------------------------------------------------------------- */
       
    67 extern const NW_XHTML_TextElementHandler_Class_t NW_XHTML_TextElementHandler_Class;
       
    68 extern const NW_XHTML_TextElementHandler_t NW_XHTML_TextElementHandler;
       
    69 
       
    70 #ifdef __cplusplus
       
    71 } // extern "C" {
       
    72 #endif /* __cplusplus */
       
    73 
       
    74 #endif /* NW_XHTML_TEXTELEMENTHANDLER_H */