|
1 /* |
|
2 * Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Playback Init Access Point interface |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CMPXPLAYBACKPLUGINVERSION2_H |
|
20 #define CMPXPLAYBACKPLUGINVERSION2_H |
|
21 |
|
22 // INCLUDES |
|
23 |
|
24 #include <mpxplaybackplugin.h> |
|
25 |
|
26 /** |
|
27 * Interface for receiving property values asynchronously. |
|
28 * |
|
29 * @lib mpxcommon.lib |
|
30 */ |
|
31 NONSHARABLE_CLASS(CMPXPlaybackPluginVersion2): public CMPXPlaybackPlugin |
|
32 { |
|
33 public: |
|
34 |
|
35 /** |
|
36 * Initializes a file for playback. |
|
37 * |
|
38 * @since S60 9.2 |
|
39 * @param aUri URI of the item |
|
40 * @param aType the mime type of the item |
|
41 * @param aAccessPoint the access point |
|
42 */ |
|
43 virtual void InitStreamingL(const TDesC& aUri, const TDesC8& aType, TInt aAccessPoint) = 0; |
|
44 |
|
45 /** |
|
46 * Initializes a file handle for playback. |
|
47 * |
|
48 * @since S60 9.2 |
|
49 * @param aFile file handle of a file |
|
50 * @param aAccessPoint the access point |
|
51 */ |
|
52 virtual void InitStreamingL(RFile& aFile, TInt aAccessPoint) = 0; |
|
53 |
|
54 #ifdef SYMBIAN_ENABLE_64_BIT_FILE_SERVER_API |
|
55 /** |
|
56 * Initializes a file handle for playback. |
|
57 * |
|
58 * @since S60 9.2 |
|
59 * @param aFile 64 bit file handle of a file |
|
60 * @param aAccessPoint the access point |
|
61 */ |
|
62 virtual void InitStreaming64L(RFile64& aFile, TInt aAccessPoint) = 0; |
|
63 |
|
64 /** |
|
65 * Initializes a song for playback. |
|
66 * |
|
67 * @since S60 9.2 |
|
68 * @param aFile 64 bit file handle of a song |
|
69 */ |
|
70 virtual void Initialise64L(RFile64& aSong) = 0; |
|
71 #endif // SYMBIAN_ENABLE_64_BIT_FILE_SERVER_API |
|
72 }; |
|
73 |
|
74 #endif // CMPXPLAYBACKPLUGINVERSION2_H |