?? mplayeruicontrollerlistener.h
字號(hào):
/*
* ============================================================================
* Name : MPlayerUIControllerListener from MPlayerUIControllerListener.h
* Part of : Video Example
* Created : 30/08/2006 by Forum Nokia
* Implementation notes:
* Version : 2.0
* Copyright: Nokia Corporation, 2006
* ============================================================================
*/
#ifndef __MPLAYERUICONTROLLERLISTENER_H__
#define __MPLAYERUICONTROLLERLISTENER_H__
const TInt KMPOneSecond(1000000);
const TInt KMPOneMinute(60000000);
const TInt KOneHourInSeconds(3600);
// UI controller commands
enum TMPControlCommands
{
EMPControlCmdPlay,
EMPControlCmdPause,
EMPControlCmdStop,
EMPControlCmdStartSeekForward,
EMPControlCmdStartSeekBackward,
EMPControlCmdStopSeeking,
EMPControlCmdVolumeUpByOne,
EMPControlCmdVolumeDownByOne,
EMPControlCmdVolumeMute,
EMPControlCmdVolumeUnMute,
EMPControlCmdOpenNextPlaylistItem,
EMPControlCmdClose,
EMPControlCmdReOpen
};
/**
* MPlayerUIControllerListener
* An interface class. Defines callback to be called from engine. It should be
* implemented by the application UI class.
*/
class MPlayerUIControllerListener
{
public: // New functions
/**
* This method is called when UI controller has been initialized.
* @param aError, KErrNone or one of the system wide error codes.
* @return void
*/
virtual void InitControllerCompletedL(TInt aError)=0;
/**
* This method is called when UI controller has finished playing media.
* @param aError, KErrNone or one of the system wide error codes.
* @return void
*/
virtual void PlayCompletedL(TInt aError)=0;
/**
* This method is called when UI controller has finished recording media.
* @param aError, KErrNone or one of the system wide error codes.
* @return void
*/
virtual void RecordCompletedL(TInt aError)=0;
/**
* This method is called when UI controller's playback position is changed.
* @param aPlaybackPosInSeconds, new playback postions
* @param aTotalLengthInSeconds, clips duration
* @return void
*/
virtual void PlaybackPositionChangedL(TInt64 aPlaybackPosInSeconds,
TInt64 aTotalLengthInSeconds)=0;
};
#endif // __MPLAYERUICONTROLLERLISTENER_H__
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -