videoplayback/hbvideoplaybackview/tsrc/testmpxvideoplaybackcontrolbar/stub/src/mpxvideoplaybackviewfiledetails.cpp
author hgs
Thu, 01 Apr 2010 23:32:44 +0300
changeset 35 3738fe97f027
child 24 7d93ee07fb27
permissions -rw-r--r--
201011
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
35
hgs
parents:
diff changeset
     1
/*
hgs
parents:
diff changeset
     2
* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
hgs
parents:
diff changeset
     3
* All rights reserved.
hgs
parents:
diff changeset
     4
* This component and the accompanying materials are made available
hgs
parents:
diff changeset
     5
* under the terms of "Eclipse Public License v1.0"
hgs
parents:
diff changeset
     6
* which accompanies this distribution, and is available
hgs
parents:
diff changeset
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
hgs
parents:
diff changeset
     8
*
hgs
parents:
diff changeset
     9
* Initial Contributors:
hgs
parents:
diff changeset
    10
* Nokia Corporation - initial contribution.
hgs
parents:
diff changeset
    11
*
hgs
parents:
diff changeset
    12
* Contributors:
hgs
parents:
diff changeset
    13
*
hgs
parents:
diff changeset
    14
* Description:  class for MPX Video File Details (Qt)
hgs
parents:
diff changeset
    15
*
hgs
parents:
diff changeset
    16
*/
hgs
parents:
diff changeset
    17
hgs
parents:
diff changeset
    18
// Version : %version:   1 %
hgs
parents:
diff changeset
    19
hgs
parents:
diff changeset
    20
hgs
parents:
diff changeset
    21
hgs
parents:
diff changeset
    22
//
hgs
parents:
diff changeset
    23
//  INCLUDE FILES
hgs
parents:
diff changeset
    24
//
hgs
parents:
diff changeset
    25
#include "mpxvideo_debug.h"
hgs
parents:
diff changeset
    26
#include "mpxvideoplaybackviewfiledetails.h"
hgs
parents:
diff changeset
    27
hgs
parents:
diff changeset
    28
hgs
parents:
diff changeset
    29
// ============================ MEMBER FUNCTIONS ===================================================
hgs
parents:
diff changeset
    30
hgs
parents:
diff changeset
    31
QMPXVideoPlaybackViewFileDetails::QMPXVideoPlaybackViewFileDetails()
hgs
parents:
diff changeset
    32
{
hgs
parents:
diff changeset
    33
    MPX_ENTER_EXIT(_L("QMPXVideoPlaybackViewFileDetails::QMPXVideoPlaybackViewFileDetails()"));
hgs
parents:
diff changeset
    34
hgs
parents:
diff changeset
    35
    clearFileDetails();
hgs
parents:
diff changeset
    36
}
hgs
parents:
diff changeset
    37
hgs
parents:
diff changeset
    38
QMPXVideoPlaybackViewFileDetails::~QMPXVideoPlaybackViewFileDetails()
hgs
parents:
diff changeset
    39
{
hgs
parents:
diff changeset
    40
    MPX_ENTER_EXIT(_L("QMPXVideoPlaybackViewFileDetails::~QMPXVideoPlaybackViewFileDetails()"));
hgs
parents:
diff changeset
    41
hgs
parents:
diff changeset
    42
    clearFileDetails();
hgs
parents:
diff changeset
    43
}
hgs
parents:
diff changeset
    44
hgs
parents:
diff changeset
    45
void
hgs
parents:
diff changeset
    46
QMPXVideoPlaybackViewFileDetails::clearFileDetails()
hgs
parents:
diff changeset
    47
{
hgs
parents:
diff changeset
    48
    MPX_ENTER_EXIT(_L("QMPXVideoPlaybackViewFileDetails::ClearFileDetails()"));
hgs
parents:
diff changeset
    49
hgs
parents:
diff changeset
    50
    mMimeType = tr("");  
hgs
parents:
diff changeset
    51
    mTitle = tr("");
hgs
parents:
diff changeset
    52
    mArtist = tr("");
hgs
parents:
diff changeset
    53
    mClipName = tr("");
hgs
parents:
diff changeset
    54
    mDescription = tr("");  
hgs
parents:
diff changeset
    55
    mLocation = tr("");
hgs
parents:
diff changeset
    56
    mCopyright = tr("");
hgs
parents:
diff changeset
    57
    mLanguage = tr("");
hgs
parents:
diff changeset
    58
    mKeywords = tr("");
hgs
parents:
diff changeset
    59
    
hgs
parents:
diff changeset
    60
    mPlaybackMode = EMPXVideoLocal;
hgs
parents:
diff changeset
    61
    mSeekable = false;
hgs
parents:
diff changeset
    62
    mPausableStream = false;
hgs
parents:
diff changeset
    63
    mAudioEnabled = false;
hgs
parents:
diff changeset
    64
    mVideoEnabled = false;
hgs
parents:
diff changeset
    65
    mPartialPlayback = false;
hgs
parents:
diff changeset
    66
    mRNFormat = false;
hgs
parents:
diff changeset
    67
hgs
parents:
diff changeset
    68
    mDuration = 0;
hgs
parents:
diff changeset
    69
    mTvOutConnected   = false;
hgs
parents:
diff changeset
    70
    mTvOutPlayAllowed = true;
hgs
parents:
diff changeset
    71
    mDrmProtected = false;
hgs
parents:
diff changeset
    72
hgs
parents:
diff changeset
    73
    mVideoHeight = 0;
hgs
parents:
diff changeset
    74
    mVideoWidth  = 0;
hgs
parents:
diff changeset
    75
    mBitRate = 0;
hgs
parents:
diff changeset
    76
}
hgs
parents:
diff changeset
    77
hgs
parents:
diff changeset
    78
//  EOF