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