equal
deleted
inserted
replaced
185 } |
185 } |
186 else if ( IsApplicationImage() ) |
186 else if ( IsApplicationImage() ) |
187 { |
187 { |
188 iAttrImgProvider = CHnAttrImgProvAppImage::NewL( iApplicationUid ); |
188 iAttrImgProvider = CHnAttrImgProvAppImage::NewL( iApplicationUid ); |
189 } |
189 } |
|
190 else if ( IsLiwImage() ) |
|
191 { |
|
192 iAttrImgProvider = CHnAttrImgProvLiwImage::NewL( iBitmap, iMask ); |
|
193 } |
190 else if ( IsFileImageL() ) |
194 else if ( IsFileImageL() ) |
191 { |
195 { |
192 if ( iFileNameSrc.Find( KSvgFileExtension() ) != KErrNotFound ) |
196 if ( iFileNameSrc.Find( KSvgFileExtension() ) != KErrNotFound ) |
193 { |
197 { |
194 iAttrImgProvider = CHnAttrImgProvSvgImage::NewL( iFileNameSrc ); |
198 iAttrImgProvider = CHnAttrImgProvSvgImage::NewL( iFileNameSrc ); |
196 else |
200 else |
197 { |
201 { |
198 iAttrImgProvider = CHnAttrImgProvFileImage::NewL( iFileNameSrc ); |
202 iAttrImgProvider = CHnAttrImgProvFileImage::NewL( iFileNameSrc ); |
199 } |
203 } |
200 } |
204 } |
201 else if ( IsLiwImage() ) |
|
202 { |
|
203 iAttrImgProvider = CHnAttrImgProvLiwImage::NewL( iBitmap, iMask ); |
|
204 } |
|
205 // if strin couldn't be resolved then provide empty one |
205 // if strin couldn't be resolved then provide empty one |
206 else |
206 else |
207 { |
207 { |
208 iAttrImgProvider = CHnAttrImgProvEmptyImage::NewL(); |
208 iAttrImgProvider = CHnAttrImgProvEmptyImage::NewL(); |
209 } |
209 } |