messagingapp/msgservices/msgserviceapp/src/msgstorehandler.cpp
changeset 52 12db4185673b
parent 44 36f374c67aa8
child 72 6f657153cbc5
equal deleted inserted replaced
44:36f374c67aa8 52:12db4185673b
    28 // @see header
    28 // @see header
    29 //----------------------------------------------------------------------------
    29 //----------------------------------------------------------------------------
    30 MsgStoreHandler::MsgStoreHandler():
    30 MsgStoreHandler::MsgStoreHandler():
    31 iMsvSession(NULL)
    31 iMsvSession(NULL)
    32         {
    32         {
    33         TRAP_IGNORE(InitL());
    33         InitL();
    34         }
    34         }
    35 
    35 
    36 //----------------------------------------------------------------------------
    36 //----------------------------------------------------------------------------
    37 // MsgStoreHandler::~MsgStoreHandler
    37 // MsgStoreHandler::~MsgStoreHandler
    38 // @see header
    38 // @see header
   118         case KSenduiMMSNotificationUidValue:            
   118         case KSenduiMMSNotificationUidValue:            
   119             msgType = ConvergedMessage::MmsNotification;
   119             msgType = ConvergedMessage::MmsNotification;
   120             break;
   120             break;
   121         case KSenduiMtmBioUidValue:
   121         case KSenduiMtmBioUidValue:
   122             { 
   122             { 
       
   123         if (entry.iMtmData1 == KSenduiMtmBtUidValue) 
       
   124 		{
       
   125             msgType = ConvergedMessage::BT;
       
   126 
       
   127             if (entry.iBioType == KMsgBioUidVCard.iUid) 
       
   128 			{
       
   129                 msgSubType = ConvergedMessage::VCard;
       
   130             }
       
   131             else if (entry.iBioType == KMsgBioUidVCalendar.iUid) 
       
   132 			{
       
   133                 msgSubType = ConvergedMessage::VCal;
       
   134             }
       
   135 
       
   136             break;
       
   137         }
   123             msgType = ConvergedMessage::BioMsg; 
   138             msgType = ConvergedMessage::BioMsg; 
   124 
   139 
   125             // based on the biotype uid set message type
   140             // based on the biotype uid set message type
   126             if(entry.iBioType == KMsgBioUidRingingTone.iUid)
   141             if(entry.iBioType == KMsgBioUidRingingTone.iUid)
   127                 {
   142                 {