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