equal
deleted
inserted
replaced
40 |
40 |
41 CCchUiConnectionHandler::CCchUiConnectionHandler( |
41 CCchUiConnectionHandler::CCchUiConnectionHandler( |
42 CCchUiCchHandler& aCchHandler, |
42 CCchUiCchHandler& aCchHandler, |
43 CCchUiSpsHandler& aSpsHandler ): |
43 CCchUiSpsHandler& aSpsHandler ): |
44 iCCHHandler( aCchHandler ), |
44 iCCHHandler( aCchHandler ), |
45 iSpsHandler( aSpsHandler ) |
45 iSpsHandler( aSpsHandler ), |
|
46 iSearchWlanOngoing( EFalse ) |
46 { |
47 { |
47 } |
48 } |
48 |
49 |
49 void CCchUiConnectionHandler::ConstructL() |
50 void CCchUiConnectionHandler::ConstructL() |
50 { |
51 { |
106 TBool hiddenWlan( EFalse ); |
107 TBool hiddenWlan( EFalse ); |
107 |
108 |
108 CCHUIDEBUG( |
109 CCHUIDEBUG( |
109 "CCchUiConnectionHandler::SearchAccessPointsL - begin search wlan" ); |
110 "CCchUiConnectionHandler::SearchAccessPointsL - begin search wlan" ); |
110 |
111 |
|
112 // Set flag which indicates that search wlan query is open |
|
113 iSearchWlanOngoing = ETrue; |
|
114 |
111 TBool ret = iConnUiUtils->SearchWLANNetwork( |
115 TBool ret = iConnUiUtils->SearchWLANNetwork( |
112 ssid, connectionMode, securityMode ); |
116 ssid, connectionMode, securityMode ); |
113 |
117 |
|
118 iSearchWlanOngoing = EFalse; |
|
119 |
114 if ( !ret ) |
120 if ( !ret ) |
115 { |
121 { |
116 //ret is ETrue if user pressed OK softkey. Otherwise leave |
122 //ret is ETrue if user pressed OK softkey. Otherwise leave |
117 //with cancel |
123 //with cancel |
118 User::Leave( KErrCancel ); |
124 User::Leave( KErrCancel ); |
715 |
721 |
716 CCHUIDEBUG( "CCchUiConnectionHandler::RemoveConnectionL - OUT" ); |
722 CCHUIDEBUG( "CCchUiConnectionHandler::RemoveConnectionL - OUT" ); |
717 } |
723 } |
718 |
724 |
719 // --------------------------------------------------------------------------- |
725 // --------------------------------------------------------------------------- |
|
726 // Returns ETrue if wlan search (query) is ongoing. |
|
727 // --------------------------------------------------------------------------- |
|
728 // |
|
729 TBool CCchUiConnectionHandler::SearchWlanOngoing() |
|
730 { |
|
731 CCHUIDEBUG2( "CCchUiConnectionHandler::SearchWlanOngoing ongoing=%d", |
|
732 iSearchWlanOngoing ); |
|
733 |
|
734 return iSearchWlanOngoing; |
|
735 } |
|
736 |
|
737 |
|
738 // --------------------------------------------------------------------------- |
720 // Creates service snap |
739 // Creates service snap |
721 // --------------------------------------------------------------------------- |
740 // --------------------------------------------------------------------------- |
722 // |
741 // |
723 RCmDestinationExt CCchUiConnectionHandler::CreateServiceSnapL( |
742 RCmDestinationExt CCchUiConnectionHandler::CreateServiceSnapL( |
724 const TDesC& aServiceName ) |
743 const TDesC& aServiceName ) |