videoplayback/videoplaybackview/tsrc/teststatuspanecontrol/stub/src/videoplaybackviewfiledetails.cpp
changeset 44 518105d52e45
equal deleted inserted replaced
42:17f382c040b1 44:518105d52e45
       
     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 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     MPX_ENTER_EXIT(_L("VideoPlaybackViewFileDetails::VideoPlaybackViewFileDetails()"));
       
    34 
       
    35     clearFileDetails();
       
    36 }
       
    37 
       
    38 VideoPlaybackViewFileDetails::~VideoPlaybackViewFileDetails()
       
    39 {
       
    40     MPX_ENTER_EXIT(_L("VideoPlaybackViewFileDetails::~VideoPlaybackViewFileDetails()"));
       
    41 
       
    42     clearFileDetails();
       
    43 }
       
    44 
       
    45 void
       
    46 VideoPlaybackViewFileDetails::clearFileDetails()
       
    47 {
       
    48     MPX_ENTER_EXIT(_L("VideoPlaybackViewFileDetails::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     mDrmProtected = false;
       
    71 
       
    72     mVideoHeight = 0;
       
    73     mVideoWidth  = 0;
       
    74     mBitRate = 0;
       
    75 }
       
    76 
       
    77 //  EOF