--- a/mpx/collectionframework/collectionengine/src/mpxcollectionengine.cpp Wed Mar 31 22:26:09 2010 +0300
+++ b/mpx/collectionframework/collectionengine/src/mpxcollectionengine.cpp Wed Apr 14 16:28:17 2010 +0300
@@ -253,12 +253,7 @@
}
if( command != KErrNotSupported )
{
- TArray<CMPXCollectionPlugin*> plugins = iPluginHandler->LoadedPlugins();
- for( TInt i=0; i<plugins.Count(); ++i )
- {
- CMPXCollectionPlugin* plugin = plugins[i];
- TRAP_IGNORE(plugin->CommandL( (TMPXCollectionCommand)command, data));
- }
+ Command( (TMPXCollectionCommand)command, data );
}
if( clearCache )
@@ -295,6 +290,16 @@
}
}
+void CMPXCollectionEngine::Command( TMPXCollectionCommand aCmd, TInt aData )
+ {
+ TArray<CMPXCollectionPlugin*> plugins = iPluginHandler->LoadedPlugins();
+ for( TInt i=0; i<plugins.Count(); ++i )
+ {
+ CMPXCollectionPlugin* plugin = plugins[i];
+ TRAP_IGNORE(plugin->CommandL( aCmd, aData));
+ }
+ }
+
// ----------------------------------------------------------------------------
// Retrieves all of the supported types in the collection
// ----------------------------------------------------------------------------