videoplayerapp/videoplayerengine/tsrc/testvideoplayerengine/stub/src/mpxvideoplaybackwrapper.cpp
equal
deleted
inserted
replaced
|
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: Stub-implementation of QMpxVideoPlaybackWrapper |
|
15 * |
|
16 */ |
|
17 |
|
18 // Version : %version: da1mmcf#4 % |
|
19 |
|
20 |
|
21 #include "mpxvideoplaybackwrapper.h" |
|
22 |
|
23 int mCount = 0; |
|
24 |
|
25 QMpxVideoPlaybackWrapper::QMpxVideoPlaybackWrapper() |
|
26 { |
|
27 QMpxVideoPlaybackWrapper::Increment(); |
|
28 } |
|
29 |
|
30 QMpxVideoPlaybackWrapper::~QMpxVideoPlaybackWrapper() |
|
31 { |
|
32 QMpxVideoPlaybackWrapper::Decrement(); |
|
33 } |
|
34 |
|
35 void QMpxVideoPlaybackWrapper::openPlaybackView() |
|
36 { |
|
37 emit handlePlaybackView( MpxHbVideoCommon::ActivatePlaybackView ); |
|
38 } |
|
39 |
|
40 void QMpxVideoPlaybackWrapper::Increment() |
|
41 { |
|
42 ++mCount; |
|
43 } |
|
44 |
|
45 void QMpxVideoPlaybackWrapper::Decrement() |
|
46 { |
|
47 if(mCount > 0) |
|
48 { |
|
49 --mCount; |
|
50 } |
|
51 } |
|
52 |
|
53 int QMpxVideoPlaybackWrapper::GetInstanceCount() |
|
54 { |
|
55 return mCount; |
|
56 } |
|
57 |
|
58 int QMpxVideoPlaybackWrapper::playMedia( QString aFileName ) |
|
59 { |
|
60 return 0; |
|
61 } |
|
62 |
|
63 void QMpxVideoPlaybackWrapper::lateInit() |
|
64 { |
|
65 } |
|
66 |
|
67 // End of File |