phoneapp/phoneuistates/src/cphonegeneralgsmmessageshandler.cpp
changeset 76 cfea66083b62
parent 74 d1c62c765e48
--- a/phoneapp/phoneuistates/src/cphonegeneralgsmmessageshandler.cpp	Fri Sep 17 17:09:12 2010 +0300
+++ b/phoneapp/phoneuistates/src/cphonegeneralgsmmessageshandler.cpp	Mon Oct 04 16:06:10 2010 +0300
@@ -173,7 +173,7 @@
         &globalNotifierParam );
         
     TPhoneCmdParamGlobalNote globalNoteParam;
-    PhoneNotificationType type = aNotificationDialog ? 
+    TPhoneNotificationType type = aNotificationDialog ? 
             EPhoneNotificationDialog : EPhoneMessageBoxInformation;
     globalNoteParam.SetType( type );
   
@@ -181,7 +181,7 @@
         CPhoneMainResourceResolver::Instance()->
         ResolveResourceID( aResourceId ) );
     globalNoteParam.SetNotificationDialog( aNotificationDialog );
-
+    globalNoteParam.SetToneType( EPhoneInformationTone );
     iViewCommandHandle.ExecuteCommandL( 
         EPhoneViewShowGlobalNote, &globalNoteParam );    
     }
@@ -202,14 +202,14 @@
         &globalNotifierParam );
         
     TPhoneCmdParamGlobalNote globalNoteParam;
-    PhoneNotificationType type = aNotificationDialog ? 
+    TPhoneNotificationType type = aNotificationDialog ? 
             EPhoneNotificationDialog : EPhoneMessageBoxInformation;
     globalNoteParam.SetType( type );
     globalNoteParam.SetTextResourceId( 
         CPhoneMainResourceResolver::Instance()->
         ResolveResourceID( aResourceId ) );
     globalNoteParam.SetNotificationDialog( aNotificationDialog );
-    
+    globalNoteParam.SetToneType( EPhoneErrorTone );
     iViewCommandHandle.ExecuteCommandL( 
         EPhoneViewShowGlobalNote, &globalNoteParam );