📄 fakebtclientengine.h
字号:
/************************************************************************/
/* Bluteooth Test The.Berlin.Factor Juni 2003 */
/************************************************************************/
#ifndef __CFakeBtClientEngine_H__
#define __CFakeBtClientEngine_H__
#include <E32Base.h>
#include "gps/bt/BtClientEngine.h"
#define KDataBufferSize 1024
class CFakeBtClientEngine : public CActive, public MBtClientEngine {
public:
static CFakeBtClientEngine * NewL( );
virtual ~CFakeBtClientEngine( );
public:
// From CActive
void RunL( );
void DoCancel( );
public:
// From MBtClientEngine
void SetListener( MBtDataListener * aListener ) { iListener = aListener; };
protected:
void ReadData( );
void FakeGPGGAMsg( );
void FakeGPGLLMsg( );
void FakeGPVTGMsg( );
void FakeUnknownMsg( );
void NotifyListener( );
protected:
CFakeBtClientEngine( );
void ConstructL( );
private:
RTimer iTimer;
TBuf8< KDataBufferSize > iDataBuffer;
MBtDataListener * iListener;
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -