|
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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // USER |
|
20 #include "musengremotevideoplayer.h" |
|
21 #include "musengdisplayhandler.h" |
|
22 |
|
23 // SYSTEM |
|
24 #include <e32base.h> |
|
25 |
|
26 // ----------------------------------------------------------------------------- |
|
27 // |
|
28 // ----------------------------------------------------------------------------- |
|
29 // |
|
30 CMusEngRemoteVideoPlayer* CMusEngRemoteVideoPlayer::NewL( |
|
31 MMusEngDisplayHandler& aDisplayHandler, |
|
32 MLcAudioControl& aLcAudioControl ) |
|
33 { |
|
34 return new( ELeave )CMusEngRemoteVideoPlayer( |
|
35 aDisplayHandler, aLcAudioControl ); |
|
36 } |
|
37 |
|
38 // ----------------------------------------------------------------------------- |
|
39 // |
|
40 // ----------------------------------------------------------------------------- |
|
41 // |
|
42 CMusEngRemoteVideoPlayer::CMusEngRemoteVideoPlayer( |
|
43 MMusEngDisplayHandler& aDisplayHandler, |
|
44 MLcAudioControl& aLcAudioControl ) : |
|
45 CMusEngVideoPlayerBase( aDisplayHandler, aLcAudioControl ) |
|
46 { |
|
47 } |
|
48 |
|
49 // ----------------------------------------------------------------------------- |
|
50 // |
|
51 // ----------------------------------------------------------------------------- |
|
52 // |
|
53 CMusEngRemoteVideoPlayer::~CMusEngRemoteVideoPlayer() |
|
54 { |
|
55 } |
|
56 |
|
57 // ----------------------------------------------------------------------------- |
|
58 // From MLcVideoPlayer |
|
59 // ----------------------------------------------------------------------------- |
|
60 // |
|
61 MLcVideoPlayer::TLcVideoPlayerState |
|
62 CMusEngRemoteVideoPlayer::LcVideoPlayerState() const |
|
63 { |
|
64 return MLcVideoPlayer::EPlaying; |
|
65 } |
|
66 |
|
67 // ----------------------------------------------------------------------------- |
|
68 // From MLcVideoPlayer |
|
69 // ----------------------------------------------------------------------------- |
|
70 // |
|
71 TBool CMusEngRemoteVideoPlayer::LcIsPlayingL() |
|
72 { |
|
73 |
|
74 return ETrue; |
|
75 } |