equal
deleted
inserted
replaced
73 /** |
73 /** |
74 * Add object (music, video, playlist and abstract album) info to DB |
74 * Add object (music, video, playlist and abstract album) info to DB |
75 * @param aFullFileName, full file name of file |
75 * @param aFullFileName, full file name of file |
76 * @return void |
76 * @return void |
77 */ |
77 */ |
78 void AddObjectL( const CMTPObjectMetaData& aObject ); |
78 IMPORT_C void AddObjectL( const CMTPObjectMetaData& aObject ); |
79 |
79 |
80 /** |
80 /** |
81 * Set abstract media to DB |
81 * Set abstract media to DB |
82 * @param aObject, |
82 * @param aObject, |
83 * @param aRefFileArray, a array to store the full file name of media files |
83 * @param aRefFileArray, a array to store the full file name of media files |
213 |
213 |
214 CMmMtpDpMetadataAccessWrapper( MMTPDataProviderFramework& aFramework ); |
214 CMmMtpDpMetadataAccessWrapper( MMTPDataProviderFramework& aFramework ); |
215 |
215 |
216 void ConstructL(); |
216 void ConstructL(); |
217 |
217 |
218 TMPXGeneralCategory ContainerCategory( const TDesC& aFullFileName ); |
218 TMPXGeneralCategory ContainerCategoryL( const TDesC& aFullFileName ); |
219 |
219 |
220 /** |
220 /** |
221 * Remove all dummy file of which format is "pla", and leave the "m3u" |
221 * Remove all dummy file of which format is "pla", and leave the "m3u" |
222 */ |
222 */ |
223 void RemoveDummyFiles(); |
223 void RemoveDummyFiles(); |
224 |
224 |
225 private: |
225 private: |
226 CMmMtpDpMetadataMpxAccess* iMmMtpDpMetadataMpxAccess; |
226 CMmMtpDpMetadataMpxAccess* iMmMtpDpMetadataMpxAccess; |
227 CMmMtpDpMetadataVideoAccess* iMmMtpDpMetadataVideoAccess; |
227 CMmMtpDpMetadataVideoAccess* iMmMtpDpMetadataVideoAccess; |
228 TBool iOpenSession; |
|
229 |
228 |
230 MMTPDataProviderFramework& iFramework; |
229 MMTPDataProviderFramework& iFramework; |
231 RFs& iFs; // should not remove this member data!!! |
230 RFs& iFs; // should not remove this member data!!! |
232 |
231 |
|
232 TInt iOpenCount; // introduce to fix CollectionHelper Flush problem |
|
233 |
233 CDesCArray* iAbstractMediaArray; |
234 CDesCArray* iAbstractMediaArray; |
234 |
235 |
235 }; |
236 }; |
236 |
237 |
237 #endif // CMMMTPDPMETADATAACCESSWRAPPER_H |
238 #endif // CMMMTPDPMETADATAACCESSWRAPPER_H |