securitydialogs/SecUi/Src/SecUiWait.cpp
branchRCL_3
changeset 21 09b1ac925e3f
parent 0 164170e6151a
child 22 03674e5abf46
--- a/securitydialogs/SecUi/Src/SecUiWait.cpp	Thu Aug 19 10:45:23 2010 +0300
+++ b/securitydialogs/SecUi/Src/SecUiWait.cpp	Tue Aug 31 16:04: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