equal
deleted
inserted
replaced
207 }; |
207 }; |
208 const TPtrC name = aObjectDef.Name(); |
208 const TPtrC name = aObjectDef.Name(); |
209 TInt32 error = KErrNotFound; |
209 TInt32 error = KErrNotFound; |
210 |
210 |
211 aValue = ECLFMediaTypeUnknown; // Default to this. |
211 aValue = ECLFMediaTypeUnknown; // Default to this. |
212 for ( TInt i = 0; i < sizeof( clfmediatypes ) / sizeof( TInt ); ++i ) |
212 for ( TUint i = 0; i < sizeof( clfmediatypes ) / sizeof( TInt ); ++i ) |
213 { |
213 { |
214 if ( name.Compare( *mdemediatypes[ i ] ) == 0 ) |
214 if ( name.Compare( *mdemediatypes[ i ] ) == 0 ) |
215 { |
215 { |
216 aValue = clfmediatypes[ i ]; |
216 aValue = clfmediatypes[ i ]; |
217 error = KErrNone; |
217 error = KErrNone; |
256 |
256 |
257 if ( propertyDef ) |
257 if ( propertyDef ) |
258 { |
258 { |
259 // Get the actual data |
259 // Get the actual data |
260 CMdEProperty* prop = NULL; |
260 CMdEProperty* prop = NULL; |
261 const TInt index = iMdEObject.Property( *propertyDef, prop ); |
261 iMdEObject.Property( *propertyDef, prop ); |
262 if ( prop ) |
262 if ( prop ) |
263 { |
263 { |
264 const TInt num = sizeof ( clfwrappermusictypes ) / sizeof( TDesC* ); |
264 const TInt num = sizeof ( clfwrappermusictypes ) / sizeof( TDesC* ); |
265 |
265 |
266 for ( TInt i = 0; i < num; ++i ) |
266 for ( TInt i = 0; i < num; ++i ) |