1 aknapp.h |
1 /* |
|
2 * Copyright (c) 2002 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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 * |
|
17 */ |
|
18 |
|
19 #ifndef __AKNAPP_H__ |
|
20 #define __AKNAPP_H__ |
|
21 |
|
22 // INCLUDES |
|
23 |
|
24 #include <eikapp.h> |
|
25 |
|
26 // CLASS DECLARATION |
|
27 |
|
28 /** |
|
29 * Base class for a Series 60 application. |
|
30 * |
|
31 * @since Series 60 0.9 |
|
32 */ |
|
33 class CAknApplication : public CEikApplication |
|
34 { |
|
35 public: |
|
36 // from CApaApplication |
|
37 |
|
38 /** |
|
39 * From @c CApaApplication. Completes construction of this application |
|
40 * object. @c PreDocConstructL is implemented to first check that an instance |
|
41 * of the application being constructed is not already present. If it is |
|
42 * present, then the application switches to the existing instance and then |
|
43 * exits. This check is only carried out for non-embedded applications. |
|
44 * This function calls @c CEikApplication::PreDocConstructL. |
|
45 */ |
|
46 IMPORT_C virtual void PreDocConstructL(); |
|
47 |
|
48 /** |
|
49 * From @c CApaApplication. Opens the .ini file associated with the |
|
50 * application. By default, ini files are not supported by SERIES60 |
|
51 * applications. If you want to use an ini file, either override this |
|
52 * function to base call @c CEikApplication::OpenIniFileLC, or call it |
|
53 * directly. |
|
54 * @param aFs File server session to use. Not used. |
|
55 * @return Pointer to the dictionary store object representing the |
|
56 * application's .ini file. |
|
57 */ |
|
58 IMPORT_C CDictionaryStore* OpenIniFileLC(RFs& aFs) const; |
|
59 |
|
60 |
|
61 /** |
|
62 * Sets new application server. |
|
63 * @since Series 60 3.0 |
|
64 * @param aAppServer The server pointer to be set. |
|
65 */ |
|
66 IMPORT_C void NewAppServerL(CApaAppServer*& aAppServer); |
|
67 }; |
|
68 |
|
69 #endif |
|
70 |