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