videoplayback/videoplaybackview/tsrc/testuserinputhandler/stub/src/videoplaybackviewfiledetails.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: class for Video File Details (Qt) |
|
15 * |
|
16 */ |
|
17 |
|
18 // Version : %version: 3 % |
|
19 |
|
20 |
|
21 |
|
22 // |
|
23 // INCLUDE FILES |
|
24 // |
|
25 #include "mpxvideo_debug.h" |
|
26 #include "videoplaybackviewfiledetails.h" |
|
27 |
|
28 |
|
29 // ============================ MEMBER FUNCTIONS =================================================== |
|
30 |
|
31 VideoPlaybackViewFileDetails::VideoPlaybackViewFileDetails() |
|
32 { |
|
33 clearFileDetails(); |
|
34 } |
|
35 |
|
36 VideoPlaybackViewFileDetails::~VideoPlaybackViewFileDetails() |
|
37 { |
|
38 clearFileDetails(); |
|
39 } |
|
40 |
|
41 void |
|
42 VideoPlaybackViewFileDetails::clearFileDetails() |
|
43 { |
|
44 MPX_ENTER_EXIT(_L("VideoPlaybackViewFileDetails::ClearFileDetails()")); |
|
45 |
|
46 mMimeType = tr(""); |
|
47 mTitle = tr(""); |
|
48 mArtist = tr(""); |
|
49 mClipName = QString("testClip.3gp"); |
|
50 |
|
51 mPlaybackMode = EMPXVideoLocal; |
|
52 mSeekable = false; |
|
53 mPausableStream = false; |
|
54 mAudioEnabled = true; |
|
55 mVideoEnabled = false; |
|
56 mPartialPlayback = false; |
|
57 mRNFormat = false; |
|
58 |
|
59 mDuration = 0; |
|
60 mTvOutConnected = false; |
|
61 mDrmProtected = false; |
|
62 mMultiItemPlaylist = false; |
|
63 |
|
64 mVideoHeight = 0; |
|
65 mVideoWidth = 0; |
|
66 mBitRate = 0; |
|
67 } |
|
68 |
|
69 // EOF |