securitydialogs/SecUi/Src/SecUiWait.cpp
changeset 26 aad866c37519
parent 0 164170e6151a
child 50 03674e5abf46
--- a/securitydialogs/SecUi/Src/SecUiWait.cpp	Thu May 27 13:44:17 2010 +0300
+++ b/securitydialogs/SecUi/Src/SecUiWait.cpp	Fri Jun 11 14:28:40 2010 +0300
@@ -77,10 +77,8 @@
 //
 TInt CWait::WaitForRequestL()
     {    
-    CWaitAbsorbingControl* absorbing = CWaitAbsorbingControl::NewLC();
     SetActive();
     iWait.Start();
-    CleanupStack::PopAndDestroy(absorbing);
     return iStatus.Int();
     }
 //
@@ -128,6 +126,33 @@
     return iRequestType;
 }
 //
+// class CAutolockQuery
+//
+CAutolockQuery::CAutolockQuery()
+    {
+    }
+
+CAutolockQuery::~CAutolockQuery()
+    {
+    
+    }
+
+CAutolockQuery* CAutolockQuery::NewLC()
+    {
+    return NULL;
+    }
+
+void CAutolockQuery::ConstructL()
+    {
+    
+    }
+
+TKeyResponse CAutolockQuery::OfferKeyEventL(const TKeyEvent& /*aKeyEvent*/,TEventCode /*aType*/)
+    {
+    return EKeyWasConsumed; 
+    }
+/***********/
+//
 // class CWaitAbsorbingControl
 //
 CWaitAbsorbingControl::CWaitAbsorbingControl()
@@ -136,32 +161,22 @@
 
 CWaitAbsorbingControl::~CWaitAbsorbingControl()
     {
-    if (iCoeEnv && iAppUi)
-        iAppUi->RemoveFromStack(this);
+    
     }
 
 CWaitAbsorbingControl* CWaitAbsorbingControl::NewLC()
     {
-    CWaitAbsorbingControl* self= new(ELeave) CWaitAbsorbingControl();
-    CleanupStack::PushL(self);
-    self->ConstructL();
-    return self;
+    return NULL;
     }
 
 void CWaitAbsorbingControl::ConstructL()
     {
-    CreateWindowL();
-    SetExtent(TPoint(0,0), TSize(0,0));
-    ActivateL();
-    SetPointerCapture(ETrue);
-    ClaimPointerGrab(ETrue);
-    iAppUi=iEikonEnv->EikAppUi();
-    iAppUi->AddToStackL(this, ECoeStackPriorityEnvironmentFilter);
+    
     }
 
 TKeyResponse CWaitAbsorbingControl::OfferKeyEventL(const TKeyEvent& /*aKeyEvent*/,TEventCode /*aType*/)
     {
-    return EKeyWasConsumed;
+    return EKeyWasConsumed; 
     }
 
 // End of file