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

📄 mmsutils.h

📁 Symbian OS C++ for Mobile Phones Volume 3 源码
💻 H
字号:
// Copyright (c) 2004 - 2007, Symbian Software Ltd. All rights reserved.

/**
	Constants and datatypes common to both MMS sendas and MMS MTM transports.
 */

#ifndef MMSUTILS_H
#define MMSUTILS_H

#include <mmsconst.h>
#include <MMsvAttachmentManager.h>
#include <UTF.H>

#include "messagetransport.h"


/** The MMS subject line. */
_LIT(KMmsSubjectLine, "OandX move via MMS");
/** Payload text attachment's filename. */
_LIT(KPayloadAttachmentName, "payload.txt");
/** Image attachment's filename. */
_LIT(KImageAttachmentName, "oxs_icon.gif");
/** Image attachment's MIME type. */
_LIT8(KImageAttachmentMimeType8, "image/jpeg");


class MmsUtils
/**
	Functionality to manage attachments, which is common
	to both sendas and MTM MMS transports.
 */
	{
public:
	static void FileNameFromPrivateDirL(RFs& aFs, TDes& aFullName, const TDesC& aNameAndExt);
	
	static HBufC8* BuildFramedPayloadLC(const TDesC& aPayload);
	static HBufC* ExtractPlainTextLC(CMsvStore& aStore);
	static HBufC* ExtractPlainTextFromFileLC(RFile aFile);
	};

#endif	// #ifndef MMSUTILS_H

⌨️ 快捷键说明

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