messagingappbase/sendui/genericmtmplugin/src/genericmtmplugin.cpp
branchRCL_3
changeset 21 c6838af47512
parent 17 caea42e26caa
child 24 e00582ce7ecd
equal deleted inserted replaced
18:a9c7e5670d17 21:c6838af47512
    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 const TUid KMailTechnologyTypeUid = { 0x10001671 };
       
    83 const TUid KUidMsgTypeCmailMtmVal = { 0x2001f406 }; //CMail mtmuid
    83 
    84 
    84 // ======== LOCAL FUNCTIONS ========
    85 // ======== LOCAL FUNCTIONS ========
    85 
    86 
    86 // -----------------------------------------------------------------------------
    87 // -----------------------------------------------------------------------------
    87 // Two-phased constructor.
    88 // Two-phased constructor.
   322                 }
   323                 }
   323             }
   324             }
   324 
   325 
   325         if ( success && ( aMtmUid == KSenduiMtmSmtpUid ||
   326         if ( success && ( aMtmUid == KSenduiMtmSmtpUid ||
   326              aMtmUid == KSenduiMtmMmsUid ||
   327              aMtmUid == KSenduiMtmMmsUid ||
   327              aMtmUid == KSenduiMtmUniMessageUid ))
   328              aMtmUid == KSenduiMtmUniMessageUid ||
       
   329              aMtmUid == KUidMsgTypeCmailMtmVal ))
   328             {
   330             {
   329             HBufC* subject = aMessageData->Subject().AllocLC();
   331             HBufC* subject = aMessageData->Subject().AllocLC();
   330             cleanupItems++;
   332             cleanupItems++;
   331             iClientMtm->SetSubjectL( *subject );
   333             iClientMtm->SetSubjectL( *subject );
   332             }
   334             }