emailservices/emailframework/src/CFSMailClient.cpp
branchRCL_3
changeset 22 d620048b4810
parent 20 efd4f1afd43e
child 23 dcf0eedfc1a3
equal deleted inserted replaced
20:efd4f1afd43e 22:d620048b4810
   551 	if ( plugin )
   551 	if ( plugin )
   552 		{
   552 		{
   553 		plugin->SetMailboxName( aMailboxId, aMailboxName );
   553 		plugin->SetMailboxName( aMailboxId, aMailboxName );
   554 		}
   554 		}
   555 	}
   555 	}
   556 	
   556 
       
   557 // -----------------------------------------------------------------------------
       
   558 // CFSMailClient::PrepareMrDescriptionL
       
   559 // -----------------------------------------------------------------------------
       
   560 EXPORT_C void CFSMailClient::PrepareMrDescriptionL(  const TFSMailMsgId& aMailBoxId,
       
   561                                                      const TFSMailMsgId& aMessageId )
       
   562     {
       
   563     FUNC_LOG;
       
   564     CFSMailMessage* message = NULL;
       
   565     // select plugin
       
   566     CFSMailPlugin* plugin = iFWImplementation->GetPluginManager().GetPluginByUid( aMessageId );
       
   567     if ( plugin )
       
   568         {
       
   569         // set MR description from the plugin
       
   570         plugin->PrepareMrDescriptionL( aMailBoxId, aMessageId );
       
   571         }  
       
   572     }
       
   573 
   557 // -----------------------------------------------------------------------------
   574 // -----------------------------------------------------------------------------
   558 // CFSMailClient::Close
   575 // CFSMailClient::Close
   559 // -----------------------------------------------------------------------------
   576 // -----------------------------------------------------------------------------
   560 EXPORT_C void CFSMailClient::Close()
   577 EXPORT_C void CFSMailClient::Close()
   561 {
   578 {