equal
deleted
inserted
replaced
123 iViewCommandHandle->ExecuteCommandL( |
123 iViewCommandHandle->ExecuteCommandL( |
124 EPhoneViewSetGlobalNotifiersDisabled, |
124 EPhoneViewSetGlobalNotifiersDisabled, |
125 &globalNotifierParam ); |
125 &globalNotifierParam ); |
126 |
126 |
127 TPhoneCmdParamGlobalNote globalNoteParam; |
127 TPhoneCmdParamGlobalNote globalNoteParam; |
128 |
128 PhoneNotificationType type = aNotificationDialog ? |
129 globalNoteParam.SetType( EAknGlobalInformationNote ); |
129 EPhoneNotificationDialog : EPhoneMessageBoxInformation; |
130 |
130 globalNoteParam.SetType( type ); |
131 globalNoteParam.SetTone( EAvkonSIDInformationTone ); |
|
132 globalNoteParam.SetNotificationDialog( aNotificationDialog ); |
131 globalNoteParam.SetNotificationDialog( aNotificationDialog ); |
133 |
132 |
134 TInt resourceID( KErrNotFound ); |
133 TInt resourceID( KErrNotFound ); |
135 TInt causeCode( KErrNotFound ); |
134 TInt causeCode( KErrNotFound ); |
136 TBool notification( ETrue ); |
135 TBool notification( ETrue ); |
175 iViewCommandHandle->ExecuteCommandL( |
174 iViewCommandHandle->ExecuteCommandL( |
176 EPhoneViewSetGlobalNotifiersDisabled, |
175 EPhoneViewSetGlobalNotifiersDisabled, |
177 &globalNotifierParam ); |
176 &globalNotifierParam ); |
178 |
177 |
179 TPhoneCmdParamGlobalNote globalNoteParam; |
178 TPhoneCmdParamGlobalNote globalNoteParam; |
180 globalNoteParam.SetType( EAknGlobalErrorNote ); |
179 PhoneNotificationType type = aNotificationDialog ? |
181 |
180 EPhoneNotificationDialog : EPhoneMessageBoxInformation; |
182 globalNoteParam.SetTone( CAknNoteDialog::EErrorTone ); |
181 globalNoteParam.SetType( type ); |
183 globalNoteParam.SetNotificationDialog( aNotificationDialog ); |
182 globalNoteParam.SetNotificationDialog( aNotificationDialog ); |
184 |
183 |
185 TInt resourceID( KErrNotFound ); |
184 TInt resourceID( KErrNotFound ); |
186 TInt causeCode( KErrNotFound ); |
185 TInt causeCode( KErrNotFound ); |
187 TBool notification( ETrue ); |
186 TBool notification( ETrue ); |
226 iViewCommandHandle->ExecuteCommandL( |
225 iViewCommandHandle->ExecuteCommandL( |
227 EPhoneViewSetGlobalNotifiersDisabled, |
226 EPhoneViewSetGlobalNotifiersDisabled, |
228 &globalNotifierParam ); |
227 &globalNotifierParam ); |
229 |
228 |
230 TPhoneCmdParamGlobalNote globalNoteParam; |
229 TPhoneCmdParamGlobalNote globalNoteParam; |
231 globalNoteParam.SetType( EAknGlobalWarningNote ); |
230 PhoneNotificationType type = aNotificationDialog ? |
232 |
231 EPhoneNotificationDialog : EPhoneMessageBoxInformation; |
233 globalNoteParam.SetTone( EAvkonSIDWarningTone ); |
232 globalNoteParam.SetType( type ); |
234 globalNoteParam.SetNotificationDialog( aNotificationDialog ); |
233 globalNoteParam.SetNotificationDialog( aNotificationDialog ); |
235 |
234 |
236 TInt resourceID( KErrNotFound ); |
235 TInt resourceID( KErrNotFound ); |
237 TInt causeCode( KErrNotFound ); |
236 TInt causeCode( KErrNotFound ); |
238 TBool notification( ETrue ); |
237 TBool notification( ETrue ); |