|
1 /*------------------------------------------------------------------ |
|
2 - |
|
3 * Software Name : UserEmulator |
|
4 * Version : v4.2.1309 |
|
5 * |
|
6 * Copyright (c) 2009 France Telecom. All rights reserved. |
|
7 * This software is distributed under the License |
|
8 * "Eclipse Public License - v 1.0" the text of which is available |
|
9 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
10 * |
|
11 * Initial Contributors: |
|
12 * France Telecom |
|
13 * |
|
14 * Contributors: |
|
15 *------------------------------------------------------------------ |
|
16 - |
|
17 * File Name: UserEmulatorApplication.cpp |
|
18 * |
|
19 * Created: 13/08/2009 |
|
20 * Author(s): Marcell Kiss, Reshma Sandeep Das |
|
21 * |
|
22 * Description: |
|
23 * Main application class. Provides factory to create concrete document object |
|
24 *------------------------------------------------------------------ |
|
25 - |
|
26 * |
|
27 */ |
|
28 |
|
29 // User Includes |
|
30 #include "UserEmulator.hrh" |
|
31 #include "UserEmulatorDocument.h" |
|
32 #include "UserEmulatorApplication.h" |
|
33 |
|
34 // ============================ MEMBER FUNCTIONS =============================== |
|
35 // --------------------------------------------------------- |
|
36 // CDictionaryStore* CUserEmulatorApplication::OpenIniFileLC(RFs& aFs) const |
|
37 // overrides CAknApplication::OpenIniFileLC to enable INI file support |
|
38 // --------------------------------------------------------- |
|
39 // |
|
40 CDictionaryStore* CUserEmulatorApplication::OpenIniFileLC(RFs& aFs) const |
|
41 { |
|
42 return CEikApplication::OpenIniFileLC(aFs); |
|
43 } |
|
44 // ----------------------------------------------------------------------------- |
|
45 // CUserEmulatorApplication::CreateDocumentL() |
|
46 // Creates CApaDocument object |
|
47 // ----------------------------------------------------------------------------- |
|
48 // |
|
49 CApaDocument* CUserEmulatorApplication::CreateDocumentL() |
|
50 { |
|
51 // Create an UserEmulator document, and return a pointer to it |
|
52 return CUserEmulatorDocument::NewL(*this); |
|
53 } |
|
54 |
|
55 // ----------------------------------------------------------------------------- |
|
56 // CUserEmulatorApplication::AppDllUid() |
|
57 // Returns application UID |
|
58 // ----------------------------------------------------------------------------- |
|
59 // |
|
60 TUid CUserEmulatorApplication::AppDllUid() const |
|
61 { |
|
62 // Return the UID for the UserEmulator application |
|
63 return KUidUserEmulatorApp; |
|
64 } |
|
65 |
|
66 // End of File |