equal
deleted
inserted
replaced
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 |
18 |
19 |
19 |
20 |
|
21 // CLASS HEADER |
20 // CLASS HEADER |
22 #include "glxresourceutilities.h" |
21 #include "glxresourceutilities.h" |
23 |
22 |
24 // EXTERNAL INCLUDES |
23 // EXTERNAL INCLUDES |
25 #include <bautils.h> |
24 #include <bautils.h> |
26 #include <AknUtils.h> |
25 #include <AknUtils.h> |
27 #include <f32file.h> |
26 #include <f32file.h> |
|
27 #include <data_caging_path_literals.hrh> |
28 |
28 |
|
29 _LIT(KGlxUiUtilitiesResource, "glxuiutilities.rsc"); |
29 // INTERNAL INCLUDES |
30 // INTERNAL INCLUDES |
30 |
31 |
31 // --------------------------------------------------------------------------- |
32 // --------------------------------------------------------------------------- |
32 // GetResourceFilenameL |
33 // GetResourceFilenameL |
33 // --------------------------------------------------------------------------- |
34 // --------------------------------------------------------------------------- |
65 { |
66 { |
66 User::Leave( KErrNotFound ); |
67 User::Leave( KErrNotFound ); |
67 } |
68 } |
68 } |
69 } |
69 } |
70 } |
|
71 // --------------------------------------------------------------------------- |
|
72 // GetUiUtilitiesResourceFilenameL |
|
73 // --------------------------------------------------------------------------- |
|
74 // |
|
75 EXPORT_C TFileName CGlxResourceUtilities::GetUiUtilitiesResourceFilenameL() |
70 |
76 |
71 |
77 { |
|
78 TParse parse; |
|
79 parse.Set(KGlxUiUtilitiesResource, &KDC_APP_RESOURCE_DIR, NULL); |
|
80 TFileName resourceFile(parse.FullName()); |
|
81 GetResourceFilenameL(resourceFile); |
|
82 return resourceFile; |
|
83 } |