49 * @param aStoreRoot, specify in which drive abstract medias are stored |
49 * @param aStoreRoot, specify in which drive abstract medias are stored |
50 * @param aAbstractMedias, return result array |
50 * @param aAbstractMedias, return result array |
51 * @param aCategory, indicate the category of abstract medias |
51 * @param aCategory, indicate the category of abstract medias |
52 */ |
52 */ |
53 IMPORT_C void GetAllAbstractMediaL( const TDesC& aStoreRoot, |
53 IMPORT_C void GetAllAbstractMediaL( const TDesC& aStoreRoot, |
54 CMPXMediaArray** aAbstractMedias, |
54 CDesCArray& aAbstractMedias, |
55 TMPXGeneralCategory aCategory ); |
55 TMPXGeneralCategory aCategory ); |
56 |
56 |
57 /** |
57 /** |
58 * Get all references of specified abstract medias |
58 * Get all references of specified abstract medias |
59 * @param aAbstractMedia, specify of which reference should be get |
59 * @param aAbstractMedia, specify of which reference should be get |
60 * @param aReferences, return result array which stored handles of all references |
60 * @param aReferences, return result array which stored handles of all references |
61 */ |
61 */ |
62 IMPORT_C void GetAllReferenceL( CMPXMedia* aAbstractMedia, |
62 IMPORT_C void GetAllReferenceL( const CMTPObjectMetaData& aRefOwner, |
63 CDesCArray& aReferences ); |
63 CDesCArray& aReferences ); |
64 |
64 |
65 /** |
|
66 * Get an abstract media name from CMPXMedia object |
|
67 * @param aAbstractMedia, specify the source |
|
68 * @param aCategory, specify the category |
|
69 * @return, name of the source, ownership transferred |
|
70 */ |
|
71 IMPORT_C HBufC* GetAbstractMediaNameL( CMPXMedia* aAbstractMedia, |
|
72 TMPXGeneralCategory aCategory ); |
|
73 /** |
65 /** |
74 * Add object (music, video, playlist and abstract album) info to DB |
66 * Add object (music, video, playlist and abstract album) info to DB |
75 * @param aFullFileName, full file name of file |
67 * @param aFullFileName, full file name of file |
76 * @return void |
68 * @return void |
77 */ |
69 */ |
227 CMmMtpDpMetadataVideoAccess* iMmMtpDpMetadataVideoAccess; |
220 CMmMtpDpMetadataVideoAccess* iMmMtpDpMetadataVideoAccess; |
228 |
221 |
229 MMTPDataProviderFramework& iFramework; |
222 MMTPDataProviderFramework& iFramework; |
230 RFs& iFs; // should not remove this member data!!! |
223 RFs& iFs; // should not remove this member data!!! |
231 |
224 |
232 TInt iOpenCount; // introduce to fix CollectionHelper Flush problem |
225 TInt iOpenCount; // introduce to fix CollectionHelper Flush problem |
233 |
226 |
234 CDesCArray* iAbstractMediaArray; |
227 CDesCArray* iAbstractMediaArray; |
235 |
228 |
236 }; |
229 }; |
237 |
230 |