|
1 /* |
|
2 * Copyright (c) 2005-2006 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: Internal helpers for Map and Navigation FW |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef MN_UTILS_H |
|
20 #define MN_UTILS_H |
|
21 |
|
22 /** \inernal |
|
23 * This class contains internal utils for the subsystem |
|
24 */ |
|
25 class MnUtils |
|
26 { |
|
27 public: |
|
28 /** Looks for localized version of specified resource file |
|
29 * on all available drives |
|
30 * \param[in] aFsSession opened session with File Server |
|
31 * \param[in] aRscFile z: -based name of SC file |
|
32 * \param[out] aFileName filename of localized version of SC file |
|
33 * or SC filename if not found |
|
34 * \leave KErrNotFound if file is not found on any drives |
|
35 */ |
|
36 IMPORT_C static void FindLocalizedResourceFileL( |
|
37 RFs& aFsSession, |
|
38 const TDesC& aRscFile, |
|
39 TFileName& aFileName ); |
|
40 |
|
41 /** Looks for specified resource file on all available drives |
|
42 * on all available drives |
|
43 * \param[in] aFsSession opened session with File Server |
|
44 * \param[in] aFilePathAndName path and name of resource file |
|
45 * \param[out] aFileName filename with drive set |
|
46 * \leave KErrNotFound if file is not found on any drives |
|
47 */ |
|
48 IMPORT_C static void FindResourceFileL( |
|
49 RFs& aFsSession, |
|
50 const TDesC& aFilePathAndName, |
|
51 TFileName& aRscFile ); |
|
52 }; |
|
53 |
|
54 #endif // MN_UTILS_H |