audioadapter.h

来自「该源码主要是示范了如何使用Symbian OS中的一些音频处理类」· C头文件 代码 · 共 59 行

H
59
字号
// Copyright (c) 2003, Nokia Mobile Phones. All rights reserved.

#ifndef __MAUDIOADAPTER__
#define __MAUDIOADAPTER__

#include <e32std.h>

class CEikMenuPane;

/*! 
  @class MAudioAdapter
  
  @discussion An instance of class MAudioAdapter is an adapter for an audio utility object
  */
class MAudioAdapter
    {
public:

/*! 
  @function PlayL
  
  @discussion Play the audio utility.
  */
    virtual void PlayL() = 0;

/*! 
  @function StopL
  
  @discussion Stop the audio utility.
  */
    virtual void StopL() = 0;

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

/*! 
  @function UpdateMenuL
  
  @discussion 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;

/*! 
  @function Identify
  
  @discussion Return an identifying string 
  @result an identifier
  */
    virtual const TDesC& Identify() = 0;

    };

#endif // __MAUDIOADAPTER__

⌨️ 快捷键说明

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