|
1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of the License "Symbian Foundation License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #ifndef __ENDTASKTESTAPP_H |
|
17 #define __ENDTASKTESTAPP_H |
|
18 |
|
19 |
|
20 /** |
|
21 Application class |
|
22 */ |
|
23 #include <eikapp.h> |
|
24 class CEndTaskTestApplication : public CEikApplication |
|
25 { |
|
26 public: |
|
27 static CApaApplication* NewApplication(); |
|
28 ~CEndTaskTestApplication(); |
|
29 |
|
30 private: |
|
31 CEndTaskTestApplication(); |
|
32 |
|
33 // from CApaApplication |
|
34 TUid AppDllUid() const; |
|
35 CApaDocument* CreateDocumentL(); |
|
36 }; |
|
37 |
|
38 |
|
39 /** |
|
40 Document class |
|
41 */ |
|
42 #include <eikdoc.h> |
|
43 class CEikAppUi; |
|
44 class CEikApplication; |
|
45 class CEndTaskTestDocument : public CEikDocument |
|
46 { |
|
47 public: |
|
48 static CEndTaskTestDocument* NewL(CEikApplication& aApp); |
|
49 ~CEndTaskTestDocument(); |
|
50 |
|
51 private: |
|
52 CEndTaskTestDocument(CEikApplication& aApp); |
|
53 |
|
54 // from CEikDocument |
|
55 CEikAppUi* CreateAppUiL(); |
|
56 }; |
|
57 |
|
58 |
|
59 /** |
|
60 Application UI class, root of all graphical user interface in this application |
|
61 */ |
|
62 #include <eikappui.h> |
|
63 class CEndTaskTestAppUi : public CEikAppUi |
|
64 { |
|
65 public: |
|
66 CEndTaskTestAppUi(); |
|
67 ~CEndTaskTestAppUi(); |
|
68 |
|
69 // from CEikAppUi |
|
70 void ConstructL(); |
|
71 void HandleCommandL(TInt aCommand); |
|
72 |
|
73 // from CCoeAppUi |
|
74 void HandleApplicationSpecificEventL(TInt aType,const TWsEvent& aEvent); |
|
75 }; |
|
76 |
|
77 |
|
78 #endif // __ENDTASKTESTAPP_H |