70 |
70 |
71 _LIT( KTestFile, "c:\\Blackbird.aac"); |
71 _LIT( KTestFile, "c:\\Blackbird.aac"); |
72 _LIT( KTestFileMimeType, "audio/aac" ); |
72 _LIT( KTestFileMimeType, "audio/aac" ); |
73 _LIT( KRenameOldUri, "c:\\Blackbird.aac"); |
73 _LIT( KRenameOldUri, "c:\\Blackbird.aac"); |
74 _LIT( KRenameNewUri, "c:\\data\\Blackbird.aac"); |
74 _LIT( KRenameNewUri, "c:\\data\\Blackbird.aac"); |
|
75 |
|
76 _LIT( KFileWmaSong, "f:\\1.wma"); |
|
77 |
|
78 _LIT( KFile1, "e:\\data\\sounds\\digital\\1.mp3"); //ok |
|
79 _LIT( KOldAbstractAlbumName, "1.wma"); //ok |
|
80 _LIT( KNewAbstractAlbumName, "The 99 Most Essential Beethoven MasterpiecesVarious Artists"); //ok |
|
81 _LIT( KFile3, "e:\\data\\sounds\\digital\\(01) Amber - Yes.mp3"); //ok |
|
82 _LIT( KFilet, "e:\\data\\sounds\\digital\\02 What A Wonderful World.mp3"); //ok |
|
83 |
|
84 |
|
85 _LIT( KTestFile3, "e:\\data\\sounds\\digital\\Atomic Kitten - It's Ok.mp3"); //ok |
|
86 _LIT( KSongtest, "e:\\data\\sounds\\digital\\02 What A Wonderful World.mp3"); //ok |
|
87 |
|
88 _LIT( KAbstractalbum1, "f:\\1.alb"); |
|
89 _LIT( KAbstractalbum2, "f:\\2.alb"); |
|
90 _LIT( KAbstractalbum3, "f:\\3.alb"); |
|
91 _LIT( KStoreRoot, "f:\\"); |
|
92 |
|
93 _LIT( KAbstractAlbumName, "The 99 Most Essential Beethoven MasterpiecesVarious Artists"); |
|
94 |
|
95 _LIT( KAlbumArtistShort, "testAlbumArtist"); |
|
96 |
75 |
97 |
76 |
98 |
77 // FORWARD DECLARATIONS |
99 // FORWARD DECLARATIONS |
78 class CCollectionHelperTestClass; |
100 class CCollectionHelperTestClass; |
79 |
101 |
298 * @return Symbian OS error code. |
320 * @return Symbian OS error code. |
299 */ |
321 */ |
300 TInt SetAllowedPanic( CStifItemParser& aItem ); |
322 TInt SetAllowedPanic( CStifItemParser& aItem ); |
301 |
323 |
302 void CreateTestMediaL( CMPXMedia*& aNewProperty ); |
324 void CreateTestMediaL( CMPXMedia*& aNewProperty ); |
303 |
|
304 /** |
325 /** |
305 * Connect to the default client to the server |
326 * Connect to the default client to the server |
306 * @since S60 3.2 |
327 * @since S60 3.2 |
307 * @param aItem Script line containing parameters. |
328 * @param aItem Script line containing parameters. |
308 * @return Symbian OS error code. |
329 * @return Symbian OS error code. |
314 virtual TInt NewHelperL(CStifItemParser& aItem); |
335 virtual TInt NewHelperL(CStifItemParser& aItem); |
315 virtual TInt NewCachedHelperL(CStifItemParser& aItem); |
336 virtual TInt NewCachedHelperL(CStifItemParser& aItem); |
316 virtual TInt CloseUiHelperL(CStifItemParser& aItem); |
337 virtual TInt CloseUiHelperL(CStifItemParser& aItem); |
317 virtual TInt CloseHelperL(CStifItemParser& aItem); |
338 virtual TInt CloseHelperL(CStifItemParser& aItem); |
318 virtual TInt CloseCachedHelperL(CStifItemParser& aItem); |
339 virtual TInt CloseCachedHelperL(CStifItemParser& aItem); |
319 |
340 |
320 |
341 virtual TInt AddSongL(CStifItemParser& aItem); |
|
342 TInt FindMediaL(const TDesC& aPath, TMPXGeneralCategory aCategory); |
|
343 virtual TInt RemoveSongL(CStifItemParser& aItem ); |
|
344 virtual TInt AddAbstractAlbumL(CStifItemParser& aItem); |
|
345 virtual TInt RemoveAbstractAlbumL(CStifItemParser& aItem); |
|
346 virtual TInt SetAbstractAlbumL(CStifItemParser& aItem); |
|
347 virtual TInt SetSongAlbumArtistL(CStifItemParser& aItem); |
|
348 virtual TInt GetSongAlbumArtistL(CStifItemParser& aItem); |
|
349 virtual TInt SetAbstractAlbumArtistL(CStifItemParser& aItem); |
|
350 virtual TInt GetAbstractAlbumArtistL(CStifItemParser& aItem); |
|
351 virtual TInt UpdateAbstractAlbumNameL(CStifItemParser& aItem); |
|
352 virtual TInt GetAbstractAlbumAndSongsL(CStifItemParser& aItem); |
|
353 virtual TInt RenameAbstractAlbumL(CStifItemParser& aItem); |
|
354 void AttachSongsL(CMPXMediaArray* aAbstractalbumArray, const TDesC& aPath); |
321 /** |
355 /** |
322 * From MMPXCollectionRemoveObserver |
356 * From MMPXCollectionRemoveObserver |
323 * Handles removing a collection path |
357 * Handles removing a collection path |
324 * calls back with the list of file paths that were deleted |
358 * calls back with the list of file paths that were deleted |
325 * This callback is only applicable for local file storage plugins. |
359 * This callback is only applicable for local file storage plugins. |