videoplayerapp/videoplayerengine/tsrc/testvideoappuiengine/stub/inc/videoplaylistutility.h
changeset 36 8aed59de29f9
equal deleted inserted replaced
35:3738fe97f027 36:8aed59de29f9
       
     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:  video playlist utility class stub for unit testing
       
    15 *
       
    16 */
       
    17 
       
    18 // Version : %version:  1 %
       
    19 
       
    20 #ifndef __VIDEOPLAYLISTUTILITY_H
       
    21 #define __VIDEOPLAYLISTUTILITY_H
       
    22 
       
    23 class CMPXMedia;
       
    24 
       
    25 #include <e32base.h>
       
    26 #include <mediarecognizer.h>
       
    27 
       
    28 class CVideoPlaylistUtility : public CBase
       
    29 {
       
    30     public:
       
    31     		CVideoPlaylistUtility();
       
    32     		~CVideoPlaylistUtility();
       
    33                                      
       
    34         static CVideoPlaylistUtility* NewL();                                     
       
    35 
       
    36         void GetFileInfoL(  RFile& aFile, 
       
    37                             CMediaRecognizer::TMediaType aMediaType,
       
    38                             TBool& aSingleLink, TBool& aLocalFile );
       
    39                             
       
    40         void GetFileInfoL( const TDesC& aFileName, 
       
    41                            CMediaRecognizer::TMediaType aMediaType,
       
    42                            TBool& aSingleLink, 
       
    43                            TBool& aLocalFile);                           
       
    44                            
       
    45         TPtrC GetLinkLC();
       
    46         
       
    47         TBool IsSeekable();
       
    48         
       
    49         CMPXMedia* GetPlayListL( TInt aAccessPointId );
       
    50 
       
    51                                      
       
    52 };
       
    53 #endif /*__VIDEOPLAYLISTUTILITY_H*/