connectionutilities/ConnectionDialogs/ConnectionUiUtilities/NotifSrc/EasyWpaDlgNotif.cpp
branchRCL_3
changeset 17 0a9e01492035
parent 0 5a93021fdf25
child 24 05bc53fe583b
equal deleted inserted replaced
16:c45d4fe2ff0a 17:0a9e01492035
    46 //
    46 //
    47 void CEasyWpaDlgNotif::StartL( const TDesC8& /*aBuffer*/, 
    47 void CEasyWpaDlgNotif::StartL( const TDesC8& /*aBuffer*/, 
    48                                     TInt aReplySlot,
    48                                     TInt aReplySlot,
    49                                     const RMessagePtr2& aMessage )
    49                                     const RMessagePtr2& aMessage )
    50     {
    50     {
       
    51     if ( ScreenSaverOn() || AutolockOn() )
       
    52         {
       
    53         // Screen saver or Autolock is active. Cancel the dialog. 
       
    54         aMessage.Complete( KErrCancel );
       
    55         return;
       
    56         }
       
    57     
    51     iReplySlot = aReplySlot;
    58     iReplySlot = aReplySlot;
    52     iMessage = aMessage;
    59     iMessage = aMessage;
    53     iCancelled = EFalse;
    60     iCancelled = EFalse;
    54 
    61 
    55     aMessage.ReadL( aReplySlot, iKey );
    62     aMessage.ReadL( aReplySlot, iKey );