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 #ifndef MUSHENGVIDEOPLAYERBASE_H |
|
20 #define MUSHENGVIDEOPLAYERBASE_H |
|
21 |
|
22 // INCLUDES |
|
23 #include <e32base.h> |
|
24 #include "lcvideoplayer.h" |
|
25 #include "lcwindow.h" |
|
26 |
|
27 // FORWARD DECLARATIONS |
|
28 class TMusEngCameraHandler; |
|
29 class MMusEngDisplayHandler; |
|
30 |
|
31 // CLASS DECLARATION |
|
32 class CMusEngVideoPlayerBase : |
|
33 public CBase, public MLcVideoPlayer, public MLcWindow |
|
34 { |
|
35 public: // Constructors and destructor |
|
36 |
|
37 ~CMusEngVideoPlayerBase(); |
|
38 |
|
39 public: // From MLcVideoPlayer |
|
40 |
|
41 virtual void LcPlayL(MLcVideoPlayer::TLcVideoPlayerSource aSource); |
|
42 |
|
43 |
|
44 virtual void LcPauseL(); |
|
45 |
|
46 MLcWindow* LcWindow(); |
|
47 |
|
48 virtual MLcCameraControl* LcCameraControl(); |
|
49 |
|
50 virtual MLcSourceFileControl* LcSourceFileControl(); |
|
51 |
|
52 virtual MLcDestinationFileControl* LcDestinationFileControl(); |
|
53 |
|
54 MLcAudioControl* LcAudioControl(); |
|
55 |
|
56 virtual MLcZoomControl* LcZoomControl(); |
|
57 |
|
58 virtual MLcBrightnessControl* LcBrightnessControl(); |
|
59 |
|
60 public: // from MLcWindow |
|
61 |
|
62 void EnableLcWindowL( TBool aEnable ); |
|
63 |
|
64 TBool IsLcWindowEnabled(); |
|
65 |
|
66 void SetLcWindowRectL( TRect aRect ); |
|
67 |
|
68 TRect LcWindowRect(); |
|
69 |
|
70 void SetLcWindowOrientationL( |
|
71 TLcWindowOrientation aOrientation ); |
|
72 |
|
73 TLcWindowOrientation LcWindowOrientationL(); |
|
74 |
|
75 protected: // Constructors |
|
76 |
|
77 CMusEngVideoPlayerBase( |
|
78 MMusEngDisplayHandler& aDisplayHandler, |
|
79 MLcAudioControl& aLcAudioControl ); |
|
80 |
|
81 protected: // Data |
|
82 |
|
83 MMusEngDisplayHandler& iDisplayHandler; |
|
84 MLcAudioControl& iLcAudioControl; |
|
85 }; |
|
86 |
|
87 #endif // MUSHENGVIDEOPLAYERBASE_H |
|