13 * |
13 * |
14 * Description: Stub-implementation of QMpxVideoPlaybackWrapper |
14 * Description: Stub-implementation of QMpxVideoPlaybackWrapper |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 // Version : %version: da1mmcf#4 % |
18 // Version : %version: da1mmcf#6 % |
19 |
19 |
20 |
20 |
21 #include "mpxvideoplaybackwrapper.h" |
21 #include "mpxvideoplaybackwrapper.h" |
|
22 #include "mpxvideo_debug.h" |
22 |
23 |
23 int mCount = 0; |
24 int mCount = 0; |
24 |
25 |
25 QMpxVideoPlaybackWrapper::QMpxVideoPlaybackWrapper() |
26 QMpxVideoPlaybackWrapper::QMpxVideoPlaybackWrapper() |
26 { |
27 { |
|
28 MPX_DEBUG(_L("QMpxVideoPlaybackWrapper::QMpxVideoPlaybackWrapper()")); |
27 QMpxVideoPlaybackWrapper::Increment(); |
29 QMpxVideoPlaybackWrapper::Increment(); |
28 } |
30 } |
29 |
31 |
30 QMpxVideoPlaybackWrapper::~QMpxVideoPlaybackWrapper() |
32 QMpxVideoPlaybackWrapper::~QMpxVideoPlaybackWrapper() |
31 { |
33 { |
|
34 MPX_DEBUG(_L("QMpxVideoPlaybackWrapper::~QMpxVideoPlaybackWrapper()")); |
32 QMpxVideoPlaybackWrapper::Decrement(); |
35 QMpxVideoPlaybackWrapper::Decrement(); |
33 } |
36 } |
34 |
37 |
35 void QMpxVideoPlaybackWrapper::openPlaybackView() |
38 void QMpxVideoPlaybackWrapper::openPlaybackView() |
36 { |
39 { |
|
40 MPX_DEBUG(_L("QMpxVideoPlaybackWrapper::openPlaybackView()")); |
37 emit handlePlaybackView( MpxHbVideoCommon::ActivatePlaybackView ); |
41 emit handlePlaybackView( MpxHbVideoCommon::ActivatePlaybackView ); |
38 } |
42 } |
39 |
43 |
40 void QMpxVideoPlaybackWrapper::Increment() |
44 void QMpxVideoPlaybackWrapper::Increment() |
41 { |
45 { |
|
46 MPX_DEBUG(_L("QMpxVideoPlaybackWrapper::Increment()")); |
42 ++mCount; |
47 ++mCount; |
43 } |
48 } |
44 |
49 |
45 void QMpxVideoPlaybackWrapper::Decrement() |
50 void QMpxVideoPlaybackWrapper::Decrement() |
46 { |
51 { |
47 if(mCount > 0) |
52 MPX_DEBUG(_L("QMpxVideoPlaybackWrapper::Decrement()")); |
|
53 |
|
54 if ( mCount > 0 ) |
48 { |
55 { |
49 --mCount; |
56 --mCount; |
50 } |
57 } |
51 } |
58 } |
52 |
59 |
53 int QMpxVideoPlaybackWrapper::GetInstanceCount() |
60 int QMpxVideoPlaybackWrapper::GetInstanceCount() |
54 { |
61 { |
|
62 MPX_DEBUG(_L("QMpxVideoPlaybackWrapper::GetInstanceCount()")); |
55 return mCount; |
63 return mCount; |
56 } |
64 } |
57 |
65 |
58 int QMpxVideoPlaybackWrapper::playMedia( QString aFileName ) |
66 int QMpxVideoPlaybackWrapper::playMedia( QString aFileName ) |
59 { |
67 { |
|
68 MPX_DEBUG(_L("QMpxVideoPlaybackWrapper::playMedia( aFileName )")); |
|
69 |
|
70 Q_UNUSED( aFileName ); |
|
71 return 0; |
|
72 } |
|
73 |
|
74 int QMpxVideoPlaybackWrapper::playMedia( RFile aFile ) |
|
75 { |
|
76 MPX_DEBUG(_L("QMpxVideoPlaybackWrapper::playMedia( aFile )")); |
|
77 |
|
78 Q_UNUSED( aFile ); |
60 return 0; |
79 return 0; |
61 } |
80 } |
62 |
81 |
63 void QMpxVideoPlaybackWrapper::lateInit() |
82 void QMpxVideoPlaybackWrapper::lateInit() |
64 { |
83 { |
|
84 MPX_DEBUG(_L("QMpxVideoPlaybackWrapper::lateInit()")); |
65 } |
85 } |
66 |
86 |
67 // End of File |
87 // End of File |