|
1 /* |
|
2 * Copyright (c) 2007 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: Application class of TrainingUI |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef C_TRUIAPPLICATION_H |
|
20 #define C_TRUIAPPLICATION_H |
|
21 |
|
22 // UID for the application, this should correspond to the uid defined in the mmp file |
|
23 static const TUid KUidtruiApp = { 0x2000B104 }; |
|
24 |
|
25 #include <aknapp.h> |
|
26 |
|
27 /** |
|
28 * Instance of CTruiApplication is the application part of the AVKON |
|
29 * application framework for the TrainingUI application |
|
30 * |
|
31 * @code |
|
32 * new CTruiApplication; |
|
33 * @endcode |
|
34 * |
|
35 * @lib avkon.lib eikcore.lib eiksrv.lib |
|
36 */ |
|
37 class CTruiApplication : public CAknApplication |
|
38 { |
|
39 public: // from CAknApplication |
|
40 |
|
41 /** |
|
42 * Returns the application DLL UID value |
|
43 * |
|
44 * @return the UID of this Application/Dll |
|
45 */ |
|
46 TUid AppDllUid() const; |
|
47 |
|
48 protected: // from CAknApplication |
|
49 |
|
50 /** |
|
51 * Create a CApaDocument object and return a pointer to it |
|
52 * |
|
53 * @return a pointer to the created document |
|
54 */ |
|
55 CApaDocument* CreateDocumentL(); |
|
56 |
|
57 /** |
|
58 * Opens the .ini file associated with the application. |
|
59 * |
|
60 * @param aFs File server session to use. Not used. |
|
61 * @return Pointer to the dictionary store object representing the |
|
62 * application's .ini file. |
|
63 */ |
|
64 CDictionaryStore* OpenIniFileLC( RFs& aFs ) const; |
|
65 }; |
|
66 |
|
67 #endif // C_TRUIAPPLICATION_H |
|
68 |