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