|
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 Document class. |
|
16 * |
|
17 */ |
|
18 |
|
19 #ifndef UITESTSERVERSTARTERDOCUMENT_H_ |
|
20 #define UITESTSERVERSTARTERDOCUMENT_H_ |
|
21 |
|
22 // INCLUDES |
|
23 #include <AknDoc.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 CUITestServerStarterAppUi; |
|
39 class CEikApplication; |
|
40 |
|
41 // CLASS DECLARATION |
|
42 |
|
43 // DESCRIPTION |
|
44 /** |
|
45 * CClockTestDocument application class. |
|
46 * An instance of class CClockTestDocument is the Document part of the |
|
47 * AVKON application framework for the ClockTest example application. |
|
48 */ |
|
49 class CUITestServerStarterDocument : public CAknDocument |
|
50 { |
|
51 public: // Enumerations |
|
52 // None |
|
53 |
|
54 private: // Enumerations |
|
55 // None |
|
56 |
|
57 private: // Constructors and destructor |
|
58 // None |
|
59 public: // New functions |
|
60 |
|
61 /** |
|
62 * NewL. |
|
63 * Two-phased constructor. |
|
64 * Construct a CUITestServerStarterDocument for the AVKON application aApp |
|
65 * using two phase construction, and return a pointer |
|
66 * to the created object. |
|
67 * @param aApp Application creating this document. |
|
68 * @return A pointer to the created instance of CUITestServerStarterDocument. |
|
69 */ |
|
70 static CUITestServerStarterDocument* NewL (CEikApplication& aApp); |
|
71 |
|
72 /** |
|
73 * NewLC. |
|
74 * Two-phased constructor. |
|
75 * Construct a CUITestServerStarterDocument for the AVKON application aApp |
|
76 * using two phase construction, and return a pointer |
|
77 * to the created object. |
|
78 * @param aApp Application creating this document. |
|
79 * @return A pointer to the created instance of CUITestServerStarterDocument. |
|
80 */ |
|
81 static CUITestServerStarterDocument* NewLC (CEikApplication& aApp); |
|
82 |
|
83 /** |
|
84 * ~CUITestServerStarterDocument |
|
85 * Virtual Destructor. |
|
86 */ |
|
87 virtual ~CUITestServerStarterDocument(); |
|
88 |
|
89 public: // Functions from base classes |
|
90 |
|
91 /** |
|
92 * CreateAppUiL |
|
93 * From CEikDocument, CreateAppUiL. |
|
94 * Create a CUITestServerStarterAppUi object and return a pointer to it. |
|
95 * The object returned is owned by the Uikon framework. |
|
96 * @return Pointer to created instance of AppUi. |
|
97 */ |
|
98 CEikAppUi* CreateAppUiL (); |
|
99 |
|
100 protected: // New functions |
|
101 // None |
|
102 |
|
103 protected: // Functions from base classes |
|
104 // None |
|
105 |
|
106 private: // New functions |
|
107 |
|
108 /** |
|
109 * ConstructL |
|
110 * 2nd phase constructor. |
|
111 */ |
|
112 void ConstructL (); |
|
113 |
|
114 /** |
|
115 * CUITestServerStarterDocument. |
|
116 * C++ default constructor. |
|
117 * @param aApp Application creating this document. |
|
118 */ |
|
119 CUITestServerStarterDocument( CEikApplication& aApp ); |
|
120 |
|
121 private: // Functions from base classes |
|
122 // None |
|
123 |
|
124 public: //Data |
|
125 // None |
|
126 |
|
127 protected: // Data |
|
128 // None |
|
129 |
|
130 private: // Data |
|
131 // None |
|
132 |
|
133 public: // Friend classes |
|
134 // None |
|
135 |
|
136 protected: // Friend classes |
|
137 // None |
|
138 |
|
139 private: // Friend classes |
|
140 // None |
|
141 }; |
|
142 |
|
143 |
|
144 #endif /*UITESTSERVERSTARTERDOCUMENT_H_*/ |
|
145 |
|
146 // End of File |