⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 smsdatagramservice.h

📁 经过改造的EasyDgm
💻 H
字号:
// SMSDatagramService.h
//
// Copyright (c) 2003 Symbian Ltd.  All rights reserved.
//

#ifndef __SMSDATAGRAMSERVICE_H__
#define __SMSDATAGRAMSERVICE_H__

#include <DatagramService.h>

// Forward Declarations
class CSMSSender;
class CSMSReceiver;

class CSMSDatagramService : public CDatagramService
/**
@publishedAll

	An SMS Specific Datagram Service API. 

	CSMSDatagramSerive provides a simple way of sending SMS in 7Bit format most
	universally recognised. Sending binary data is not possible without first encoding
	the data in a method which will survive being 7Bit encoded.
*/
	{	
public:
	~CSMSDatagramService();
	static CDatagramService* NewL();
	
	// from CDatagramService
	void SendL(CDatagram* aDatagram, TRequestStatus& aStatus);	
	void ReceiveL(CDatagram* aDatagram, const TDesC8& aRecvParams, TRequestStatus& aStatus);	

private:
	void ConstructL();
		
private:	
	
	/** Encapsulating Socket based send*/
	CSMSSender* iSender;
	/** Active object encapsulating Socket based receive*/
	CSMSReceiver* iReceiver;
	};

#endif

⌨️ 快捷键说明

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