CImRecvConvert Class Reference
|
class CImRecvConvert : public CBase
|
Constructor & Destructor Documentation
CImRecvConvert(RFs &, CMsvServerEntry *, TUid, TMsvId)
~CImRecvConvert()
|
IMPORT_C
|
~CImRecvConvert
|
(
|
)
|
|
Member Functions Documentation
AddFileExtension()
|
void
|
AddFileExtension
|
(
|
)
|
[private]
|
CheckUUEStartL(const TDesC8 &)
|
TBool
|
CheckUUEStartL
|
(
|
const
TDesC8
&
|
aSourceLine
|
)
|
[private]
|
CloseAttachmentFileL()
|
void
|
CloseAttachmentFileL
|
(
|
)
|
[private]
|
ConstructL(RFs &)
|
void
|
ConstructL
|
(
|
RFs
&
|
anFs
|
)
|
[private]
|
CreateAttachmentL()
|
TBool
|
CreateAttachmentL
|
(
|
)
|
[private]
|
CreateEntryL()
|
void
|
CreateEntryL
|
(
|
)
|
[private]
|
CreateNonMIMEFolderEntryL(TMsvId)
|
TBool
|
CreateNonMIMEFolderEntryL
|
(
|
TMsvId
|
aCurrentId
|
)
|
[private]
|
Date()
|
const
TTime
|
Date
|
(
|
)
|
const [inline]
|
DecodeAndStoreLineL(const TDesC8 &)
|
void
|
DecodeAndStoreLineL
|
(
|
const
TDesC8
&
|
aSourceLine
|
)
|
[private]
|
DeletedAttachmentSize()
|
IMPORT_C
TInt
|
DeletedAttachmentSize
|
(
|
)
|
|
EndOfHeaderMIMEProcessingL()
|
void
|
EndOfHeaderMIMEProcessingL
|
(
|
)
|
[private]
|
EndOfHeaderProcessingL()
|
void
|
EndOfHeaderProcessingL
|
(
|
)
|
[private]
|
EntryId()
|
const
TMsvId
|
EntryId
|
(
|
)
|
const [inline]
|
ExtractFilename(TLex &, TDes &)
|
void
|
ExtractFilename
|
(
|
TLex
&
|
aLex,
|
|
|
TDes
&
|
rFileName
|
|
|
)
|
[private]
|
ImAddToCafMetaDataL(const TDesC8 &)
|
void
|
ImAddToCafMetaDataL
|
(
|
const
TDesC8
&
|
aMimeLine
|
)
|
|
ImAddToCafMetaDataL(const TDesC8 &, const TDesC8 &)
|
void
|
ImAddToCafMetaDataL
|
(
|
const
TDesC8
&
|
aField,
|
|
|
const
TDesC8
&
|
aData
|
|
|
)
|
|
ImCafProcessing()
|
TBool
|
ImCafProcessing
|
(
|
)
|
const
|
ImCafRegisterL(const TDesC8 &)
|
void
|
ImCafRegisterL
|
(
|
const
TDesC8
&
|
aMimeLine
|
)
|
|
ImCafRegistered()
|
TBool
|
ImCafRegistered
|
(
|
)
|
const
|
LineIsAllWhitespace()
|
TBool
|
LineIsAllWhitespace
|
(
|
)
|
[private]
|
Logging(const TDesC8 &, const TDesC8 &)
|
void
|
Logging
|
(
|
const
TDesC8
&
|
aString1,
|
|
|
const
TDesC8
&
|
aString2
|
|
|
)
|
[private]
|
MessageCompleteL()
|
IMPORT_C void
|
MessageCompleteL
|
(
|
)
|
|
MessageCompleteL(TMsvEmailEntry)
MessageCompleteL(TBool)
|
IMPORT_C void
|
MessageCompleteL
|
(
|
TBool
|
aPartialDownload
|
)
|
|
MoveToParentEntryL()
|
void
|
MoveToParentEntryL
|
(
|
)
|
[private]
|
MoveUpFromFolderEntryL()
|
void
|
MoveUpFromFolderEntryL
|
(
|
)
|
[private]
|
NewL(RFs &, CMsvServerEntry *, TUid, TMsvId)
NewLC(RFs &, CMsvServerEntry *, TUid, TMsvId)
NotFinishedRfc822Header()
|
TBool
|
NotFinishedRfc822Header
|
(
|
)
|
[inline]
|
ParseBodyLineL(const TDesC8 &)
|
void
|
ParseBodyLineL
|
(
|
const
TDesC8
&
|
aSourceLine
|
)
|
[private]
|
ParseMimeLineL(const TDesC8 &)
|
void
|
ParseMimeLineL
|
(
|
const
TDesC8
&
|
aSourceLine
|
)
|
[private]
|
ParseNextField(const TDesC8 &)
|
IMPORT_C
TInt
|
ParseNextField
|
(
|
const
TDesC8
&
|
aSourceLine
|
)
|
|
ParseNextLineL(const TDesC8 &)
|
void
|
ParseNextLineL
|
(
|
const
TDesC8
&
|
aSourceLine
|
)
|
[private]
|
ParseRecipientListL(CDesCArray &)
|
void
|
ParseRecipientListL
|
(
|
CDesCArray
&
|
aRecipientList
|
)
|
[private]
|
PrepareDecoder()
|
void
|
PrepareDecoder
|
(
|
)
|
[private]
|
Priority()
|
const
TMsvPriority
|
Priority
|
(
|
)
|
const [inline]
|
ReceiveError()
|
const
TInt
|
ReceiveError
|
(
|
)
|
const [inline]
|
ReplaceInvalidCharacters(TDes &)
|
void
|
ReplaceInvalidCharacters
|
(
|
TDes
&
|
rFileName
|
)
|
[private]
|
ResetForHeadersL()
|
IMPORT_C void
|
ResetForHeadersL
|
(
|
)
|
|
ResetForNewEntryL(TValidEntryType)
ResetForNonMimeEntryL()
|
void
|
ResetForNonMimeEntryL
|
(
|
)
|
[private]
|
SaveAllAttachments(TBool)
|
void
|
SaveAllAttachments
|
(
|
TBool
|
aSave
|
)
|
[inline]
|
SetAttachmentName(TDes &)
|
void
|
SetAttachmentName
|
(
|
TDes
&
|
aFileName
|
)
|
[private]
|
SetAttachmentPathL(const TDesC &)
|
void
|
SetAttachmentPathL
|
(
|
const
TDesC
&
|
aFullPath
|
)
|
[inline]
|
SetCaf(CImCaf &)
|
IMPORT_C void
|
SetCaf
|
(
|
CImCaf
&
|
aCAF
|
)
|
|
Initialise class CimCaf reference
Parameters
|
CImCaf
& aCAF
|
- Reference to a CAF instance
|
SetMsvId(TMsvId)
|
void
|
SetMsvId
|
(
|
TMsvId
|
aId
|
)
|
[inline]
|
Store822HeaderL(CMsvStore &, TBool &)
|
void
|
Store822HeaderL
|
(
|
CMsvStore
&
|
aStore,
|
|
|
TBool
&
|
aCommit
|
|
|
)
|
[private]
|
StoreBodyTextL(CMsvStore &, TBool &)
StoreEntryDataL()
|
TBool
|
StoreEntryDataL
|
(
|
)
|
[private]
|
StoreEntryStreamsL()
|
void
|
StoreEntryStreamsL
|
(
|
)
|
[private]
|
StoreEntryStreamsL(TInt)
|
void
|
StoreEntryStreamsL
|
(
|
TInt
|
aSettings
|
)
|
[private]
|
StoreMIMEHeaderL(CMsvStore &, TBool &)
|
void
|
StoreMIMEHeaderL
|
(
|
CMsvStore
&
|
aStore,
|
|
|
TBool
&
|
aCommit
|
|
|
)
|
[private]
|
StoreMessageEntryDetailsL()
|
void
|
StoreMessageEntryDetailsL
|
(
|
)
|
[private]
|
UpdateMultipartDataL()
|
void
|
UpdateMultipartDataL
|
(
|
)
|
[private]
|
ValidCompleteHeader()
|
const
TBool
|
ValidCompleteHeader
|
(
|
)
|
const [inline]
|
Whitespace(const TUint8 *&)
|
void
|
Whitespace
|
(
|
const
TUint8
*&
|
|
)
|
[private]
|
WritePartialFooter8L(TInt)
|
void
|
WritePartialFooter8L
|
(
|
TInt
|
aAmountLeft
|
)
|
[private]
|
WritePartialFooterL(TInt)
|
IMPORT_C void
|
WritePartialFooterL
|
(
|
TInt
|
aAmountLeft
|
)
|
|
WriteToAttachmentL(const TDesC8 &)
|
void
|
WriteToAttachmentL
|
(
|
const
TDesC8
&
|
text
|
)
|
[private]
|
WriteToBodyL(const TDesC8 &, TBool)
|
void
|
WriteToBodyL
|
(
|
const
TDesC8
&
|
aText,
|
|
|
TBool
|
aBlankLine = EFalse
|
|
|
)
|
[private]
|
WriteToBodyL(const TDesC16 &)
|
void
|
WriteToBodyL
|
(
|
const
TDesC16
&
|
aText
|
)
|
[private]
|
Member Enumerations Documentation
Enum TImEntryStreamSaveSettings
Enumerators
|
KStoreBodyText = 0x00000001
|
|
|
KStore822Header = KStoreBodyText << 1
|
|
|
KStoreMIMEHeader = KStore822Header << 1
|
|
Enum TValidEntryType
Enumerators
|
EUnknownEntry
|
|
|
EMessageEntry
|
|
|
EFolderEntry
|
|
|
EAttachmentEntry
|
|
|
ETextEntry
|
|
|
EHtmlEntry
|
|
|
ERtfEntry
|
|
Member Data Documentation
TImBodyConvAlgorithm
iAlgorithm
TImAttachmentFile
iAttachmentFile
TImAttachmentFileState
iAttachmentFileState
HBufC * iAttachmentFullPath
|
HBufC
*
|
iAttachmentFullPath
|
[private]
|
TFileName
iAttachmentName
TInt8
iBCPadding
|
TInt8
|
iBCPadding
|
[private]
|
CImConvertCharconv * iCharConv
CCharFormatLayer * iCharLayer
CCnvCharacterSetConverter * iCharacterConverter
TBool
iCommitLine
|
TBool
|
iCommitLine
|
[private]
|
CCnvCharacterSetConverter * iConverter
TMsvId
iCurrentMultipartFolderEntryId
|
TMsvId
|
iCurrentMultipartFolderEntryId
|
[private]
|
TBool
iCurrentPartIsRichText
|
TBool
|
iCurrentPartIsRichText
|
[private]
|
HBufC * iDefaultAttachmentName
|
HBufC
*
|
iDefaultAttachmentName
|
[private]
|
TValidEntryType
iDefaultEntryType
TMsvEmailEntry * iEmailEntry
TInt
iEmailPart
|
TInt
|
iEmailPart
|
[private]
|
TMsvId
iEmailServiceId
|
TMsvId
|
iEmailServiceId
|
[private]
|
TInt
iEmptyHeaderSize
|
TInt
|
iEmptyHeaderSize
|
[private]
|
TBool
iEncounteredLineEndingInCarriageReturn
|
TBool
|
iEncounteredLineEndingInCarriageReturn
|
[private]
|
TValidEntryType
iEntryType
TBool
iFinalLine
|
TBool
|
iFinalLine
|
[private]
|
TBool
iFinishedHeader
|
TBool
|
iFinishedHeader
|
[private]
|
TBool
iFirstBoundaryReached
|
TBool
|
iFirstBoundaryReached
|
[private]
|
TBool
iFirstLinePlainText
|
TBool
|
iFirstLinePlainText
|
[private]
|
RFs * iFsSession
|
RFs
*
|
iFsSession
|
[private]
|
TInt
iGlobalIndent
|
TInt
|
iGlobalIndent
|
[private]
|
CImConvertHeader * iHeaderConverter
TMsvPriority
iImPriority
|
TMsvPriority
|
iImPriority
|
[private]
|
TBuf8< KMaxPriorityTextLength > iImportance
TChar
iLastChar
|
TChar
|
iLastChar
|
[private]
|
TInt
iLeaveError
|
TInt
|
iLeaveError
|
[private]
|
TBuf8< KConversionRemainderLength > iLeftOver
TBool
iLogFileExists
|
TBool
|
iLogFileExists
|
[private]
|
TInt
iLongestLine
|
TInt
|
iLongestLine
|
[private]
|
TBool
iMIMEPart_822Header
|
TBool
|
iMIMEPart_822Header
|
[private]
|
TBool
iMessageEntryCalled
|
TBool
|
iMessageEntryCalled
|
[private]
|
CMimeParser * iMimeParser
TBool
iNewEntry
|
TBool
|
iNewEntry
|
[private]
|
TUid
iNewMsgType
|
TUid
|
iNewMsgType
|
[private]
|
TBool
iNewNonMIMEBodyPart
|
TBool
|
iNewNonMIMEBodyPart
|
[private]
|
TBool
iNotFinishedRfc822Header
|
TBool
|
iNotFinishedRfc822Header
|
[private]
|
CImHeader * iOutputHeader
CParaFormatLayer * iParaLayer
CArrayFixFlat< TParentDetails > * iParent
TBool
iParsedMimeBoundaryLast
|
TBool
|
iParsedMimeBoundaryLast
|
[private]
|
TBool
iParsedTime
|
TBool
|
iParsedTime
|
[private]
|
TBool
iPartialEmail
|
TBool
|
iPartialEmail
|
[private]
|
HBufC * iPartialEmailFooter
|
HBufC
*
|
iPartialEmailFooter
|
[private]
|
HBufC8 * iPartialEmailFooter8
|
HBufC8
*
|
iPartialEmailFooter8
|
[private]
|
HBufC8 * iPartialRetrievalBody
|
HBufC8
*
|
iPartialRetrievalBody
|
[private]
|
CMsvPlainBodyTextEntry * iPlainBodyTextEntry
TBool
iPopulateMessage
|
TBool
|
iPopulateMessage
|
[private]
|
TBuf8< KMaxPriorityTextLength > iPrecedence
TBool
iPrepared
|
TBool
|
iPrepared
|
[private]
|
TBool
iPreparedToConvert
|
TBool
|
iPreparedToConvert
|
[private]
|
TInt
iPreviousLineLength
|
TInt
|
iPreviousLineLength
|
[private]
|
TInt
iPreviousTrailingWhitespace
|
TInt
|
iPreviousTrailingWhitespace
|
[private]
|
TInt
iReceiveError
|
TInt
|
iReceiveError
|
[private]
|
TBool
iReceivingHeadersOnly
|
TBool
|
iReceivingHeadersOnly
|
[private]
|
TBool
iRelatedAttachments
|
TBool
|
iRelatedAttachments
|
[private]
|
HBufC * iRemovedAttachmentTag
|
HBufC
*
|
iRemovedAttachmentTag
|
[private]
|
HBufC * iRetainedAttachmentTag
|
HBufC
*
|
iRetainedAttachmentTag
|
[private]
|
TImRfc822DateField
iRfc822Date
CRfc822Token * iRfc822Token
TMsvId
iSavedEntryId
|
TMsvId
|
iSavedEntryId
|
[private]
|
TBool
iSavingAttachments
|
TBool
|
iSavingAttachments
|
[private]
|
TBuf8< KMaxBoundaryTextLength > iSeekBoundary
CMsvServerEntry * iServerEntry
TInt
iSizeOfAttachmentsRemoved
|
TInt
|
iSizeOfAttachmentsRemoved
|
[private]
|
TBool
iSkipData
|
TBool
|
iSkipData
|
[private]
|
TInt
iStore8BitData
|
TInt
|
iStore8BitData
|
[private]
|
TBool
iStorePlainBodyText
|
TBool
|
iStorePlainBodyText
|
[private]
|
TTime
iTimeDate
|
TTime
|
iTimeDate
|
[private]
|
TMsvId
iTopMessagePart
|
TMsvId
|
iTopMessagePart
|
[private]
|
TInt
iTopPartialDownloadCounter
|
TInt
|
iTopPartialDownloadCounter
|
[private]
|
TInt
iXPriority
|
TInt
|
iXPriority
|
[private]
|
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.