mmsutils.h
来自「Symbian OS C++ for Mobile Phones v3 Exam」· C头文件 代码 · 共 43 行
H
43 行
// 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 + =
减小字号Ctrl + -
显示快捷键?