?? bodytexttransport.h
字號:
// Copyright (c) 2004 - 2007, Symbian Software Ltd. All rights reserved.
/**
Defines the body text transport which is used as
the base of sendas transports which support body text.
*/
#ifndef BODYTEXTTRANSPORT_H
#define BODYTEXTTRANSPORT_H
#include "messagetransport.h"
class CBodyTextTransport : public CMessageTransport
/**
Manages a connection to the sendas server for transports
which support body text, such as MMS and email. This class
also extracts the body text from incoming messages.
*/
{
protected:
CBodyTextTransport(MTransportObserver& aObserver, TUid aMtmUid);
virtual ~CBodyTextTransport();
void ConstructL(const TDesC& aAddress, TBool aInitListen);
// partially implement CActive
virtual void DoCancel();
// partially implement CMessageTransport
virtual void BuildAndSendMessageL(const TDesC& aPayloadText);
virtual HBufC* ExtractPlainTextLC(CMsvStore& aStore) const;
virtual void DoBuildMessageL();
protected:
/** MTM used to send messages. */
const TUid iSendMtm;
/** Session to Send-As server. */
RSendAs iSendAs;
/** Subsession used to construct a single message. */
RSendAsMessage iSendAsMessage;
};
#endif // #ifndef BODYTEXTTRANSPORT_H
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -