videoplayback/inc/mpxvideoplaybackviewfiledetails.h
branchRCL_3
changeset 9 5294c000a26d
parent 8 ce5ada96ab30
child 11 8970fbd719ec
equal deleted inserted replaced
8:ce5ada96ab30 9:5294c000a26d
     1 /*
     1 /*
     2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). 
     2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    13 *
    13 *
    14 * Description:  Container for MPX Video File Details
    14 * Description:  Container for MPX Video File Details
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 // Version : %version: e003sa33#11 %
       
    19 
    18 
    20 
    19 // Version : %version: 12 %
    21 
    20 
    22 
    21 
    23 #ifndef __MPXVIDEOPLAYBACKVIEWFILEDETAILS__
    22 #ifndef __MPXVIDEOPLAYBACKVIEWFILEDETAILS__
    24 #define __MPXVIDEOPLAYBACKVIEWFILEDETAILS__
    23 #define __MPXVIDEOPLAYBACKVIEWFILEDETAILS__
    25 
    24 
    26 #include "mpxhelixplaybackplugindefs.h"
    25 #include "mpxhelixplaybackplugindefs.h"
    27 // 
    26 
       
    27 //
    28 //  CLASS DECLARATION
    28 //  CLASS DECLARATION
    29 //
    29 //
    30 NONSHARABLE_CLASS( CMPXVideoPlaybackViewFileDetails ) : public CBase
    30 NONSHARABLE_CLASS( CMPXVideoPlaybackViewFileDetails ) : public CBase
    31 {
    31 {
    32     public:  
    32     public:
    33         //
    33         //
    34         //  Constructors and destructor
    34         //  Constructors and destructor
    35         //
    35         //
    36         static CMPXVideoPlaybackViewFileDetails* NewL();
    36         static CMPXVideoPlaybackViewFileDetails* NewL();
    37         
    37 
    38         //
    38         //
    39         //  Destructor.
    39         //  Destructor.
    40         //
    40         //
    41         virtual ~CMPXVideoPlaybackViewFileDetails();
    41         virtual ~CMPXVideoPlaybackViewFileDetails();
    42         
    42 
    43         //
    43         //
    44         //  Clear all file details
    44         //  Clear all file details
    45         //
    45         //
    46         void ClearFileDetails();
    46         void ClearFileDetails();
    47 
    47 
    48         /** 
    48         /**
    49         * Generate file name, remove all file path
    49         * Generate file name, remove all file path
    50         * 
    50         *
    51         * @return generated file name, ownership is transferred 
    51         * @return generated file name, ownership is transferred
    52         */
    52         */
    53         IMPORT_C HBufC* GenerateFileNameL();
    53         IMPORT_C HBufC* GenerateFileNameL();
    54         
    54 
    55     private:
    55     private:
    56         //
    56         //
    57         //  By default Symbian 2nd phase constructor is private.
    57         //  By default Symbian 2nd phase constructor is private.
    58         //
    58         //
    59         void ConstructL();
    59         void ConstructL();
    60 
    60 
    61     public:    
    61     public:
    62         //
    62         //
    63         // Data
    63         // Data
    64         //
    64         //
    65         HBufC*   iClipName;
    65         HBufC*   iClipName;
    66         HBufC*   iTitle;
    66         HBufC*   iTitle;
    71         TBool          iSeekable;
    71         TBool          iSeekable;
    72         TBool          iPausableStream;
    72         TBool          iPausableStream;
    73         TBool          iAudioEnabled;
    73         TBool          iAudioEnabled;
    74         TBool          iVideoEnabled;
    74         TBool          iVideoEnabled;
    75         TBool          iPartialPlayback;
    75         TBool          iPartialPlayback;
    76         TBool          iRNFormat;
       
    77         TBool          iTvOutConnected;
    76         TBool          iTvOutConnected;
    78         TBool          iTvOutPlayAllowed;
    77         TBool          iTvOutPlayAllowed;
    79         TBool          iDrmProtected;
    78         TBool          iDrmProtected;
    80 
    79 
    81         TInt           iVideoHeight;
    80         TInt           iVideoHeight;
    84         TUint32        iFourCCCode;
    83         TUint32        iFourCCCode;
    85 
    84 
    86         TInt           iDuration;
    85         TInt           iDuration;
    87 };
    86 };
    88 
    87 
    89 #endif      // __MPXVIDEOPLAYBACKVIEWFILEDETAILS__  
    88 #endif      // __MPXVIDEOPLAYBACKVIEWFILEDETAILS__
    90 
    89 
    91             
    90 
    92 // EOF
    91 // EOF