|
1 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 |
|
17 |
|
18 // INCLUDE FILES |
|
19 #include <StringLoader.h> |
|
20 #include <tultextresourceutils.h> |
|
21 |
|
22 EXPORT_C void StringLoader::Load(TDes& aDest, TInt aResourceId, CCoeEnv* aLoaderEnv) |
|
23 { TulTextResourceUtils::Load(aDest, aResourceId, aLoaderEnv); } |
|
24 |
|
25 EXPORT_C void StringLoader::Format(TDes& aDest, const TDesC& aSource, TInt aPosition, TInt aSubs) |
|
26 { TulTextResourceUtils::Format(aDest, aSource, aPosition, aSubs); } |
|
27 |
|
28 EXPORT_C void StringLoader::Format(TDes& aDest, const TDesC& aSource, TInt aPosition, const TDesC& aSubs) |
|
29 { TulTextResourceUtils::Format(aDest, aSource, aPosition, aSubs); } |
|
30 |
|
31 EXPORT_C HBufC* StringLoader::LoadL(TInt aResourceId, CCoeEnv* aLoaderEnv) |
|
32 { return TulTextResourceUtils::LoadL(aResourceId, aLoaderEnv); } |
|
33 |
|
34 EXPORT_C HBufC* StringLoader::LoadL(TInt aResourceId, TInt aInt, CCoeEnv* aLoaderEnv) |
|
35 { return TulTextResourceUtils::LoadL(aResourceId, aInt, aLoaderEnv); } |
|
36 |
|
37 EXPORT_C HBufC* StringLoader::LoadL(TInt aResourceId, const TDesC& aString, CCoeEnv* aLoaderEnv) |
|
38 { return TulTextResourceUtils::LoadL(aResourceId, aString, aLoaderEnv); } |
|
39 |
|
40 EXPORT_C HBufC* StringLoader::LoadL(TInt aResourceId, const TDesC& aString, TInt aInt, CCoeEnv* aLoaderEnv) |
|
41 { return TulTextResourceUtils::LoadL(aResourceId, aString, aInt, aLoaderEnv); } |
|
42 |
|
43 EXPORT_C HBufC* StringLoader::LoadL(TInt aResourceId, const CArrayFix<TInt>& aInts, CCoeEnv* aLoaderEnv) |
|
44 { return TulTextResourceUtils::LoadL(aResourceId, aInts, aLoaderEnv); } |
|
45 |
|
46 EXPORT_C HBufC* StringLoader::LoadL(TInt aResourceId, const MDesCArray& aStrings, CCoeEnv* aLoaderEnv) |
|
47 { return TulTextResourceUtils::LoadL(aResourceId, aStrings, aLoaderEnv); } |
|
48 |
|
49 EXPORT_C HBufC* StringLoader::LoadL(TInt aResourceId, const MDesCArray& aStrings, const CArrayFix<TInt>& aInts, CCoeEnv* aLoaderEnv) |
|
50 { return TulTextResourceUtils::LoadL(aResourceId, aStrings, aInts, aLoaderEnv); } |
|
51 |
|
52 EXPORT_C HBufC* StringLoader::LoadLC(TInt aResourceId, CCoeEnv* aLoaderEnv) |
|
53 { return TulTextResourceUtils::LoadLC(aResourceId, aLoaderEnv); } |
|
54 |
|
55 EXPORT_C HBufC* StringLoader::LoadLC(TInt aResourceId, TInt aInt, CCoeEnv* aLoaderEnv) |
|
56 { return TulTextResourceUtils::LoadLC(aResourceId, aInt, aLoaderEnv); } |
|
57 |
|
58 EXPORT_C HBufC* StringLoader::LoadLC(TInt aResourceId, const TDesC& aString, CCoeEnv* aLoaderEnv) |
|
59 { return TulTextResourceUtils::LoadLC(aResourceId, aString, aLoaderEnv); } |
|
60 |
|
61 EXPORT_C HBufC* StringLoader::LoadLC(TInt aResourceId, const TDesC& aString, TInt aInt, CCoeEnv* aLoaderEnv) |
|
62 { return TulTextResourceUtils::LoadLC(aResourceId, aString, aInt, aLoaderEnv); } |
|
63 |
|
64 EXPORT_C HBufC* StringLoader::LoadLC(TInt aResourceId, const CArrayFix<TInt>& aInts, CCoeEnv* aLoaderEnv) |
|
65 { return TulTextResourceUtils::LoadLC(aResourceId, aInts, aLoaderEnv); } |
|
66 |
|
67 EXPORT_C HBufC* StringLoader::LoadLC(TInt aResourceId, const MDesCArray& aStrings, CCoeEnv* aLoaderEnv) |
|
68 { return TulTextResourceUtils::LoadLC(aResourceId, aStrings, aLoaderEnv); } |
|
69 |
|
70 EXPORT_C HBufC* StringLoader::LoadLC(TInt aResourceId, const MDesCArray& aStrings, const CArrayFix<TInt>& aInts, CCoeEnv* aLoaderEnv) |
|
71 { return TulTextResourceUtils::LoadLC(aResourceId, aStrings, aInts, aLoaderEnv); } |