webengine/wmlengine/src/xhtml/include/XhtmlTableElementHandlerOOC.h
changeset 74 91031d3aab7d
parent 68 92a765b5b3e7
child 85 e358f2276d3f
equal deleted inserted replaced
68:92a765b5b3e7 74:91031d3aab7d
     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 XHTML_TABLEELEMENTHANDLER_H
       
    20 #define XHTML_TABLEELEMENTHANDLER_H
       
    21 
       
    22 #include "nw_xhtml_elementhandler.h"
       
    23 
       
    24 #ifdef __cplusplus
       
    25 extern "C" {
       
    26 #endif /* __cplusplus */
       
    27   
       
    28 /* ------------------------------------------------------------------------- *
       
    29    forward declarations
       
    30  * ------------------------------------------------------------------------- */
       
    31 typedef struct NW_XHTML_tableElementHandler_Class_s NW_XHTML_tableElementHandler_Class_t;
       
    32 typedef struct NW_XHTML_tableElementHandler_s NW_XHTML_tableElementHandler_t;
       
    33 
       
    34 /* ------------------------------------------------------------------------- *
       
    35    class definition
       
    36  * ------------------------------------------------------------------------- */
       
    37 typedef struct NW_XHTML_tableElementHandler_ClassPart_s {
       
    38   void** unused;
       
    39 } NW_XHTML_tableElementHandler_ClassPart_t;
       
    40 
       
    41 struct NW_XHTML_tableElementHandler_Class_s {
       
    42   NW_Object_Core_ClassPart_t NW_Object_Core;
       
    43   NW_XHTML_ElementHandler_ClassPart_t NW_XHTML_ElementHandler;
       
    44   NW_XHTML_tableElementHandler_ClassPart_t NW_XHTML_tableElementHandler;
       
    45 };
       
    46 
       
    47 /* ------------------------------------------------------------------------- *
       
    48    object definiton
       
    49  * ------------------------------------------------------------------------- */
       
    50 struct NW_XHTML_tableElementHandler_s {
       
    51   NW_XHTML_ElementHandler_t super;
       
    52 };
       
    53 
       
    54 /* ------------------------------------------------------------------------- *
       
    55    convenience macros
       
    56  * ------------------------------------------------------------------------- */
       
    57 #define NW_XHTML_tableElementHandler_GetClassPart(_object) \
       
    58   (((NW_XHTML_tableElementHandler_Class_t*) NW_Object_GetClass(_object))->\
       
    59    NW_XHTML_tableElementHandler)
       
    60 
       
    61 #define NW_XHTML_tableElementHandlerOf(_object) \
       
    62   ((NW_XHTML_tableElementHandler_t*) (_object))
       
    63 
       
    64 /* ------------------------------------------------------------------------- *
       
    65    global static data
       
    66  * ------------------------------------------------------------------------- */
       
    67 extern const NW_XHTML_tableElementHandler_Class_t NW_XHTML_tableElementHandler_Class;
       
    68 extern const NW_XHTML_tableElementHandler_t NW_XHTML_tableElementHandler;
       
    69 
       
    70 /* ------------------------------------------------------------------------- *
       
    71    final methods
       
    72  * ------------------------------------------------------------------------- */
       
    73 NW_Bool
       
    74 NW_XHTML_tableElementHandler_DoesGridModeApply (NW_XHTML_ContentHandler_t* aContentHandler,
       
    75     NW_DOM_ElementNode_t* aElementNode);
       
    76 
       
    77 #ifdef __cplusplus
       
    78 } // extern "C" {
       
    79 #endif /* __cplusplus */
       
    80 
       
    81 #endif /* XHTML_TABLEELEMENTHANDLER_H */