|
1 /* |
|
2 * Copyright (c) 2009 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: |
|
15 * |
|
16 */ |
|
17 |
|
18 #include "stringloader.h" |
|
19 |
|
20 HBufC* StringLoader::iReturnValue = NULL; |
|
21 |
|
22 HBufC* StringLoader::LoadL( TInt aResourceId, const TDesC& aString ) |
|
23 { |
|
24 //_LIT( KRes , "res" ); |
|
25 //HBufC* iReturnValue = KRes().AllocL(); |
|
26 HBufC* res = iReturnValue->AllocL(); |
|
27 return res; |
|
28 } |
|
29 |
|
30 HBufC* StringLoader::LoadLC( TInt aResourceId, const TDesC& aString ) |
|
31 { |
|
32 //_LIT( KRes , "res" ); |
|
33 //HBufC* res = KRes().AllocLC(); |
|
34 HBufC* res = iReturnValue->AllocLC(); |
|
35 return res; |
|
36 } |
|
37 |
|
38 |
|
39 HBufC* StringLoader::LoadL( TInt aResourceId ) |
|
40 { |
|
41 //_LIT( KRes , "res" ); |
|
42 //HBufC* res = KRes().AllocL(); |
|
43 HBufC* res = iReturnValue->AllocL(); |
|
44 return res; |
|
45 } |
|
46 |
|
47 |
|
48 HBufC* StringLoader::LoadLC( TInt aResourceId ) |
|
49 { |
|
50 HBufC* res = iReturnValue->AllocLC(); |
|
51 return res; |
|
52 } |
|
53 |
|
54 HBufC* StringLoader::LoadL( TInt aResourceId, const MDesCArray& aStrings ) |
|
55 { |
|
56 //StringLoader::LoadL( R_MUS_VIEW_NOTE_VIDEO_SAVED, |
|
57 // *iSavingTextsArray ); |
|
58 HBufC* res = iReturnValue->AllocL(); |
|
59 return res; |
|
60 } |
|
61 |