⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mplayeruicontrollerlistener.h

📁 symbian video 的 实现
💻 H
字号:
/*
* ==============================================================================
*  Name        : MPlayerUIControllerListener.h
*  Part of     : Video
*  Created     : 10/14/2003 by Forum Nokia
*  Interface   : 
*  Description : Declares UI control listener
*  Version     : 
*  Copyright   : Nokia Corporation, 2003
* ==============================================================================
*/

#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
        
        /**
        * 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;

        /**
        * 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;

        /**
        * 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__

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -