equal
deleted
inserted
replaced
|
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: |
|
15 * estart.mmp |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 #include <e32std.h> |
|
22 #include <e32std_private.h> |
|
23 #include "estart.h" |
|
24 |
|
25 class TNaviEngineFSStartup : public TFSStartup |
|
26 { |
|
27 public: |
|
28 virtual TPtrC LocalDriveMappingFileName(); |
|
29 }; |
|
30 |
|
31 |
|
32 _LIT(KLocalDriveMappingFile,"Z:\\SYS\\DATA\\ESTART.TXT"); |
|
33 |
|
34 /** Return the filename of the drive mapping file. |
|
35 @return A non-modifiable ptr descriptor containing the path and filename of the mapping file. |
|
36 */ |
|
37 TPtrC TNaviEngineFSStartup::LocalDriveMappingFileName() |
|
38 { |
|
39 |
|
40 DEBUGPRINT("LocalDriveMappingFileName"); |
|
41 |
|
42 InitCompositeFileSystem(); |
|
43 |
|
44 return(KLocalDriveMappingFile()); |
|
45 } |
|
46 |
|
47 GLDEF_C TInt E32Main() |
|
48 { |
|
49 |
|
50 TNaviEngineFSStartup fsStart; |
|
51 fsStart.Init(); |
|
52 |
|
53 fsStart.Run(); |
|
54 |
|
55 fsStart.StartSystem(); |
|
56 |
|
57 fsStart.Close(); |
|
58 return(0); |
|
59 } |
|
60 |
|
61 |
|
62 |
|
63 |