equal
deleted
inserted
replaced
219 { |
219 { |
220 |
220 |
221 PRINT ( _L("Enter CPsDataPluginInterface::GetAllSupportedDataStoresL") ); |
221 PRINT ( _L("Enter CPsDataPluginInterface::GetAllSupportedDataStoresL") ); |
222 |
222 |
223 for ( TInt idx = 0; idx < iPsDataPluginInstances.Count(); idx++ ) |
223 for ( TInt idx = 0; idx < iPsDataPluginInstances.Count(); idx++ ) |
224 { |
224 { |
225 RPointerArray<TDesC> aDataStores; |
225 RPointerArray<TDesC> dataStores; |
226 iPsDataPluginInstances[idx]->GetSupportedDataStoresL(aDataStores); |
226 CleanupClosePushL( dataStores ); |
|
227 iPsDataPluginInstances[idx]->GetSupportedDataStoresL(dataStores); |
227 |
228 |
228 for( TInt i(0); i<aDataStores.Count(); i++) |
229 for ( TInt i(0); i<dataStores.Count(); i++) |
229 { |
230 { |
230 if( aDataStores[i]->Compare(aUri) == 0) |
231 if ( dataStores[i]->Compare(aUri) == 0) |
231 { |
232 { |
232 iPsDataPluginInstances[idx]->GetSupportedDataFieldsL(aDataFields); |
233 iPsDataPluginInstances[idx]->GetSupportedDataFieldsL(aDataFields); |
233 break; |
234 break; |
234 } |
235 } |
235 } |
236 } |
236 aDataStores.Reset(); |
237 CleanupStack::PopAndDestroy( &dataStores ); // Close |
237 } |
238 } |
238 |
239 |
239 PRINT ( _L("End CPsDataPluginInterface::GetAllSupportedDataStoresL") ); |
240 PRINT ( _L("End CPsDataPluginInterface::GetAllSupportedDataStoresL") ); |
240 |
241 |
241 } |
242 } |