emailtransport.h

来自「Symbian OS C++ for Mobile Phones v3 Exam」· C头文件 代码 · 共 35 行

H
35
字号
// Copyright (c) 2004 - 2007, Symbian Software Ltd. All rights reserved.

/**
	The email transport is an extension of the body text
	transport, which adds a subject line to sent messages.
 */

#ifndef EMAILTRANSPORT_H
#define EMAILTRANSPORT_H

#include "bodytexttransport.h"


class CEmailTransport : public CBodyTextTransport
/**
	Transport sends payloads to a remote device over email.
 */
	{
public:
	static CEmailTransport* NewL(TAny* aTransportCreateInfo);
	static CEmailTransport* New2L(MTransportObserver& aObserver, const TDesC& aAddress, TBool aInitListen);

private:
	CEmailTransport(MTransportObserver& aObserver);
	
	// implement CMessageTransport
	virtual TBool ShouldUseReceivedMtmUid(TUid aMtmUid) const;
	
	// override CMessageTransport
	virtual void DoBuildMessageL();
	};

#endif	// #ifndef EMAILTRANSPORT_H

⌨️ 快捷键说明

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