htiui/HtiServicePlugins/HtiMessagesServicePlugin/src/HtiMessagesServicePlugin.cpp
--- a/htiui/HtiServicePlugins/HtiMessagesServicePlugin/src/HtiMessagesServicePlugin.cpp Wed Aug 25 15:45:01 2010 +0300
+++ b/htiui/HtiServicePlugins/HtiMessagesServicePlugin/src/HtiMessagesServicePlugin.cpp Fri Sep 03 07:53:25 2010 +0300
@@ -22,6 +22,9 @@
#include "HtiIAPHandler.h"
#include "HtiMailboxHandler.h"
#include "HtiMsgSettingsHandler.h"
+#if ( SYMBIAN_VERSION_SUPPORT < SYMBIAN_4 )
+#include "HtiNotificationHandler.h"
+#endif
#include <HtiDispatcherInterface.h>
#include <HtiLogging.h>
@@ -54,6 +57,9 @@
delete iIAPHandler;
delete iMailboxHandler;
delete iMsgSettingsHandler;
+#if ( SYMBIAN_VERSION_SUPPORT < SYMBIAN_4 )
+ delete iNotificationHandler;
+#endif
}
// ----------------------------------------------------------------------------
@@ -117,6 +123,18 @@
iMsgSettingsHandler->ProcessMessageL( aMessage, aPriority );
}
+#if ( SYMBIAN_VERSION_SUPPORT < SYMBIAN_4 )
+ else if ( command >= ECreateVoiceMessageNotification && command <= EClearAllNotifications)
+ {
+ if( !iNotificationHandler )
+ {
+ iNotificationHandler = CHtiNotificationHandler::NewL();
+ iNotificationHandler->SetDispatcher(iDispatcher);
+ }
+ iNotificationHandler->ProcessMessageL( aMessage, aPriority );
+ }
+#endif
+
else
{
User::LeaveIfError( iDispatcher->DispatchOutgoingErrorMessage(