--- a/emailservices/emailframework/commonlib/src/CFSMailBox.cpp Fri Feb 19 22:37:30 2010 +0200
+++ b/emailservices/emailframework/commonlib/src/CFSMailBox.cpp Fri Mar 12 15:41:14 2010 +0200
@@ -25,6 +25,8 @@
#include "cfsmailbox.h"
#include "cfsmailrequestobserver.h"
+#include "cmailboxstateext.h"
+
const TInt KMaxMruEntries( 150 );
// ================= MEMBER FUNCTIONS ==========================================
@@ -844,6 +846,19 @@
CleanupStack::Pop(); // calInfo
}
}
+ else if ( aInterfaceUid == KEmailMailboxStateExtensionUid )
+ {
+ if ( !extension )
+ {
+ // check that plugin supports requested extension.
+ if ( CFSMailPlugin* plugin = iRequestHandler->GetPluginByUid( GetId() ) )
+ {
+ // request extension from plugin, leaves if not supported
+ extension = plugin->ExtensionL( aInterfaceUid );
+ }
+
+ }
+ }
else
{
User::Leave( KErrNotSupported );