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