126 TInt CWait::GetRequestType() |
124 TInt CWait::GetRequestType() |
127 { |
125 { |
128 return iRequestType; |
126 return iRequestType; |
129 } |
127 } |
130 // |
128 // |
|
129 // class CAutolockQuery |
|
130 // |
|
131 CAutolockQuery::CAutolockQuery() |
|
132 { |
|
133 } |
|
134 |
|
135 CAutolockQuery::~CAutolockQuery() |
|
136 { |
|
137 |
|
138 } |
|
139 |
|
140 CAutolockQuery* CAutolockQuery::NewLC() |
|
141 { |
|
142 return NULL; |
|
143 } |
|
144 |
|
145 void CAutolockQuery::ConstructL() |
|
146 { |
|
147 |
|
148 } |
|
149 |
|
150 TKeyResponse CAutolockQuery::OfferKeyEventL(const TKeyEvent& /*aKeyEvent*/,TEventCode /*aType*/) |
|
151 { |
|
152 return EKeyWasConsumed; |
|
153 } |
|
154 /***********/ |
|
155 // |
131 // class CWaitAbsorbingControl |
156 // class CWaitAbsorbingControl |
132 // |
157 // |
133 CWaitAbsorbingControl::CWaitAbsorbingControl() |
158 CWaitAbsorbingControl::CWaitAbsorbingControl() |
134 { |
159 { |
135 } |
160 } |
136 |
161 |
137 CWaitAbsorbingControl::~CWaitAbsorbingControl() |
162 CWaitAbsorbingControl::~CWaitAbsorbingControl() |
138 { |
163 { |
139 if (iCoeEnv && iAppUi) |
164 |
140 iAppUi->RemoveFromStack(this); |
|
141 } |
165 } |
142 |
166 |
143 CWaitAbsorbingControl* CWaitAbsorbingControl::NewLC() |
167 CWaitAbsorbingControl* CWaitAbsorbingControl::NewLC() |
144 { |
168 { |
145 CWaitAbsorbingControl* self= new(ELeave) CWaitAbsorbingControl(); |
169 return NULL; |
146 CleanupStack::PushL(self); |
|
147 self->ConstructL(); |
|
148 return self; |
|
149 } |
170 } |
150 |
171 |
151 void CWaitAbsorbingControl::ConstructL() |
172 void CWaitAbsorbingControl::ConstructL() |
152 { |
173 { |
153 CreateWindowL(); |
174 |
154 SetExtent(TPoint(0,0), TSize(0,0)); |
|
155 ActivateL(); |
|
156 SetPointerCapture(ETrue); |
|
157 ClaimPointerGrab(ETrue); |
|
158 iAppUi=iEikonEnv->EikAppUi(); |
|
159 iAppUi->AddToStackL(this, ECoeStackPriorityEnvironmentFilter); |
|
160 } |
175 } |
161 |
176 |
162 TKeyResponse CWaitAbsorbingControl::OfferKeyEventL(const TKeyEvent& /*aKeyEvent*/,TEventCode /*aType*/) |
177 TKeyResponse CWaitAbsorbingControl::OfferKeyEventL(const TKeyEvent& /*aKeyEvent*/,TEventCode /*aType*/) |
163 { |
178 { |
164 return EKeyWasConsumed; |
179 return EKeyWasConsumed; |
165 } |
180 } |
166 |
181 |
167 // End of file |
182 // End of file |