brandingserver/BSClient/bselementfactory.cpp
changeset 31 9dbc70490d9a
equal deleted inserted replaced
30:1fa9b890f29c 31:9dbc70490d9a
       
     1 /*
       
     2 * Copyright (c) 2006 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:  bselementfactory.cpp
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 //  INCLUDE FILES
       
    21 
       
    22 #include "DebugTrace.h"
       
    23 #include "bselementfactory.h"
       
    24 #include "cbselement.h"
       
    25 
       
    26 
       
    27 
       
    28 EXPORT_C MBSElement* BSElementFactory::CreateBSElementL( const TDesC8& aElementId,
       
    29 									 TBSElementType /*aElementType*/,
       
    30 									 TInt aElementData )
       
    31 	{
       
    32 	return CBSElement::NewL( aElementId, aElementData );
       
    33 	}
       
    34 
       
    35 
       
    36 EXPORT_C MBSElement* BSElementFactory::CreateBSElementL( const TDesC8& aElementId,
       
    37 									 TBSElementType aElementType,
       
    38 									 const TDesC& aElementData )
       
    39 	{
       
    40 	return CBSElement::NewL( aElementId, aElementData, aElementType );
       
    41 	}
       
    42 
       
    43 
       
    44 EXPORT_C MBSElement* BSElementFactory::CreateBSElementL( const TDesC8& aElementId,
       
    45 									 TBSElementType /*aElementType*/,
       
    46 									 const TDesC8& aElementData )
       
    47 	{
       
    48 	return CBSElement::NewL( aElementId, aElementData );
       
    49 	}
       
    50 
       
    51 
       
    52 EXPORT_C MBSElement* BSElementFactory::CreateBSElementL( const TDesC8& aElementId,
       
    53 									 TBSElementType /*aElementType*/,
       
    54 									 CBSBitmap* aElementData )
       
    55 	{
       
    56 	return CBSElement::NewL( aElementId, aElementData );
       
    57 	}
       
    58 
       
    59 
       
    60 
       
    61 EXPORT_C MBSElement* BSElementFactory::CreateBSElementL( const TDesC8& aElementId,
       
    62 									 TBSElementType /*aElementType*/,
       
    63 									 RBSObjOwningPtrArray<MBSElement>& aElementData )
       
    64 	{
       
    65 	return CBSElement::NewL( aElementId, aElementData );
       
    66 	}
       
    67 
       
    68 
       
    69 
       
    70 
       
    71 //  END OF FILE
       
    72