44
|
1 |
/*
|
|
2 |
* Copyright (c) 2010 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: Stub MPX Video Wrapper
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
66
|
18 |
// Version : %version: 5 %
|
44
|
19 |
|
|
20 |
|
|
21 |
|
|
22 |
// This file defines the API for .dll
|
|
23 |
|
|
24 |
#ifndef __MPXVIDEOVIEWWRAPPER_H__
|
|
25 |
#define __MPXVIDEOVIEWWRAPPER_H__
|
|
26 |
|
|
27 |
// Include Files
|
|
28 |
|
|
29 |
#include <e32base.h> // CBase
|
|
30 |
#include <e32std.h> // TBuf
|
|
31 |
#include <mpxplaybackframeworkdefs.h>
|
|
32 |
|
|
33 |
#include "videoplaybackcontrol.hrh"
|
|
34 |
|
|
35 |
// Constants
|
|
36 |
|
|
37 |
// Forward Declarations
|
|
38 |
class VideoBasePlaybackView;
|
|
39 |
class VideoPlaybackViewFileDetails;
|
|
40 |
|
|
41 |
|
|
42 |
// Class Definitions
|
|
43 |
|
|
44 |
class CMPXVideoViewWrapper : public CBase
|
|
45 |
{
|
|
46 |
public:
|
|
47 |
static CMPXVideoViewWrapper* NewL( VideoBasePlaybackView* aView );
|
|
48 |
virtual ~CMPXVideoViewWrapper();
|
|
49 |
|
66
|
50 |
CMPXVideoViewWrapper( VideoBasePlaybackView* aView );
|
44
|
51 |
void ConstructL();
|
|
52 |
|
|
53 |
public:
|
|
54 |
void HandleCommandL( TInt aCommand );
|
66
|
55 |
|
44
|
56 |
void SetPropertyL( TMPXPlaybackProperty aProperty, TInt aValue );
|
|
57 |
|
|
58 |
void UpdateVideoRect( TInt aX, TInt aY, TInt aWidth, TInt aHeight, TBool transitionEffect );
|
|
59 |
|
|
60 |
TBool IsResumingPlaybackAfterTermination();
|
|
61 |
|
66
|
62 |
TInt VolumeSteps();
|
|
63 |
|
44
|
64 |
public: // data
|
|
65 |
|
|
66 |
VideoBasePlaybackView* mView;
|
|
67 |
TBool mMediaRequested;
|
|
68 |
VideoPlaybackViewFileDetails* mFileDetails;
|
|
69 |
TBool mClosePlayerAO;
|
|
70 |
TBool mForeground;
|
|
71 |
int mProperty;
|
|
72 |
int mCommandId;
|
66
|
73 |
int mVolumeSteps;
|
44
|
74 |
};
|
|
75 |
|
|
76 |
#endif // __MPXVIDEOVIEWWRAPPER_H__
|
|
77 |
|
|
78 |
// EOF
|