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