connectionutilities/ConnectionDialogs/ConnectionUiUtilities/NotifSrc/SelectWLANDlg.cpp
equal
deleted
inserted
replaced
29 #include <connuiutilsnotif.rsg> |
29 #include <connuiutilsnotif.rsg> |
30 #include <StringLoader.h> |
30 #include <StringLoader.h> |
31 #include <data_caging_path_literals.hrh> |
31 #include <data_caging_path_literals.hrh> |
32 #include <uikon/eiksrvui.h> |
32 #include <uikon/eiksrvui.h> |
33 #include <utf.h> |
33 #include <utf.h> |
34 #include <AknGlobalNote.h> |
34 #include <hbdevicenotificationdialogsymbian.h> |
35 |
35 |
36 #include "ConnUiUtilsNotif.hrh" |
36 #include "ConnUiUtilsNotif.hrh" |
37 #include "SelectWLANDlg.h" |
37 #include "SelectWLANDlg.h" |
38 #include "SelectWLanDlgPlugin.h" |
38 #include "SelectWLanDlgPlugin.h" |
39 #include "ConnectionDialogsLogger.h" |
39 #include "ConnectionDialogsLogger.h" |
51 _LIT( KDriveZ, "z:" ); |
51 _LIT( KDriveZ, "z:" ); |
52 |
52 |
53 // Name of the MBM file containing icons |
53 // Name of the MBM file containing icons |
54 _LIT( KFileIcons, "ConnectionUiUtilities.mbm" ); |
54 _LIT( KFileIcons, "ConnectionUiUtilities.mbm" ); |
55 |
55 |
|
56 // Empty string |
|
57 _LIT( KEmpty, "" ); |
56 |
58 |
57 LOCAL_D const TInt KIconsGranularity = 4; |
59 LOCAL_D const TInt KIconsGranularity = 4; |
58 |
60 |
59 |
61 |
60 // ================= MEMBER FUNCTIONS ======================= |
62 // ================= MEMBER FUNCTIONS ======================= |
230 else |
232 else |
231 { |
233 { |
232 HBufC* stringLabel = StringLoader::LoadLC( |
234 HBufC* stringLabel = StringLoader::LoadLC( |
233 R_INFO_NO_NETWORKS_FOUND ); |
235 R_INFO_NO_NETWORKS_FOUND ); |
234 |
236 |
235 //RAknUiServer* globalNote = CAknSgcClient::AknSrv(); |
237 CHbDeviceNotificationDialogSymbian::NotificationL( |
236 //if ( globalNote->Handle() ) |
238 KEmpty, stringLabel->Des(), KEmpty); |
237 // { |
|
238 // globalNote->ShowGlobalNoteL( *stringLabel, |
|
239 // EAknGlobalInformationNote ); |
|
240 // } |
|
241 |
|
242 CAknGlobalNote* globalNote = CAknGlobalNote::NewLC(); |
|
243 globalNote->ShowNoteL( EAknGlobalInformationNote, *stringLabel ); |
|
244 CleanupStack::PopAndDestroy( globalNote ); |
|
245 |
239 |
246 CleanupStack::PopAndDestroy( stringLabel ); |
240 CleanupStack::PopAndDestroy( stringLabel ); |
247 // set network prefs because we still need ssid |
241 // set network prefs because we still need ssid |
248 |
242 |
249 iPlugin->SetNetworkPrefsL( sSID, nMode, sMode, |
243 iPlugin->SetNetworkPrefsL( sSID, nMode, sMode, |