webengine/wmlengine/src/lmgr/include/LMgrAnonTableBox.h
changeset 0 dd21522fd290
equal deleted inserted replaced
-1:000000000000 0:dd21522fd290
       
     1 /*
       
     2 * Copyright (c) 2004 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:  The class represents the anonymous table box 
       
    15 *                that wraps the caption and the table
       
    16                  See CSS2 Spec from WWW.W3C.ORG (page 251)
       
    17 *
       
    18 */
       
    19 
       
    20 #ifndef _LMGRANONTABLEBOX_H
       
    21 #define _LMGRANONTABLEBOX_H
       
    22 
       
    23 #include "LMgrAnonBlock.h"
       
    24 #include "BrsrStatusCodes.h"
       
    25 
       
    26 #ifdef __cplusplus
       
    27 extern "C" 
       
    28 {
       
    29 #endif /* __cplusplus */
       
    30 
       
    31 
       
    32 /* Bidi Flow boxes manage bidirectional flows */
       
    33 
       
    34 typedef struct LMgrAnonTableBox_s LMgrAnonTableBox_t;
       
    35 
       
    36 typedef struct LMgrAnonTableBox_ClassPart_s {
       
    37   void** unused;			/* empty class part */
       
    38 } LMgrAnonTableBox_ClassPart_t;
       
    39 
       
    40 /* ------------------------------------------------------------------------- */
       
    41 typedef struct LMgrAnonTableBox_Class_s {
       
    42   NW_Object_Core_ClassPart_t NW_Object_Core;
       
    43   NW_Object_Base_ClassPart_t NW_Object_Base;
       
    44   NW_Object_Dynamic_ClassPart_t NW_Object_Dynamic;
       
    45   NW_LMgr_Box_ClassPart_t NW_LMgr_Box;
       
    46   NW_LMgr_ContainerBox_ClassPart_t NW_LMgr_ContainerBox;
       
    47   NW_LMgr_FormatBox_ClassPart_t NW_LMgr_FormatBox;
       
    48   NW_LMgr_FlowBox_ClassPart_t NW_LMgr_FlowBox;
       
    49   NW_LMgr_BidiFlowBox_ClassPart_t NW_LMgr_BidiFlowBox;
       
    50   LMgrAnonBlock_ClassPart_t LMgrAnonBlock;
       
    51   LMgrAnonTableBox_ClassPart_t LMgrAnonTableBox;
       
    52 } LMgrAnonTableBox_Class_t;
       
    53 
       
    54 /* ------------------------------------------------------------------------- */
       
    55 struct LMgrAnonTableBox_s {
       
    56   LMgrAnonBlock_t super;
       
    57 };
       
    58 
       
    59 /* ------------------------------------------------------------------------- */
       
    60 
       
    61 #define LMgrAnonTableBox_GetClassPart(_object) \
       
    62 (NW_Object_GetClassPart(_object, LMgrAnonTableBox))
       
    63 
       
    64 
       
    65 #define LMgrAnonTableBoxOf(_object) \
       
    66 ((LMgrAnonTableBox_t*) (_object))
       
    67 
       
    68 /* ------------------------------------------------------------------------- */
       
    69 NW_LMGR_EXPORT const LMgrAnonTableBox_Class_t LMgrAnonTableBox_Class;
       
    70 
       
    71 
       
    72 NW_LMGR_EXPORT
       
    73 LMgrAnonTableBox_t*
       
    74 LMgrAnonTableBox_New (NW_ADT_Vector_Metric_t numProperties);
       
    75 
       
    76 #ifdef __cplusplus
       
    77 } // extern "C" {
       
    78 #endif /* __cplusplus */
       
    79 
       
    80 #endif 
       
    81