audioadapter.h

来自「symbian 可以实现控制声音大小的源码 非常实用!」· C头文件 代码 · 共 65 行

H
65
字号
/* Copyright (c) 2004, Nokia. All rights reserved */


#ifndef __MAUDIOADAPTER_H__
#define __MAUDIOADAPTER_H__


// INCLUDES
#include <e32std.h>


// FORWARD DECLARATIONS
class CEikMenuPane;


// CLASS DECLARATION

/** 
* MAudioAdapter
* An instance of class MAudioAdapter is an adapter for an audio utility object
*/
class MAudioAdapter
    {
    public: // New functions

        /**
        * PlayL
        * Play the audio utility.
        */        
        virtual void PlayL() = 0;

        /**
        * StopL
        * Stop the audio utility.
        */  
        virtual void StopL() = 0;

        /**
        * RecordL
        * Record using the audio utility ( if supported ).
        */ 
        virtual void RecordL() = 0;

        /**
        * UpdateMenuL
        * Update the menu aMenuPane to reflect the current 
        * state of the audio utility.
        * @param aMenuPane the menu pane to update
        */
        virtual void UpdateMenuL( CEikMenuPane* aMenuPane ) = 0;

        /**
        * Identify
        * Return an identifying string 
        * @return an identifier
        */
        virtual const TDesC& Identify() = 0;

    };

#endif // __MAUDIOADAPTER_H__


// End of File

⌨️ 快捷键说明

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