13 * |
13 * |
14 * Description: Implementation of CNoWLANNetworksAvailableNotif. |
14 * Description: Implementation of CNoWLANNetworksAvailableNotif. |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 |
|
19 // INCLUDE FILES |
18 // INCLUDE FILES |
|
19 #include "ConnectionDialogsUidDefs.h" |
20 #include "nowlannetworksavailablenotif.h" |
20 #include "nowlannetworksavailablenotif.h" |
21 #include "ActiveWLANNetworkUnavailableNote.h" |
21 #include "nowlansdiscreetpopup.h" |
22 #include "ConnUiUtilsNotif.h" |
22 #include "ConnUiUtilsNotif.h" |
23 |
23 |
24 |
24 |
25 // ================= MEMBER FUNCTIONS ======================= |
25 // ================= MEMBER FUNCTIONS ======================= |
26 |
26 |
57 |
57 |
58 iReplySlot = aReplySlot; |
58 iReplySlot = aReplySlot; |
59 iMessage = aMessage; |
59 iMessage = aMessage; |
60 iCancelled = EFalse; |
60 iCancelled = EFalse; |
61 |
61 |
62 iActiveNote = new( ELeave ) CActiveWLANNetworkUnavailableNote( this ); |
62 iActiveNote = CNoWlansDiscreetPopup::NewL( this ); |
63 |
63 |
64 iActiveNote->LaunchWLANNetworkUnavailable( |
64 iActiveNote->StartL(); |
65 CActiveWLANNetworkUnavailableNote::EWlanNote2 ); |
|
66 } |
65 } |
67 |
66 |
68 // --------------------------------------------------------- |
67 // --------------------------------------------------------- |
69 // void CNoWLANNetworksAvailableNotif::CompleteL( TInt aStatus ) |
68 // void CNoWLANNetworksAvailableNotif::CompleteL( TInt aStatus ) |
70 // --------------------------------------------------------- |
69 // --------------------------------------------------------- |
71 // |
70 // |
72 void CNoWLANNetworksAvailableNotif::CompleteL( TInt aStatus ) |
71 void CNoWLANNetworksAvailableNotif::CompleteL( TInt aStatus ) |
73 { |
72 { |
74 delete iActiveNote; |
|
75 iActiveNote = NULL; |
|
76 |
|
77 iCancelled = ETrue; |
73 iCancelled = ETrue; |
78 |
74 |
79 if ( !iMessage.IsNull() ) |
75 if ( !iMessage.IsNull() ) |
80 { |
76 { |
81 iMessage.Complete( aStatus ); |
77 iMessage.Complete( aStatus ); |
82 } |
78 } |
83 Cancel(); |
|
84 } |
79 } |
85 |
80 |
86 // --------------------------------------------------------- |
81 // --------------------------------------------------------- |
87 // CNoWLANNetworksAvailableNotif* CNoWLANNetworksAvailableNotif::NewL() |
82 // CNoWLANNetworksAvailableNotif* CNoWLANNetworksAvailableNotif::NewL() |
88 // --------------------------------------------------------- |
83 // --------------------------------------------------------- |