equal
deleted
inserted
replaced
1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of the License "Eclipse Public License v1.0" |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 // |
7 // |
8 // Initial Contributors: |
8 // Initial Contributors: |
9 // Nokia Corporation - initial contribution. |
9 // Nokia Corporation - initial contribution. |
13 // Description: |
13 // Description: |
14 // The class definitions for the simple application for testing using T_SynAppListAndFileUpdate.cpp |
14 // The class definitions for the simple application for testing using T_SynAppListAndFileUpdate.cpp |
15 // containing a single view with the text "App Installed !" drawn on it. |
15 // containing a single view with the text "App Installed !" drawn on it. |
16 // |
16 // |
17 // |
17 // |
18 |
|
19 |
|
20 |
18 |
21 /** |
19 /** |
22 @file |
20 @file |
23 @test |
21 @test |
24 @internalComponent - Internal Symbian test code |
22 @internalComponent - Internal Symbian test code |
32 |
30 |
33 #include <eikenv.h> |
31 #include <eikenv.h> |
34 #include <eikappui.h> |
32 #include <eikappui.h> |
35 #include <eikapp.h> |
33 #include <eikapp.h> |
36 #include <eikdoc.h> |
34 #include <eikdoc.h> |
37 #include <eikmenup.h> |
35 #include <mw/eikmenup.h> |
38 |
36 |
39 #include <eikon.hrh> |
37 #include <mw/eikon.hrh> |
40 |
38 |
41 #include <testappinstall.rsg> |
39 #include <testappinstall.rsg> |
42 #include "testappinstall.hrh" |
40 #include "TestAppInstall.hrh" |
43 |
41 |
44 |
42 |
45 |
43 |
46 //////////////////////////////////////////////////////////////////////// |
44 // |
47 // |
45 // |
48 // CExampleApplication |
46 // CExampleApplication |
49 // |
47 // |
50 //////////////////////////////////////////////////////////////////////// |
48 // |
51 |
49 |
52 class CExampleApplication : public CEikApplication |
50 class CExampleApplication : public CEikApplication |
53 { |
51 { |
54 private: |
52 private: |
55 // Inherited from class CApaApplication |
53 // Inherited from class CApaApplication |
56 CApaDocument* CreateDocumentL(); |
54 CApaDocument* CreateDocumentL(); |
57 TUid AppDllUid() const; |
55 TUid AppDllUid() const; |
58 }; |
56 }; |
59 |
57 |
60 //////////////////////////////////////////////////////////////////////// |
58 // |
61 // |
59 // |
62 // CExampleAppView |
60 // CExampleAppView |
63 // |
61 // |
64 //////////////////////////////////////////////////////////////////////// |
62 // |
65 class CExampleAppView : public CCoeControl |
63 class CExampleAppView : public CCoeControl |
66 { |
64 { |
67 public: |
65 public: |
68 static CExampleAppView* NewL(const TRect& aRect); |
66 static CExampleAppView* NewL(const TRect& aRect); |
69 CExampleAppView(); |
67 CExampleAppView(); |
77 private: |
75 private: |
78 HBufC* iExampleText; |
76 HBufC* iExampleText; |
79 }; |
77 }; |
80 |
78 |
81 |
79 |
82 //////////////////////////////////////////////////////////////////////// |
80 // |
83 // |
81 // |
84 // CExampleAppUi |
82 // CExampleAppUi |
85 // |
83 // |
86 //////////////////////////////////////////////////////////////////////// |
84 // |
87 class CExampleAppUi : public CEikAppUi |
85 class CExampleAppUi : public CEikAppUi |
88 { |
86 { |
89 public: |
87 public: |
90 void ConstructL(); |
88 void ConstructL(); |
91 ~CExampleAppUi(); |
89 ~CExampleAppUi(); |
97 private: |
95 private: |
98 CCoeControl* iAppView; |
96 CCoeControl* iAppView; |
99 }; |
97 }; |
100 |
98 |
101 |
99 |
102 //////////////////////////////////////////////////////////////////////// |
100 // |
103 // |
101 // |
104 // CExampleDocument |
102 // CExampleDocument |
105 // |
103 // |
106 //////////////////////////////////////////////////////////////////////// |
104 // |
107 class CExampleDocument : public CEikDocument |
105 class CExampleDocument : public CEikDocument |
108 { |
106 { |
109 public: |
107 public: |
110 static CExampleDocument* NewL(CEikApplication& aApp); |
108 static CExampleDocument* NewL(CEikApplication& aApp); |
111 CExampleDocument(CEikApplication& aApp); |
109 CExampleDocument(CEikApplication& aApp); |
115 CEikAppUi* CreateAppUiL(); |
113 CEikAppUi* CreateAppUiL(); |
116 }; |
114 }; |
117 |
115 |
118 |
116 |
119 #endif |
117 #endif |
|
118 |