videoplayback/videoplaybackview/tsrc/testvideodisplayhandler/stub/src/videoplaybackviewfiledetails.cpp
changeset 52 e3cecb93e76a
child 66 adb51f74b890
equal deleted inserted replaced
47:45e72b57a2fd 52:e3cecb93e76a
       
     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:  4 %
       
    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     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     mDrmProtected = false;
       
    68     mMultiItemPlaylist = false;
       
    69 
       
    70     mVideoHeight = 0;
       
    71     mVideoWidth  = 0;
       
    72     mBitRate = 0;
       
    73 }
       
    74 
       
    75 //  EOF