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: This file contains the header file of the |
|
15 * UITestServerStarter AppUi view class. |
|
16 * |
|
17 */ |
|
18 |
|
19 #ifndef UITESTSERVERSTARTERAPPVIEW_H_ |
|
20 #define UITESTSERVERSTARTERAPPVIEW_H_ |
|
21 |
|
22 // INCLUDES |
|
23 #include <aknview.h> |
|
24 |
|
25 // CONSTANTS |
|
26 // None |
|
27 |
|
28 // MACROS |
|
29 // None |
|
30 |
|
31 // DATA TYPES |
|
32 // None |
|
33 |
|
34 // FUNCTION PROTOTYPES |
|
35 // None |
|
36 |
|
37 // FORWARD DECLARATIONS |
|
38 class CUITestServerStarterAppContainer; |
|
39 |
|
40 // CLASS DECLARATION |
|
41 |
|
42 // DESCRIPTION |
|
43 // UITestServerStarter standard AppUi view class. |
|
44 class CUITestServerStarterAppView : public CAknView |
|
45 { |
|
46 public: // Enumerations |
|
47 // None |
|
48 |
|
49 private: // Enumerations |
|
50 // None |
|
51 |
|
52 public: // Constructors and destructor |
|
53 /** |
|
54 * Virtual Destructor. |
|
55 */ |
|
56 virtual ~CUITestServerStarterAppView(); |
|
57 |
|
58 private: // Constructors and destructor |
|
59 |
|
60 /** |
|
61 * Perform the second phase construction of a |
|
62 * CUITestServerStarterAppView object. |
|
63 */ |
|
64 void ConstructL(); |
|
65 |
|
66 /** |
|
67 * C++ default constructor. |
|
68 */ |
|
69 CUITestServerStarterAppView(); |
|
70 |
|
71 public: // New functions |
|
72 /** |
|
73 * Two-phased constructor. |
|
74 * Create a CUITestServerStarterAppView object. |
|
75 */ |
|
76 static CUITestServerStarterAppView* NewL(); |
|
77 |
|
78 /** |
|
79 * Two-phased constructor. |
|
80 * Create a CUITestServerStarterAppView object |
|
81 */ |
|
82 static CUITestServerStarterAppView* NewLC(); |
|
83 |
|
84 public: // Functions from base classes |
|
85 /** |
|
86 * Return Uid |
|
87 */ |
|
88 TUid Id() const; |
|
89 |
|
90 /** |
|
91 * Handle Commands |
|
92 */ |
|
93 void HandleCommandL(TInt aCommand); |
|
94 |
|
95 /** |
|
96 * Handle size changes |
|
97 */ |
|
98 void HandleClientRectChange(); |
|
99 |
|
100 protected: // New functions |
|
101 // None |
|
102 |
|
103 protected: // Functions from base classes |
|
104 // None |
|
105 |
|
106 private: // New functions |
|
107 // None |
|
108 |
|
109 private: // Functions from base classes |
|
110 /** |
|
111 * From AknView, Activates view |
|
112 */ |
|
113 void DoActivateL(const TVwsViewId& aPrevViewId,TUid aCustomMessageId, |
|
114 const TDesC8& aCustomMessage); |
|
115 |
|
116 /** |
|
117 * From AknView, Deactivates view |
|
118 */ |
|
119 void DoDeactivate(); |
|
120 |
|
121 public: //Data |
|
122 // None |
|
123 |
|
124 protected: // Data |
|
125 // None |
|
126 |
|
127 private: // Data |
|
128 CUITestServerStarterAppContainer* iContainer; // View container |
|
129 |
|
130 public: // Friend classes |
|
131 // None |
|
132 |
|
133 protected: // Friend classes |
|
134 // None |
|
135 |
|
136 private: // Friend classes |
|
137 // None |
|
138 }; |
|
139 |
|
140 #endif // UITESTSERVERSTARTERAPPVIEW_H_ |
|
141 |
|
142 // End of File |
|