videoplayback/videoplaybackview/tsrc/testvideoplaybackview/stub/inc/mpxvideoviewwrapper.h
changeset 49 824471cb468a
parent 44 518105d52e45
child 50 21fe8338c6bf
equal deleted inserted replaced
44:518105d52e45 49:824471cb468a
    13 *
    13 *
    14 * Description:  MPX Video base playback view
    14 * Description:  MPX Video base playback view
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 // Version : %version:  7 %
    18 // Version : %version:  8 %
    19 
    19 
    20 
    20 
    21 
    21 
    22 // This file defines the API for .dll
    22 // This file defines the API for .dll
    23 
    23 
    26 
    26 
    27 //  Include Files
    27 //  Include Files
    28 
    28 
    29 #include <e32base.h>	// CBase
    29 #include <e32base.h>	// CBase
    30 #include <e32std.h>	 // TBuf
    30 #include <e32std.h>	 // TBuf
       
    31 #include <mpxcollectionobserver.h>
    31 
    32 
    32 
    33 
    33 #include "videoplaybackcontrol.hrh"
    34 #include "videoplaybackcontrol.hrh"
    34 
    35 
    35 //  Constants
    36 //  Constants
    36 
    37 
    37 //  Forward Declarations
    38 //  Forward Declarations
    38 class VideoBasePlaybackView;
    39 class VideoBasePlaybackView;
    39 class VideoPlaybackViewFileDetails;
    40 class VideoPlaybackViewFileDetails;
       
    41 class CMPXCollectionUtility;
       
    42 class CMPXMedia;
       
    43 class CMPXCollectionPlaylist;
    40 
    44 
    41 
    45 
    42 //  Class Definitions
    46 //  Class Definitions
    43 
    47 
    44 class CMPXVideoViewWrapper : public CBase
    48 class CMPXVideoViewWrapper : public CBase,
       
    49                              public MMPXCollectionObserver
    45 {
    50 {
    46     public:
    51     public:
    47         static CMPXVideoViewWrapper* NewL( VideoBasePlaybackView* aView );
    52         static CMPXVideoViewWrapper* NewL( VideoBasePlaybackView* aView );
    48         virtual ~CMPXVideoViewWrapper();
    53         virtual ~CMPXVideoViewWrapper();
    49 
    54 
    67         void CreateGeneralPlaybackCommandL( int aCmd );
    72         void CreateGeneralPlaybackCommandL( int aCmd );
    68 
    73 
    69         void ActivateClosePlayerActiveObject();
    74         void ActivateClosePlayerActiveObject();
    70 
    75 
    71         void IssueVideoAppForegroundCmdL( TBool aForeground );
    76         void IssueVideoAppForegroundCmdL( TBool aForeground );
       
    77         
       
    78         inline void HandleOpenL( const CMPXMedia& /*aEntries*/,
       
    79                                  TInt /*aIndex*/,
       
    80                                  TBool /*aComplete*/,
       
    81                                  TInt /*aError*/ ) {}
       
    82 
       
    83         inline void HandleOpenL( const CMPXCollectionPlaylist& /*aPlaylist*/, TInt /*aError*/ ) {}        
       
    84         
       
    85         inline void HandleCollectionMediaL( const CMPXMedia& /*aMedia*/, TInt /*aError*/ ) {}
       
    86         
       
    87         TInt GetMediaId();
    72 
    88 
    73 
    89 
    74     public: // data
    90     public: // data
    75 
    91 
    76         VideoBasePlaybackView*           iView;
    92         VideoBasePlaybackView*           iView;