webengine/wmlengine/src/lmgr/include/LMgrObjectBoxOOCi.h
author Simon Howkins <simonh@symbian.org>
Mon, 15 Nov 2010 14:53:34 +0000
branchRCL_3
changeset 105 871af676edac
parent 0 dd21522fd290
permissions -rw-r--r--
Adjusted to avoid exports, etc, from a top-level bld.inf

/*
* Copyright (c) 2000 - 2001 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: 
*
*/


#ifndef NW_LMGR_OBJECTBOXI_H
#define NW_LMGR_OBJECTBOXI_H

#include "nw_lmgr_mediaboxi.h"
#include "LMgrObjectBoxOOC.h"

#ifdef __cplusplus
extern "C" 
{
#endif /* __cplusplus */


/* ------------------------------------------------------------------------- *
   virtual methods implementation declarations
 * ------------------------------------------------------------------------- */
NW_LMGR_EXPORT
TBrowserStatusCode
_NW_LMgr_ObjectBox_Construct(NW_Object_Dynamic_t* dynamicObject,
                          va_list* argp);

NW_LMGR_EXPORT
void
_NW_LMgr_ObjectBox_Destruct(NW_Object_Dynamic_t* dynamicObject);

NW_LMGR_EXPORT
TBrowserStatusCode
_NW_LMgr_ObjectBox_Split(NW_LMgr_Box_t* box, 
                      NW_GDI_Metric_t space,
                      NW_LMgr_Box_t** splitBox, 
                      NW_Uint8 flags);

NW_LMGR_EXPORT
TBrowserStatusCode
_NW_LMgr_ObjectBox_GetMinimumContentSize(NW_LMgr_Box_t *box,
                                      NW_GDI_Dimension2D_t *size);

NW_LMGR_EXPORT
TBrowserStatusCode
_NW_LMgr_ObjectBox_Render (NW_LMgr_Box_t* box,
                     CGDIDeviceContext* deviceContext,
                     NW_GDI_Rectangle_t* clipRect,
                     NW_LMgr_Box_t* currentBox,
                     NW_Uint8 flags, 
                     NW_Bool* hasFocus,
                     NW_Bool* skipChildren,
                     NW_LMgr_RootBox_t* rootBox );

NW_LMGR_EXPORT
TBrowserStatusCode
_NW_LMgr_ObjectBox_Draw(NW_LMgr_Box_t* box,
                     CGDIDeviceContext* deviceContext,
                     NW_Uint8 hasFocus);

#ifdef __cplusplus
} // extern "C" {
#endif /* __cplusplus */

#endif