1 /* |
|
2 * Copyright (c) 2009 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: mpxplaybackutility stub for testing mpmpxframeworkwrapper |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef MPXPLAYERMANAGER_H |
|
20 #define MPXPLAYERMANAGER_H |
|
21 |
|
22 #include <e32base.h> |
|
23 #include <e32cmn.h> |
|
24 #include <mpxplaybackplugin.hrh> |
|
25 |
|
26 class MMPXPlayer; |
|
27 class MMPXPlaybackCallback; |
|
28 |
|
29 class MMPXPlayerManager |
|
30 { |
|
31 public: |
|
32 MMPXPlayerManager(); |
|
33 ~MMPXPlayerManager(); |
|
34 |
|
35 public: // MMPXPlayerManager |
|
36 void GetPlayerTypesL(RArray<TMPXPlaybackPlayerType>& aTypes); |
|
37 HBufC* PlayerTypeDisplayNameL(TMPXPlaybackPlayerType aType); |
|
38 void GetPlayerListL(RArray<TUid>& aPlayers); |
|
39 void GetPlayerListL(RArray<TUid>& aPlayers, TMPXPlaybackPlayerType aType); |
|
40 void SubPlayerNamesL(MMPXPlaybackCallback& aCallback, TUid aPlayer); |
|
41 void SelectPlayersL(TMPXPlaybackPlayerType aType); |
|
42 void SelectSubPlayerL(TUid aPlayer, TInt aSubPlayerIndex); |
|
43 void SelectPlayerL(TUid aPlayer); |
|
44 void ClearSelectPlayersL(); |
|
45 void GetSelectionL(TMPXPlaybackPlayerType& aType, |
|
46 TUid& aPlayer, |
|
47 TInt& aSubPlayerIndex, |
|
48 HBufC*& aSubPlayerName); |
|
49 MMPXPlayer* CurrentPlayer(); |
|
50 }; |
|
51 |
|
52 #endif // MPXPLAYERMANAGER_H |
|