equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2002 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: Class offers common utility methods. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 // INCLUDE FILES |
|
22 |
|
23 #include "WPAPUtil.h" // Own header |
|
24 #include <WPAdapterUtil.h> |
|
25 |
|
26 // CONSTANTS |
|
27 // Commented out by JN |
|
28 //#if ( defined (__WINS__) || defined (__WINSCW) ) // this different on hw |
|
29 _LIT( KAdapterName, "WPAPAdapterResource" ); |
|
30 //#else |
|
31 // _LIT( KAdapterName, "WPAPAdapter" ); |
|
32 //#endif |
|
33 |
|
34 // ============================ MEMBER FUNCTIONS =============================== |
|
35 |
|
36 // ----------------------------------------------------------------------------- |
|
37 // WPAPUtil::ReadHBufCLC |
|
38 // ----------------------------------------------------------------------------- |
|
39 // |
|
40 HBufC* WPAPUtil::ReadHBufCL( TInt aResourceId ) |
|
41 { |
|
42 TFileName fileName; |
|
43 Dll::FileName( fileName ); |
|
44 |
|
45 return WPAdapterUtil::ReadHBufCL( fileName, KAdapterName, aResourceId ); |
|
46 } |
|
47 |
|
48 // End of File |