1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
25 #include <remconmediabrowsetypes.h>
27 #ifndef REMCONDATABASEAWAREMEDIALIBRARYBROWSE_H
28 #define REMCONDATABASEAWAREMEDIALIBRARYBROWSE_H
30 NONSHARABLE_CLASS(MRemConDatabaseAwareMediaLibraryBrowse)
33 IMPORT_C void MrcdamlbFolderListing(const TArray<TRemConItem>& aFolderListing,
34 TUint16 aMediaLibraryStateCookie,
37 IMPORT_C void MrcdamlbFolderUpResult(TUint aItemCount, TInt aResult);
38 IMPORT_C void MrcdamlbFolderDownResult(TUint aItemCount, TInt aResult);
40 IMPORT_C void MrcdamlbGetPathResult(TUint aItemCount,
41 TUint16 aMediaLibraryStateCookie,
44 IMPORT_C void MrcdamlbSearchResult(TUint aNumberItemsFound,
45 TUint16 aMediaLibraryStateCookie,
48 IMPORT_C void MrcdamlbMediaLibraryStateChange(TUint16 aMediaLibraryStateCookie);
50 IMPORT_C void MrcdamlbFolderItemResult(const TRemConItemUid& aFolderID,
51 const TDesC8& aFolderName,
52 TFolderItemType aFolderType,
53 TFolderItemPlayable aPlayable,
54 const TArray<TMediaElementAttribute>& aAttributes,
57 IMPORT_C void MrcdamlbMediaElementItemResult(const TRemConItemUid& aMediaID,
58 const TDesC8& aMediaName,
59 TMediaItemType aMediaType,
60 const TArray<TMediaElementAttribute>& aAttributes,
64 virtual void MrcdamlbDoFolderListing(const TArray<TRemConItem>& aFolderListing,
65 TUint16 aMediaLibraryStateCookie,
68 virtual void MrcdamlbDoFolderUpResult(TUint aItemCount, TInt aResult) = 0;
69 virtual void MrcdamlbDoFolderDownResult(TUint aItemCount, TInt aResult) = 0;
71 virtual void MrcdamlbDoGetPathResult(TUint aItemCount,
72 TUint16 aMediaLibraryStateCookie,
75 virtual void MrcdamlbDoSearchResult(TUint aNumberItemsFound,
76 TUint16 aMediaLibraryStateCookie,
79 virtual void MrcdamlbDoMediaLibraryStateChange(TUint16 aMediaLibraryStateCookie) = 0;
81 virtual void MrcdamlbDoFolderItemResult(const TRemConItemUid& aFolderID,
82 const TDesC8& aFolderName,
83 TFolderItemType aFolderType,
84 TFolderItemPlayable aPlayable,
85 const TArray<TMediaElementAttribute>& aAttributes,
88 virtual void MrcdamlbDoMediaElementItemResult(const TRemConItemUid& aMediaID,
89 const TDesC8& aMediaName,
90 TMediaItemType aMediaType,
91 const TArray<TMediaElementAttribute>& aAttributes,
95 #endif // REMCONDATABASEAWAREMEDIALIBRARYBROWSE_H