|
1 /* |
|
2 * Copyright (c) 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: Declares main application class. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef __AKNCONFAPPLICATION_H__ |
|
20 #define __AKNCONFAPPLICATION_H__ |
|
21 |
|
22 // INCLUDES |
|
23 #include <aknapp.h> |
|
24 #include "aknconf.hrh" |
|
25 |
|
26 // UID for the application; |
|
27 // this should correspond to the uid defined in the mmp file |
|
28 const TUid KUidaknconfApp = |
|
29 {_UID3}; |
|
30 |
|
31 // CLASS DECLARATION |
|
32 |
|
33 /** |
|
34 * CAknConfApplication application class. |
|
35 * Provides factory to create concrete document object. |
|
36 * An instance of CAknConfApplication is the application part of the |
|
37 * AVKON application framework for the aknconf example application. |
|
38 */ |
|
39 class CAknConfApplication : public CAknApplication |
|
40 { |
|
41 public: |
|
42 // Functions from base classes |
|
43 |
|
44 /** |
|
45 * From CApaApplication, AppDllUid. |
|
46 * @return Application's UID (KUidaknconfApp). |
|
47 */ |
|
48 TUid AppDllUid() const; |
|
49 |
|
50 protected: |
|
51 // Functions from base classes |
|
52 |
|
53 /** |
|
54 * From CApaApplication, CreateDocumentL. |
|
55 * Creates CAknConfDocument document object. The returned |
|
56 * pointer in not owned by the CAknConfApplication object. |
|
57 * @return A pointer to the created document object. |
|
58 */ |
|
59 CApaDocument* CreateDocumentL(); |
|
60 }; |
|
61 |
|
62 #endif // __AKNCONFAPPLICATION_H__ |
|
63 // End of File |