gpsreceiverbase.h

来自「symbian s60上的GPS」· C头文件 代码 · 共 42 行

H
42
字号

#ifndef __CGpsReceiverBase_H__
#define __CGpsReceiverBase_H__

#include <E32Base.h>

#include "GpsPosition.h"

#include "NmeaParser.h"

class MGpsListener;

class CGpsReceiverBase : public CBase
{
public:
	void AddListenerL( MGpsListener * aListener );
	void RemoveListenerL( MGpsListener * aListener );

protected:
	CGpsReceiverBase( void );
	virtual ~CGpsReceiverBase( void );

protected:
	void SendUpdate( const TGpsPosition & aNewPosition );
	void ProcessMessageL( TDesC8 & aCommand );
	void ProcessGPGGAMsgL( TDesC8 & aCommand );
	void ProcessGPGLLMsgL( TDesC8 & aCommand );
	void ProcessGPVTGMsgL( TDesC8 & aCommand );

protected:
	CNmeaParser						iNmeaParser;

private:
	TGpsPosition					iLastPosition;

private:
	RPointerArray< MGpsListener >	iListeners;

};

#endif 

⌨️ 快捷键说明

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