?? smsdatagramservice.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:
IMPORT_C ~CSMSDatagramService();
IMPORT_C static CDatagramService* NewL();
// from CDatagramService
IMPORT_C void SendL(CDatagram* aDatagram, TRequestStatus& aStatus);
IMPORT_C 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 + -