videoplayback/hbvideoplaybackview/tsrc/testdetailsplaybackwindow/stub/src/mpxvideoplaybackviewfiledetails.cpp
changeset 36 8aed59de29f9
child 24 7d93ee07fb27
equal deleted inserted replaced
35:3738fe97f027 36:8aed59de29f9
       
     1 /*
       
     2 * Copyright (c) 2010 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:  1 %
       
    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     MPX_ENTER_EXIT(_L("QMPXVideoPlaybackViewFileDetails::QMPXVideoPlaybackViewFileDetails()"));
       
    34 
       
    35     clearFileDetails();
       
    36 }
       
    37 
       
    38 QMPXVideoPlaybackViewFileDetails::~QMPXVideoPlaybackViewFileDetails()
       
    39 {
       
    40     MPX_ENTER_EXIT(_L("QMPXVideoPlaybackViewFileDetails::~QMPXVideoPlaybackViewFileDetails()"));
       
    41 
       
    42     clearFileDetails();
       
    43 }
       
    44 
       
    45 void
       
    46 QMPXVideoPlaybackViewFileDetails::clearFileDetails()
       
    47 {
       
    48     MPX_ENTER_EXIT(_L("QMPXVideoPlaybackViewFileDetails::ClearFileDetails()"));
       
    49 
       
    50     mMimeType = tr("");  
       
    51     mTitle = tr("");
       
    52     mArtist = tr("");
       
    53     mClipName = tr("");
       
    54     mDescription = tr("");  
       
    55     mLocation = tr("");
       
    56     mCopyright = tr("");
       
    57     mLanguage = tr("");
       
    58     mKeywords = tr("");
       
    59     
       
    60     mPlaybackMode = EMPXVideoLocal;
       
    61     mSeekable = false;
       
    62     mPausableStream = false;
       
    63     mAudioEnabled = false;
       
    64     mVideoEnabled = false;
       
    65     mPartialPlayback = false;
       
    66     mRNFormat = false;
       
    67 
       
    68     mDuration = 0;
       
    69     mTvOutConnected   = false;
       
    70     mTvOutPlayAllowed = true;
       
    71     mDrmProtected = false;
       
    72 
       
    73     mVideoHeight = 0;
       
    74     mVideoWidth  = 0;
       
    75     mBitRate = 0;
       
    76 }
       
    77 
       
    78 //  EOF