51
|
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".
|
|
7 |
//
|
|
8 |
// Initial Contributors:
|
|
9 |
// Nokia Corporation - initial contribution.
|
|
10 |
//
|
|
11 |
// Contributors:
|
|
12 |
//
|
|
13 |
// Description:
|
|
14 |
//
|
|
15 |
|
|
16 |
|
|
17 |
|
|
18 |
/**
|
|
19 |
@file
|
|
20 |
@publishedAll
|
|
21 |
@released
|
|
22 |
*/
|
|
23 |
|
|
24 |
#include <e32base.h>
|
|
25 |
#include <remconmediabrowsetypes.h>
|
|
26 |
|
|
27 |
#ifndef REMCONDATABASEAWAREMEDIALIBRARYBROWSE_H
|
|
28 |
#define REMCONDATABASEAWAREMEDIALIBRARYBROWSE_H
|
|
29 |
|
|
30 |
NONSHARABLE_CLASS(MRemConDatabaseAwareMediaLibraryBrowse)
|
|
31 |
{
|
|
32 |
public:
|
|
33 |
IMPORT_C void MrcdamlbFolderListing(const TArray<TRemConItem>& aFolderListing,
|
|
34 |
TUint16 aMediaLibraryStateCookie,
|
|
35 |
TUint aResult);
|
|
36 |
|
|
37 |
IMPORT_C void MrcdamlbFolderUpResult(TUint aItemCount, TInt aResult);
|
|
38 |
IMPORT_C void MrcdamlbFolderDownResult(TUint aItemCount, TInt aResult);
|
|
39 |
|
|
40 |
IMPORT_C void MrcdamlbGetPathResult(TUint aItemCount,
|
|
41 |
TUint16 aMediaLibraryStateCookie,
|
|
42 |
TInt aResult);
|
|
43 |
|
|
44 |
IMPORT_C void MrcdamlbSearchResult(TUint aNumberItemsFound,
|
|
45 |
TUint16 aMediaLibraryStateCookie,
|
|
46 |
TInt aResult);
|
|
47 |
|
|
48 |
IMPORT_C void MrcdamlbMediaLibraryStateChange(TUint16 aMediaLibraryStateCookie);
|
|
49 |
|
|
50 |
IMPORT_C void MrcdamlbFolderItemResult(const TRemConItemUid& aFolderID,
|
|
51 |
const TDesC8& aFolderName,
|
|
52 |
TFolderItemType aFolderType,
|
|
53 |
TFolderItemPlayable aPlayable,
|
|
54 |
const TArray<TMediaElementAttribute>& aAttributes,
|
|
55 |
TInt aResult);
|
|
56 |
|
|
57 |
IMPORT_C void MrcdamlbMediaElementItemResult(const TRemConItemUid& aMediaID,
|
|
58 |
const TDesC8& aMediaName,
|
|
59 |
TMediaItemType aMediaType,
|
|
60 |
const TArray<TMediaElementAttribute>& aAttributes,
|
|
61 |
TInt aResult);
|
|
62 |
|
|
63 |
private:
|
|
64 |
virtual void MrcdamlbDoFolderListing(const TArray<TRemConItem>& aFolderListing,
|
|
65 |
TUint16 aMediaLibraryStateCookie,
|
|
66 |
TUint aResult) = 0;
|
|
67 |
|
|
68 |
virtual void MrcdamlbDoFolderUpResult(TUint aItemCount, TInt aResult) = 0;
|
|
69 |
virtual void MrcdamlbDoFolderDownResult(TUint aItemCount, TInt aResult) = 0;
|
|
70 |
|
|
71 |
virtual void MrcdamlbDoGetPathResult(TUint aItemCount,
|
|
72 |
TUint16 aMediaLibraryStateCookie,
|
|
73 |
TInt aResult) = 0;
|
|
74 |
|
|
75 |
virtual void MrcdamlbDoSearchResult(TUint aNumberItemsFound,
|
|
76 |
TUint16 aMediaLibraryStateCookie,
|
|
77 |
TInt aResult) = 0;
|
|
78 |
|
|
79 |
virtual void MrcdamlbDoMediaLibraryStateChange(TUint16 aMediaLibraryStateCookie) = 0;
|
|
80 |
|
|
81 |
virtual void MrcdamlbDoFolderItemResult(const TRemConItemUid& aFolderID,
|
|
82 |
const TDesC8& aFolderName,
|
|
83 |
TFolderItemType aFolderType,
|
|
84 |
TFolderItemPlayable aPlayable,
|
|
85 |
const TArray<TMediaElementAttribute>& aAttributes,
|
|
86 |
TInt aResult) = 0;
|
|
87 |
|
|
88 |
virtual void MrcdamlbDoMediaElementItemResult(const TRemConItemUid& aMediaID,
|
|
89 |
const TDesC8& aMediaName,
|
|
90 |
TMediaItemType aMediaType,
|
|
91 |
const TArray<TMediaElementAttribute>& aAttributes,
|
|
92 |
TInt aResult) = 0;
|
|
93 |
};
|
|
94 |
|
|
95 |
#endif // REMCONDATABASEAWAREMEDIALIBRARYBROWSE_H
|