diff -r 000000000000 -r dd21522fd290 webengine/wmlengine/src/lmgr/include/LMgrAnonBlock.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/webengine/wmlengine/src/lmgr/include/LMgrAnonBlock.h Mon Mar 30 12:54:55 2009 +0300 @@ -0,0 +1,82 @@ +/* +* Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of the License "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: The class represents the anonymous block box +* See CSS2 Spec from WWW.W3C.ORG (page 98) +* +*/ + +#ifndef _LMGRANONBLOCK_H +#define _LMGRANONBLOCK_H + +#include "nw_lmgr_bidiflowbox.h" +#include "BrsrStatusCodes.h" + +#ifdef __cplusplus +extern "C" +{ +#endif /* __cplusplus */ + + +/* Bidi Flow boxes manage bidirectional flows */ + +typedef struct LMgrAnonBlock_s LMgrAnonBlock_t; + +typedef struct LMgrAnonBlock_ClassPart_s { + void** unused; /* empty class part */ +} LMgrAnonBlock_ClassPart_t; + +/* ------------------------------------------------------------------------- */ +typedef struct LMgrAnonBlock_Class_s { + NW_Object_Core_ClassPart_t NW_Object_Core; + NW_Object_Base_ClassPart_t NW_Object_Base; + NW_Object_Dynamic_ClassPart_t NW_Object_Dynamic; + NW_LMgr_Box_ClassPart_t NW_LMgr_Box; + NW_LMgr_ContainerBox_ClassPart_t NW_LMgr_ContainerBox; + NW_LMgr_FormatBox_ClassPart_t NW_LMgr_FormatBox; + NW_LMgr_FlowBox_ClassPart_t NW_LMgr_FlowBox; + NW_LMgr_BidiFlowBox_ClassPart_t NW_LMgr_BidiFlowBox; + LMgrAnonBlock_ClassPart_t LMgrAnonBlock; +} LMgrAnonBlock_Class_t; + +/* ------------------------------------------------------------------------- */ +struct LMgrAnonBlock_s { + NW_LMgr_BidiFlowBox_t super; +}; + +/* ------------------------------------------------------------------------- */ + +#define LMgrAnonBlock_GetClassPart(_object) \ +(NW_Object_GetClassPart(_object, LMgrAnonBlock)) + + +#define LMgrAnonBlockOf(_object) \ +((LMgrAnonBlock_t*) (_object)) + +/* ------------------------------------------------------------------------- */ +NW_LMGR_EXPORT const LMgrAnonBlock_Class_t LMgrAnonBlock_Class; + +NW_LMGR_EXPORT +TBrowserStatusCode +LMgrAnonBlock_Collapse (LMgrAnonBlock_t* aAnonBlock); + +NW_LMGR_EXPORT +LMgrAnonBlock_t* +LMgrAnonBlock_New (NW_ADT_Vector_Metric_t numProperties); + +#ifdef __cplusplus +} // extern "C" { +#endif /* __cplusplus */ + +#endif +