equal
deleted
inserted
replaced
77 const TUint KSendUiFeatureSFI = 0x2; |
77 const TUint KSendUiFeatureSFI = 0x2; |
78 const TUint KSendUiFeatureMMS = 0x4; |
78 const TUint KSendUiFeatureMMS = 0x4; |
79 const TUint KSendUiFeatureSelectableEmail = 0x8; |
79 const TUint KSendUiFeatureSelectableEmail = 0x8; |
80 |
80 |
81 const TUint KSeconds = 1000000; |
81 const TUint KSeconds = 1000000; |
|
82 const TUid KMailTechnologyTypeUid = { 0x10001671 }; |
82 |
83 |
83 // ======== LOCAL FUNCTIONS ======== |
84 // ======== LOCAL FUNCTIONS ======== |
84 |
85 |
85 // ----------------------------------------------------------------------------- |
86 // ----------------------------------------------------------------------------- |
86 // Two-phased constructor. |
87 // Two-phased constructor. |
1302 { |
1303 { |
1303 CAknGlobalNote* note = CAknGlobalNote::NewL(); |
1304 CAknGlobalNote* note = CAknGlobalNote::NewL(); |
1304 CleanupStack::PushL( note ); |
1305 CleanupStack::PushL( note ); |
1305 |
1306 |
1306 HBufC* text = NULL; |
1307 HBufC* text = NULL; |
1307 text = StringLoader::LoadLC( R_SENDUI_SETTINGS_NOT_OK, &iCoeEnv ); |
1308 if( iSingleton.ClientMtmRegistryL().TechnologyTypeUid( aMtmUid ) == KMailTechnologyTypeUid ) |
|
1309 text = StringLoader::LoadLC( R_SENDUI_SETTINGS_EMAIL_NOT_OK, &iCoeEnv ); |
|
1310 else |
|
1311 text = StringLoader::LoadLC( R_SENDUI_SETTINGS_NOT_OK, &iCoeEnv ); |
1308 note->ShowNoteL( EAknGlobalErrorNote, *text ); |
1312 note->ShowNoteL( EAknGlobalErrorNote, *text ); |
1309 CleanupStack::PopAndDestroy( 2, note ); // note, stringLoader |
1313 CleanupStack::PopAndDestroy( 2, note ); // note, stringLoader |
1310 aContinue = EFalse; |
1314 aContinue = EFalse; |
1311 } |
1315 } |
1312 } |
1316 } |