?? tone.h
字號(hào):
/* Copyright (c) 2006, Nokia Mobile Phones. All rights reserved */
#ifndef __TONE_H__
#define __TONE_H__
#include <e32base.h>
#include <MdaAudioSamplePlayer.h> //MMdaAudioPlayerCallback
class MMusicObserver
{
public:
virtual void HandelPlayStopL()=0;
};
class Tone : public CBase, public MMdaAudioPlayerCallback
{
public:
static Tone* NewL(MMusicObserver& aObserver);
static Tone* NewLC(MMusicObserver& aObserver);
virtual ~Tone();
private:
void ConstructL();
Tone(MMusicObserver& aObserver);
public:
virtual void MapcInitComplete(TInt aError,const TTimeIntervalMicroSeconds& aDuration);
virtual void MapcPlayComplete(TInt aError);
public:
void StopL();
void PlayL();
private:
CMdaAudioPlayerUtility* iPlayer;
MMusicObserver& iObserver;
};
#endif // __TONE_H__
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -