equal
deleted
inserted
replaced
251 default: |
251 default: |
252 break; |
252 break; |
253 } |
253 } |
254 if( command != KErrNotSupported ) |
254 if( command != KErrNotSupported ) |
255 { |
255 { |
256 TArray<CMPXCollectionPlugin*> plugins = iPluginHandler->LoadedPlugins(); |
256 Command( (TMPXCollectionCommand)command, data ); |
257 for( TInt i=0; i<plugins.Count(); ++i ) |
|
258 { |
|
259 CMPXCollectionPlugin* plugin = plugins[i]; |
|
260 TRAP_IGNORE(plugin->CommandL( (TMPXCollectionCommand)command, data)); |
|
261 } |
|
262 } |
257 } |
263 |
258 |
264 if( clearCache ) |
259 if( clearCache ) |
265 { |
260 { |
266 RFs rfs; |
261 RFs rfs; |
290 for( TInt i=0; i<count; ++i ) |
285 for( TInt i=0; i<count; ++i ) |
291 { |
286 { |
292 CMPXCollectionClientContext* context; |
287 CMPXCollectionClientContext* context; |
293 context = iContexts[i]; |
288 context = iContexts[i]; |
294 context->NotifyL( aMsg, aData ); |
289 context->NotifyL( aMsg, aData ); |
|
290 } |
|
291 } |
|
292 |
|
293 void CMPXCollectionEngine::Command( TMPXCollectionCommand aCmd, TInt aData ) |
|
294 { |
|
295 TArray<CMPXCollectionPlugin*> plugins = iPluginHandler->LoadedPlugins(); |
|
296 for( TInt i=0; i<plugins.Count(); ++i ) |
|
297 { |
|
298 CMPXCollectionPlugin* plugin = plugins[i]; |
|
299 TRAP_IGNORE(plugin->CommandL( aCmd, aData)); |
295 } |
300 } |
296 } |
301 } |
297 |
302 |
298 // ---------------------------------------------------------------------------- |
303 // ---------------------------------------------------------------------------- |
299 // Retrieves all of the supported types in the collection |
304 // Retrieves all of the supported types in the collection |