bluegpsclientsession.h

来自「S60系统下的蓝牙GPS连接程序 包括client和server端的连接方式」· C头文件 代码 · 共 47 行

H
47
字号
/*****************************************************************************
 COPYRIGHT All rights reserved Sony Ericsson Mobile Communications AB 2003.

 The software is the copyrighted work of Sony Ericsson Mobile Communications AB.
 The use of the software is subject to the terms of the end-user license
 agreement which accompanies or is included with the software. The software is
 provided "as is" and Sony Ericsson specifically disclaim any warranty or
 condition whatsoever regarding merchantability or fitness for a specific
 purpose, title or non-infringement. No warranty of any kind is made in
 relation to the condition, suitability, availability, accuracy, reliability,
 merchantability and/or non-infringement of the software provided herein.

 *****************************************************************************/

#if !defined(__ComplexClient_H__)
#define __ComplexClient_H__

#include <e32base.h>
#include "..\inc\BlueGPSClientServer.h"

//**********************************
// CBlueGPSClientSession
//**********************************
// The client class. 
// The connect function starts the server, if it not already running.
// An RSessionBase sends messages to the server with the function RSessionBase::SendReceive(); 

class CBlueGPSClientSession : public RSessionBase
{
public:
	CBlueGPSClientSession();
	TInt Connect();
	TVersion Version() const;
	void Close();

	TBlueGPSInfo GetGPSInfo();
	void ConnectToDevice();
	//FFF
	void DisconnectDevice();
	TBool GetConnectStatus();
	void NewDevice();
};


#endif

⌨️ 快捷键说明

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