1 /* |
|
2 * Copyright (c) 2008-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: Metadata dialog implementation |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 #ifndef __C_GLXRESOURCELOADER_H__ |
|
23 #define __C_GLXRESOURCELOADER_H__ |
|
24 |
|
25 #include <e32def.h> |
|
26 #include <e32cmn.h> // for TFileName |
|
27 #include <e32base.h> |
|
28 #include <f32file.h> // Rfs |
|
29 |
|
30 /** |
|
31 * Class with a single static method which |
|
32 * finds the resource file on either the c or z drive |
|
33 * class CGlxResourceUtil |
|
34 * @author Loughlin Spollen |
|
35 */ |
|
36 NONSHARABLE_CLASS( CGlxResourceUtilities ) : CBase |
|
37 { |
|
38 public: |
|
39 |
|
40 /** |
|
41 * Retrieve the full resource file name and path for a give resource |
|
42 * file name. |
|
43 * Note! this version connects a RFs session |
|
44 * @param The resource filename to search |
|
45 */ |
|
46 IMPORT_C static void GetResourceFilenameL( TFileName& aResFile ); |
|
47 |
|
48 /** |
|
49 * Retrieve the full resource file name and path for a give resource |
|
50 * file name. |
|
51 * @param The resource filename to search |
|
52 * @param The file server session, must be connected before the call |
|
53 */ |
|
54 IMPORT_C static void GetResourceFilenameL( TFileName& aResFile, RFs& aFs ); |
|
55 |
|
56 /** |
|
57 * Gets the full name of the UiUtilities resource file. |
|
58 * @return TFileName - The resource filename for UiUtilities |
|
59 */ |
|
60 IMPORT_C static TFileName GetUiUtilitiesResourceFilenameL(); |
|
61 |
|
62 }; |
|
63 |
|
64 |
|
65 #endif // __C_GLXRESOURCELOADER_H__ |
|
66 |
|