equal
deleted
inserted
replaced
14 * Description: This class plays files with the Helix Engine |
14 * Description: This class plays files with the Helix Engine |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 |
18 |
19 // Version : %version: 20 % |
19 // Version : %version: 21 % |
20 |
20 |
21 |
21 |
22 #ifndef _CMPXVIDEOPLAYBACKMODE_H_ |
22 #ifndef _CMPXVIDEOPLAYBACKMODE_H_ |
23 #define _CMPXVIDEOPLAYBACKMODE_H_ |
23 #define _CMPXVIDEOPLAYBACKMODE_H_ |
24 |
24 |
66 virtual void ConnectToDownloadL( CMPXCommand& aCmd ); |
66 virtual void ConnectToDownloadL( CMPXCommand& aCmd ); |
67 virtual void HandleOpenComplete(); |
67 virtual void HandleOpenComplete(); |
68 virtual void GetPdlStatusL( CMPXCommand& aCmd ); |
68 virtual void GetPdlStatusL( CMPXCommand& aCmd ); |
69 virtual void UpdateSeekPosition( TInt64& aPosition ); |
69 virtual void UpdateSeekPosition( TInt64& aPosition ); |
70 inline virtual TBool IsDownloadPaused(); |
70 inline virtual TBool IsDownloadPaused(); |
71 virtual void HandlePause(); |
71 virtual TInt HandlePause(); |
72 virtual void HandleBackground(); |
72 virtual void HandleBackground(); |
73 virtual TBool IsNetworkMode2GL(); |
73 virtual TBool IsNetworkMode2GL(); |
74 virtual TBool CanPlayNow(); |
74 virtual TBool CanPlayNow(); |
75 virtual void OpenFileL( const TDesC& aMediaFile ); |
75 virtual void OpenFileL( const TDesC& aMediaFile ); |
76 virtual void OpenFileL( const RFile& aMediaFile ); |
76 virtual void OpenFileL( const RFile& aMediaFile ); |
135 // Methods where video plabkack behavior varies for streaming media |
135 // Methods where video plabkack behavior varies for streaming media |
136 inline virtual TInt GetMode(); |
136 inline virtual TInt GetMode(); |
137 virtual TBool CanPlayNow(); |
137 virtual TBool CanPlayNow(); |
138 virtual void HandleOpenComplete(); |
138 virtual void HandleOpenComplete(); |
139 void OpenFileL( const TDesC& aMediaFile ); |
139 void OpenFileL( const TDesC& aMediaFile ); |
140 virtual void HandlePause(); |
140 virtual TInt HandlePause(); |
141 }; |
141 }; |
142 |
142 |
143 //////////////////////////////////////////////////////////// |
143 //////////////////////////////////////////////////////////// |
144 /// Declaration of CMPXLiveStreamingPlaybackMode |
144 /// Declaration of CMPXLiveStreamingPlaybackMode |
145 /// |
145 /// |
151 static CMPXVideoPlaybackMode* NewL(CMPXVideoPlaybackController* aVideoPlaybackCtlr); |
151 static CMPXVideoPlaybackMode* NewL(CMPXVideoPlaybackController* aVideoPlaybackCtlr); |
152 virtual ~CMPXLiveStreamingPlaybackMode(); |
152 virtual ~CMPXLiveStreamingPlaybackMode(); |
153 |
153 |
154 // Methods where video plabkack behavior varies for live streaming media |
154 // Methods where video plabkack behavior varies for live streaming media |
155 inline virtual TInt GetMode(); |
155 inline virtual TInt GetMode(); |
156 virtual void HandlePause(); |
156 virtual TInt HandlePause(); |
157 virtual TBool SendErrorToView( TInt aError ); |
157 virtual TBool SendErrorToView( TInt aError ); |
158 virtual void HandlePauseToPlayTransitionL(); |
158 virtual void HandlePauseToPlayTransitionL(); |
159 }; |
159 }; |
160 |
160 |
161 //////////////////////////////////////////////////////////////////////////////// |
161 //////////////////////////////////////////////////////////////////////////////// |