connectionutilities/ConnectionDialogs/ConnectionUiUtilities/NotifSrc/EasyWpaDlgNotif.cpp
equal
deleted
inserted
replaced
19 // INCLUDE FILES |
19 // INCLUDE FILES |
20 #include "EasyWpaDlgNotif.h" |
20 #include "EasyWpaDlgNotif.h" |
21 #include "WepWpaQueryDlg.h" |
21 #include "WepWpaQueryDlg.h" |
22 #include "ConnUiUtilsNotif.h" |
22 #include "ConnUiUtilsNotif.h" |
23 |
23 |
24 #include <ConnUiUtilsNotif.rsg> |
24 #include <connuiutilsnotif.rsg> |
25 #include <StringLoader.h> |
25 #include <StringLoader.h> |
26 |
26 |
27 |
27 |
28 // ================= MEMBER FUNCTIONS ======================= |
28 // ================= MEMBER FUNCTIONS ======================= |
29 |
29 |
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 |
|
58 iReplySlot = aReplySlot; |
51 iReplySlot = aReplySlot; |
59 iMessage = aMessage; |
52 iMessage = aMessage; |
60 iCancelled = EFalse; |
53 iCancelled = EFalse; |
61 |
54 |
62 aMessage.ReadL( aReplySlot, iKey ); |
55 aMessage.ReadL( aReplySlot, iKey ); |