mmsconst.h File Reference

const TLitC< sizeof(L"19700000:000000.000000")/2 > KMmsYear1970String

const TLitC < sizeof(L"19700000:000000.000000")/2 > KMmsYear1970String [static]

const TLitC< sizeof(L"mmsserver.rsc")/2 > KMmsResourceDriveAndFile

const TLitC < sizeof(L"mmsserver.rsc")/2 > KMmsResourceDriveAndFile [static]

const TLitC< sizeof(L"MMSNotifications")/2 > KMMSNotificationFolder

const TLitC < sizeof(L"MMSNotifications")/2 > KMMSNotificationFolder [static]

const TLitC< sizeof(L"MmsMmbox")/2 > KMmsMmboxFolder

const TLitC < sizeof(L"MmsMmbox")/2 > KMmsMmboxFolder [static]

const TInt KMmsMillion

const TInt KMmsMillion

const TInt KMmsDateBufferLength

const TInt KMmsDateBufferLength

const TInt KMmsImageSmallWidth

const TInt KMmsImageSmallWidth

const TInt KMmsImageSmallHeight

const TInt KMmsImageSmallHeight

const TInt KMmsImageLargeWidth

const TInt KMmsImageLargeWidth

const TInt KMmsImageLargeHeight

const TInt KMmsImageLargeHeight

const TInt KMmsImageOriginalWidth

const TInt KMmsImageOriginalWidth

const TInt KMmsImageOriginalHeight

const TInt KMmsImageOriginalHeight

const TInt KMmsIndexEntryExtra

const TInt KMmsIndexEntryExtra

const TInt KMmsDiskSafetyMargin

const TInt KMmsDiskSafetyMargin

const TUid KUidMmsServerMtm

const TUid KUidMmsServerMtm

const TUid KUidMmsClientMtm

const TUid KUidMmsClientMtm

const TUid KUidMmsClientUIMtm

const TUid KUidMmsClientUIMtm

const TUid KUidMmsClientUIDataMtm

const TUid KUidMmsClientUIDataMtm

const TInt KUidMsgMmsEditor

const TInt KUidMsgMmsEditor

const TInt KUidMsgMmsViewer

const TInt KUidMsgMmsViewer

const TUid KUidMsgTypeMultimedia

const TUid KUidMsgTypeMultimedia

const TUid KUidMsvTechnologyGroupMMS

const TUid KUidMsvTechnologyGroupMMS

const TUid KUidMsgMMSNotification

const TUid KUidMsgMMSNotification

const TUid KUidMsgSubTypeMmsUpload

const TUid KUidMsgSubTypeMmsUpload

const TUid KUidMsgSubTypeMmsPostcard

const TUid KUidMsgSubTypeMmsPostcard

const TUid KUidMsgSubTypeMmsAudioMsg

const TUid KUidMsgSubTypeMmsAudioMsg

const TUid KUidMmsHeaderStream

const TUid KUidMmsHeaderStream

const TUid KUidMmsRecipientStream

const TUid KUidMmsRecipientStream

const TUid KUidBinaryNotificationStream

const TUid KUidBinaryNotificationStream

const TUid KUidMMsElementDescriptorStream

const TUid KUidMMsElementDescriptorStream

const TUid KUidMMsMMBoxMessageHeaderStream

const TUid KUidMMsMMBoxMessageHeaderStream

const TUid KUidMMsMMBoxViewHeadersStream

const TUid KUidMMsMMBoxViewHeadersStream

const TUid KUidMMsExtendedNotificationStream

const TUid KUidMMsExtendedNotificationStream

const TUid KUidMmsAttributeStream

const TUid KUidMmsAttributeStream

const TUid KUidMmsApplicationInfoStream

const TUid KUidMmsApplicationInfoStream

const TUid KUidMmsReserved

const TUid KUidMmsReserved

const TUid KLogMmsEventTypeUid

const TUid KLogMmsEventTypeUid

const TUint32 KMmsMessageTypeMask

const TUint32 KMmsMessageTypeMask

const TUint32 KMmsMessageMSendReq

const TUint32 KMmsMessageMSendReq

const TUint32 KMmsMessageMNotificationInd

const TUint32 KMmsMessageMNotificationInd

const TUint32 KMmsMessageMRetrieveConf

const TUint32 KMmsMessageMRetrieveConf

const TUint32 KMmsMessageDeliveryInd

const TUint32 KMmsMessageDeliveryInd

const TUint32 KMmsMessageReadRecInd

const TUint32 KMmsMessageReadRecInd

const TUint32 KMmsMessageReadOrigInd

const TUint32 KMmsMessageReadOrigInd

const TUint32 KMmsMessageForwardReq

const TUint32 KMmsMessageForwardReq

const TUint32 KMmsMessageUnrecognized

const TUint32 KMmsMessageUnrecognized

const TUint32 KMmsMessageEncrypted

const TUint32 KMmsMessageEncrypted

const TUint32 KMmsMessageSigned

const TUint32 KMmsMessageSigned

const TUint32 KMmsMessageForwarded

const TUint32 KMmsMessageForwarded

const TUint32 KMmsMessageMobileTerminated

const TUint32 KMmsMessageMobileTerminated

const TUint32 KMmsMessageEditorOriented

const TUint32 KMmsMessageEditorOriented

const TUint32 KMmsAttributeStreamPresent

const TUint32 KMmsAttributeStreamPresent

const TUint32 KMmsMessageClassMask

const TUint32 KMmsMessageClassMask

const TUint32 KMmsMessageAdvertisement

const TUint32 KMmsMessageAdvertisement

const TUint32 KMmsMessageInformational

const TUint32 KMmsMessageInformational

const TUint32 KMmsReservedMtmData1

const TUint32 KMmsReservedMtmData1

const TUint32 KMmsNonConformantMessage

const TUint32 KMmsNonConformantMessage

const TUint32 EMmsDrmCorruptedAttachment

const TUint32 EMmsDrmCorruptedAttachment

const TUint32 KMmsSpecialContentMask

const TUint32 KMmsSpecialContentMask

const TUint32 KMmsPostcard

const TUint32 KMmsPostcard

const TUint32 KMmsUpload

const TUint32 KMmsUpload

const TUint32 KMmsNotifyResponseSent

const TUint32 KMmsNotifyResponseSent

const TUint32 KMmsNotificationBinary

const TUint32 KMmsNotificationBinary

const TUint32 KMmsMessageExpired

const TUint32 KMmsMessageExpired

const TUint32 KMmsDeleteAtExpiration

const TUint32 KMmsDeleteAtExpiration

const TUint32 KMmsOperationIdentifier

const TUint32 KMmsOperationIdentifier

const TUint32 KMmsOperationFetch

const TUint32 KMmsOperationFetch

const TUint32 KMmsOperationForward

const TUint32 KMmsOperationForward

const TUint32 KMmsOperationDelete

const TUint32 KMmsOperationDelete

const TUint32 KMmsNewOperationForbidden

const TUint32 KMmsNewOperationForbidden

const TUint32 KMmsOperationOngoing

const TUint32 KMmsOperationOngoing

const TUint32 KMmsOperationFinished

const TUint32 KMmsOperationFinished

const TUint32 KMmsOperationResult

const TUint32 KMmsOperationResult

const TUint32 KMmsStoredInMMBox

const TUint32 KMmsStoredInMMBox

const TUint32 KMmsDeferredButResponseNotSent

const TUint32 KMmsDeferredButResponseNotSent

const TUint32 KMmsDoNotMoveToInbox

const TUint32 KMmsDoNotMoveToInbox

const TUint32 KMmsMessageRoutedToApplication

const TUint32 KMmsMessageRoutedToApplication

const TUint32 KMmsReservedMtmData2

const TUint32 KMmsReservedMtmData2

const TUint32 KMmsDeliveryStatusMask

const TUint32 KMmsDeliveryStatusMask

const TUint32 KMmsDeliveryStatusNotRequested

const TUint32 KMmsDeliveryStatusNotRequested

const TUint32 KMmsDeliveryStatusPending

const TUint32 KMmsDeliveryStatusPending

const TUint32 KMmsDeliveryStatusPartial

const TUint32 KMmsDeliveryStatusPartial

const TUint32 KMmsDeliveryStatysFailed

const TUint32 KMmsDeliveryStatysFailed

const TUint32 KMmsDeliveryStatysDelivered

const TUint32 KMmsDeliveryStatysDelivered

const TUint32 KMmsReservedForUI

const TUint32 KMmsReservedForUI

const TUint32 KMmsRetryCountMask

const TUint32 KMmsRetryCountMask

const TUint32 KMmsManualRetryCountMask

const TUint32 KMmsManualRetryCountMask

const TInt KMmsManualRetryCountShift

const TInt KMmsManualRetryCountShift

const TUint32 KMmsSentItemTotalRecipientsMask

const TUint32 KMmsSentItemTotalRecipientsMask

const TInt KMmsSentItemTotalRecipientsShift

const TInt KMmsSentItemTotalRecipientsShift

const TUint32 KMmsSentItemSuccessfullyDeliveredMask

const TUint32 KMmsSentItemSuccessfullyDeliveredMask

const TInt KMmsSentItemSuccessfullyDeliveredShift

const TInt KMmsSentItemSuccessfullyDeliveredShift

const TUint32 KMmsSentItemFailedDeliveryMask

const TUint32 KMmsSentItemFailedDeliveryMask

const TInt KMmsSentItemFailedDeliveryShift

const TInt KMmsSentItemFailedDeliveryShift

const TUint16 KMmsByteOrderMark

const TUint16 KMmsByteOrderMark

const TUint16 KMmsReversedByteOrderMark

const TUint16 KMmsReversedByteOrderMark

const TInt KMmsMaxDescription

const TInt KMmsMaxDescription

const TInt8 KUidMmsWSPMultiPartMixed

const TInt8 KUidMmsWSPMultiPartMixed

const TInt8 KUidMmsWSPMultiPartRelated

const TInt8 KUidMmsWSPMultiPartRelated

const TUint8 KMmsMessageClassPersonal

const TUint8 KMmsMessageClassPersonal

const TUint8 KMmsMessageClassAdvertisement

const TUint8 KMmsMessageClassAdvertisement

const TUint8 KMmsMessageClassInformational

const TUint8 KMmsMessageClassInformational

const TUint8 KMmsMessageClassAuto

const TUint8 KMmsMessageClassAuto

const TUint8 KMmsMessageTypeMSendReq

const TUint8 KMmsMessageTypeMSendReq

const TUint8 KMmsMessageTypeMSendConf

const TUint8 KMmsMessageTypeMSendConf

const TUint8 KMmsMessageTypeMNotificationInd

const TUint8 KMmsMessageTypeMNotificationInd

const TUint8 KMmsMessageTypeMNotifyRespInd

const TUint8 KMmsMessageTypeMNotifyRespInd

const TUint8 KMmsMessageTypeMRetrieveConf

const TUint8 KMmsMessageTypeMRetrieveConf

const TUint8 KMmsMessageTypeAcknowledgeInd

const TUint8 KMmsMessageTypeAcknowledgeInd

const TUint8 KMmsMessageTypeDeliveryInd

const TUint8 KMmsMessageTypeDeliveryInd

const TUint8 KMmsMessageTypeReadRecInd

const TUint8 KMmsMessageTypeReadRecInd

const TUint8 KMmsMessageTypeReadOrigInd

const TUint8 KMmsMessageTypeReadOrigInd

const TUint8 KMmsMessageTypeForwardReq

const TUint8 KMmsMessageTypeForwardReq

const TUint8 KMmsMessageTypeForwardConf

const TUint8 KMmsMessageTypeForwardConf

const TUint8 KMmsMessageTypeMboxStoreReq

const TUint8 KMmsMessageTypeMboxStoreReq

const TUint8 KMmsMessageTypeMboxStoreConf

const TUint8 KMmsMessageTypeMboxStoreConf

const TUint8 KMmsMessageTypeMboxViewReq

const TUint8 KMmsMessageTypeMboxViewReq

const TUint8 KMmsMessageTypeMboxViewConf

const TUint8 KMmsMessageTypeMboxViewConf

const TUint8 KMmsMessageTypeMBoxUploadReq

const TUint8 KMmsMessageTypeMBoxUploadReq

const TUint8 KMmsMessageTypeMBoxUploadConf

const TUint8 KMmsMessageTypeMBoxUploadConf

const TUint8 KMmsMessageTypeMBoxDeleteReq

const TUint8 KMmsMessageTypeMBoxDeleteReq

const TUint8 KMmsMessageTypeMBoxDeleteConf

const TUint8 KMmsMessageTypeMBoxDeleteConf

const TUint8 KMmsMessageTypeMBoxDescr

const TUint8 KMmsMessageTypeMBoxDescr

const TUint8 KMmsMessageTypeDeleteReq

const TUint8 KMmsMessageTypeDeleteReq

const TUint8 KMmsMessageTypeDeleteConf

const TUint8 KMmsMessageTypeDeleteConf

const TUint8 KMmsMessageTypeCancelReq

const TUint8 KMmsMessageTypeCancelReq

const TUint8 KMmsMessageTypeCancelConf

const TUint8 KMmsMessageTypeCancelConf

const TUint8 KMmsPriorityLow

const TUint8 KMmsPriorityLow

const TUint8 KMmsPriorityNormal

const TUint8 KMmsPriorityNormal

const TUint8 KMmsPriorityHigh

const TUint8 KMmsPriorityHigh

const TUint8 KMmsYes

const TUint8 KMmsYes

const TUint8 KMmsNo

const TUint8 KMmsNo

const TUint8 KMmsSenderHide

const TUint8 KMmsSenderHide

const TUint8 KMmsSenderShow

const TUint8 KMmsSenderShow

const TUint8 KMmsMessageStatusExpired

const TUint8 KMmsMessageStatusExpired

const TUint8 KMmsMessageStatusRetrieved

const TUint8 KMmsMessageStatusRetrieved

const TUint8 KMmsMessageStatusRejected

const TUint8 KMmsMessageStatusRejected

const TUint8 KMmsMessageStatusDeferred

const TUint8 KMmsMessageStatusDeferred

const TUint8 KMmsMessageStatusUnrecognized

const TUint8 KMmsMessageStatusUnrecognized

const TUint8 KMmsMessageStatusIndeterminate

const TUint8 KMmsMessageStatusIndeterminate

const TUint8 KMmsMessageStatusForwarded

const TUint8 KMmsMessageStatusForwarded

const TUint8 KMmsMessageStatusUnreachable

const TUint8 KMmsMessageStatusUnreachable

const TUint8 KMmsReadStatusRead

const TUint8 KMmsReadStatusRead

const TUint8 KMmsReadStatusDeletedWithoutBeingRead

const TUint8 KMmsReadStatusDeletedWithoutBeingRead

const TUint8 KMmsReplyChargingRequested

const TUint8 KMmsReplyChargingRequested

const TUint8 KMmsReplyChargingRequestedTextOnly

const TUint8 KMmsReplyChargingRequestedTextOnly

const TUint8 KMmsReplyChargingAccepted

const TUint8 KMmsReplyChargingAccepted

const TUint8 KMmsReplyChargingAcceptedTextOnly

const TUint8 KMmsReplyChargingAcceptedTextOnly

const TUint8 KMmsMessageCountToken

const TUint8 KMmsMessageCountToken

const TUint8 KMmsMessageSizeToken

const TUint8 KMmsMessageSizeToken

const TUint8 KMmsAddToken

const TUint8 KMmsAddToken

const TUint8 KMmsRemoveToken

const TUint8 KMmsRemoveToken

const TUint8 KMmsFilterToken

const TUint8 KMmsFilterToken

const TUint8 KMmsDraft

const TUint8 KMmsDraft

const TUint8 KMmsSent

const TUint8 KMmsSent

const TUint8 KMmsNew

const TUint8 KMmsNew

const TUint8 KMmsRetrieved

const TUint8 KMmsRetrieved

const TUint8 KMmsForwarded

const TUint8 KMmsForwarded

const TInt KMmsResponseStatusOK

const TInt KMmsResponseStatusOK

const TUint8 KMmsCancelRequestSuccessfullyReceived

const TUint8 KMmsCancelRequestSuccessfullyReceived

const TUint8 KMmsCancelRequestCorrupted

const TUint8 KMmsCancelRequestCorrupted

const TUint8 KMmsContentClassText

const TUint8 KMmsContentClassText

const TUint8 KMmsContentClassImageBasic

const TUint8 KMmsContentClassImageBasic

const TUint8 KMmsContentClassImageRich

const TUint8 KMmsContentClassImageRich

const TUint8 KMmsContentClassVideoBasic

const TUint8 KMmsContentClassVideoBasic

const TUint8 KMmsContentClassVideoRich

const TUint8 KMmsContentClassVideoRich

const TUint8 KMmsContentClassMegaPixel

const TUint8 KMmsContentClassMegaPixel

const TUint8 KMmsContentClassContentBasic

const TUint8 KMmsContentClassContentBasic

const TUint8 KMmsContentClassContentRich

const TUint8 KMmsContentClassContentRich

const TUint8 KMmsRecommendedRetrievalModeManual

const TUint8 KMmsRecommendedRetrievalModeManual

const TLitC8< sizeof("**")-1,"*class CMmsClientMtm :public CBaseMtm { public: IMPORT_C static CMmsClientMtm* NewL( CRegisteredMtmDll& aRegisteredMtmDll, CMsvSession& aSession ); virtual ~CMmsClientMtm(); public: virtual CMsvOperation* CreateNewEntryL( TMsvId aDestination, TRequestStatus& aCompletionStatus); virtual void CreateServiceL(); virtual const CMmsSettings& MmsSettings(); virtual void SetSettingsL( const CMmsSettings& aSettings ); virtual void StoreSettingsL(); virtual void RestoreSettingsL(); virtual void RestoreFactorySettingsL( TMmsFactorySettingsLevel aLevel = EMmsFactorySettingsLevelNormal ); virtual TInt ValidateService( TMsvId aServiceId ); virtual void SetSenderL( const TDesC& aAlias ); virtual const TPtrC Sender() const; virtual void SetMessageClass( TMmsMessageClass aMessageClass ); virtual TInt MessageClass() const; virtual void SetExpiryInterval( TTimeIntervalSeconds aInterval ); virtual TTimeIntervalSeconds ExpiryInterval() const; virtual void SetExpiryDate( TTime aDate ); virtual TTime ExpiryDate() const; virtual void SetDeliveryTimeInterval( TTimeIntervalSeconds aInterval ); virtual TTimeIntervalSeconds DeliveryTimeInterval() const; virtual void SetDeliveryDate( TTime aDate ); virtual TTime DeliveryDate() const; virtual void SetMessagePriority( TMmsMessagePriority aPriority ); virtual TInt MessagePriority() const; virtual void SetSenderVisibility( TMmsMessageSenderVisibility aVisibility ); virtual TInt SenderVisibility() const; virtual void SetDeliveryReport( TMmsYesNo aRequest ); virtual TInt DeliveryReport() const; virtual void SetReadReply( TMmsYesNo aRequest ); virtual TInt ReadReply() const; virtual TTime SendingDate() const; virtual TPtrC ResponseText() const; virtual TInt ResponseStatus() const; virtual TInt NumberOfPreviousSenders() const; virtual TPtrC PreviousSender( TInt aSequenceNumber ) const; virtual TTime PreviousSendingDate( TInt aSequenceNumber ) const; virtual TTime MessageReceiveTime() const; virtual TInt MessageTransferSize() const; virtual TPtrC8 MessageContentLocation() const; virtual void SetMessageRootL( const TMsvAttachmentId aId ); virtual TMsvAttachmentId MessageRootAttachment() const; virtual void SetMaximumImage( TInt aWidth, TInt aHeight ); virtual void GetMaximumImage( TInt& aWidth, TInt& aHeight ) const; virtual TInt32 MessageSize(); virtual void SetMessageDescriptionL( const TDesC& aText ); virtual void AddAttributeL( const TDesC& aName, const TDesC& aValue ); virtual TPtrC GetAttributeL( const TDesC& aName ); virtual TBool FindAttribute( const TDesC& aName ); virtual void DeleteAttribute( const TDesC& aName ); virtual void ResetAttributes(); virtual void CreateAttachment2L( CMsvStore& aStore, RFile& aFile, TDesC8& aMimeType, CMsvMimeHeaders& aMimeHeaders, CMsvAttachment* aAttachmentInfo, TMsvAttachmentId& aAttaId); virtual void CreateTextAttachmentL( CMsvStore& aStore, TMsvAttachmentId& aAttachmentId, const TDesC& aText, const TDesC& aFile, TBool aConvertParagraphSeparator = ETrue ); virtual CMsvOperation* SendL( TRequestStatus& aCompletionStatus, const TTime aSendingTime = TTime( 0 ) ); virtual CMsvOperation* SendL( CMsvEntrySelection& aSelection, TRequestStatus& aCompletionStatus, TTime aSendingTime = TTime( 0 ) ); virtual CMsvOperation* FetchAllL( TRequestStatus& aCompletionStatus, TBool aForced = ETrue ); virtual CMsvOperation* SendReadReportL( TMsvId aReadMessageId, TRequestStatus& aCompletionStatus, TMmsReadStatus aReadStatus = EMmsReadStatusRead ); public: inline TUid Type() const; inline void SetCurrentEntryL( CMsvEntry* aEntry ); inline void SwitchCurrentEntryL( TMsvId aId ); inline CMsvEntry& Entry() const; inline TBool HasContext() const; void SaveMessageL(); void LoadMessageL(); TMsvPartList ValidateMessage( TMsvPartList aPartList ); TMsvPartList Find( const TDesC& aTextToFind, TMsvPartList aPartList ); CMsvOperation* ReplyL( TMsvId aDestination, TMsvPartList aPartlist, TRequestStatus& aCompletionStatus ); CMsvOperation* ForwardL( TMsvId aDestination, TMsvPartList aPartList, TRequestStatus& aCompletionStatus ); void AddAddresseeL( const TDesC& aRealAddress ); void AddAddresseeL( const TDesC& aRealAddress, const TDesC& aAlias ); virtual void AddAddresseeL( TMsvRecipientType aType, const TDesC& aRealAddress); virtual void AddAddresseeL( TMsvRecipientType aType, const TDesC& aRealAddress, const TDesC& aAlias); void RemoveAddressee( TInt aIndex ); inline CRichText& Body(); inline const CRichText& Body() const; void SetSubjectL( const TDesC& aSubject ); const TPtrC SubjectL() const; TInt QueryCapability( TUid aCapability, TInt& aResponse ); void InvokeSyncFunctionL( TInt aFunctionId, const CMsvEntrySelection& aSelection, TDes8& aParameter ); CMsvOperation* InvokeAsyncFunctionL( TInt aFunctionId, const CMsvEntrySelection& aSelection, TDes8& aParameter, TRequestStatus& aCompletionStatus ); inline CMsvSession& Session(); void AddAttachmentL( const TDesC& aFilePath, const TDesC8& aMimeType, TUint aCharset, TRequestStatus& aStatus ); void AddAttachmentL( RFile& aFile, const TDesC8& aMimeType, TUint aCharset, TRequestStatus& aStatus ); void AddLinkedAttachmentL( const TDesC& aFilePath, const TDesC8& aMimeType, TUint aCharset, TRequestStatus& aStatus ); void AddEntryAsAttachmentL( TMsvId aAttachmentId, TRequestStatus& aStatus ); void CreateAttachmentL( const TDesC& aFileName, RFile& aAttachmentFile, const TDesC8& aMimeType, TUint aCharset, TRequestStatus& aStatus); void CancelAttachmentOperation(); void CreateMessageL( TMsvId aServiceId ); void BioTypeChangedL( TUid aBioTypeUid ); TMsvId DefaultServiceL() const; void RemoveDefaultServiceL(); void ChangeDefaultServiceL(const TMsvId& aService); protected: CMsvEntrySelection* ListNotificationsInInboxL(); protected: void ContextEntrySwitched(); void HandleEntryEventL( TMsvEntryEvent aEvent, TAny* arg1, TAny* arg2, TAny* arg3 ); CMmsClientMtm( CRegisteredMtmDll& aRegisteredMtmDll, CMsvSession& aSession ); void ConstructL(); private: void BuildAddresseeListL(); void BuildAddresseeListL( const CDesCArray& aArray, TMsvRecipientType aValue); TInt32 AttachmentsSizeL(); CMsvEntrySelection* ListMmsFolderNotificationsL(); CMsvEntrySelection* ListInboxNotificationsL(); CMsvOperation* FetchAllFromInboxL( TRequestStatus& aCompletionStatus, TBool aForced = ETrue ); TBool FindInRecipientL( const TDesC& aTextToFind, TMsvPartList aPartlist, const CDesCArray& aRecipients, CMsvFindText& aFindText ); void AddFilePathAttachmentL(const TDesC& aFilePath, const TDesC8& aMimeType, CMsvAttachment::TMsvAttachmentType aType, TRequestStatus& aStatus, const TUint aCharacterSet = 0 ); void StoreAttributesL( CMsvStore& aStore ); void RestoreAttributesL( CMsvStore& aStore ); TUint GetUnicodeCharacterSet( TDesC8& aSample ); void ReadBytesFromFileL( const RFile aFile, TDes8& aSample ); TUint RecognizeCharSetL( RFile& aFile ); public: protected: CMmsSettings* iMmsSettings; CMmsHeaders* iMmsHeaders; TMsvId iServiceId; TBool iFetchAll; TBool iFetchOverride; TInt iMessageDrive; TInt32 iHomeMode; TInt32 iRoamingMode; TInt iAccessPointCount; CDesCArrayFlat* iAttributes; CMsvSession& iOwnSession; private: CMmsAttachmentWaiter* iAttaWaiter; public: protected: private: };GLREF_C void gPanic( TMmsPanic aPanic );# 1 "X:/epoc32/include/app/mmsclient.inl" 1inline TUid CMmsClientMtm::Type() const { return CBaseMtm::Type(); }inline CMsvSession& CMmsClientMtm::Session() { return CBaseMtm::Session(); }inline void CMmsClientMtm::SetCurrentEntryL( CMsvEntry * aEntry ) { CBaseMtm::SetCurrentEntryL( aEntry ); }inline void CMmsClientMtm::SwitchCurrentEntryL( TMsvId aId ) { CBaseMtm::SwitchCurrentEntryL( aId ); }inline CMsvEntry& CMmsClientMtm::Entry() const { return CBaseMtm::Entry(); }inline TBool CMmsClientMtm::HasContext() const { return CBaseMtm::HasContext(); }inline CRichText& CMmsClientMtm::Body() { return CBaseMtm::Body(); }inline const CRichText& CMmsClientMtm::Body() const { return CBaseMtm::Body(); }# 1898 "X:/epoc32/include/app/mmsclient.h" 2# 27 "X:/sf/app/messaging/inc/mmsnotificationclient.h" 2typedef struct { TInt mmboxTotalInBytes; TInt mmboxTotalInMessageCount; TInt mmboxQuotaInBytes; TInt mmboxQuotaInMessageCount; TTime date; TInt error; }TMmboxInfo;class CMmsNotificationClientMtm : public CMmsClientMtm { public: IMPORT_C static CMmsNotificationClientMtm* NewL( CRegisteredMtmDll& aRegisteredMtmDll, CMsvSession& aSession ); ~CMmsNotificationClientMtm(); public: virtual CMsvOperation* SendL( TRequestStatus& aCompletionStatus, const TTime aSendingTime = TTime( 0 ) ); virtual const TPtrC GetExtendedText() const; virtual CMsvEntrySelection* ListNotificationsL(); virtual CMsvOperation* DeleteNotificationL( const CMsvEntrySelection& aSelection, TMmsDeleteOperationType aDeleteType, TRequestStatus& aCompletionStatus ); virtual CMsvOperation* UnscheduledDeleteNotificationL( const CMsvEntrySelection& aSelection, TMmsDeleteOperationType aDeleteType, TRequestStatus& aCompletionStatus ); virtual CMsvOperation* DeleteAllNotificationsL( TMmsDeleteOperationType aDeleteType, TRequestStatus& aCompletionStatus ); virtual void DeleteForwardEntryL( const CMsvEntrySelection& aSelection ); virtual CMsvOperation* FetchMessagesL( const CMsvEntrySelection& aSelection, TRequestStatus& aCompletionStatus ); virtual TBool MmboxInfoL( TMmboxInfo& aMmboxInfo ); virtual CMsvOperation* UpdateMmBoxListL( TRequestStatus& aCompletionStatus ); virtual TMsvId GetMmboxFolderL(); virtual TInt NotificationCount(); virtual const TPtrC GetApplicationId() const; public: virtual CMsvOperation* ForwardL( TMsvId aDestination, TMsvPartList aPartList, TRequestStatus& aCompletionStatus ); virtual CMsvOperation* SendL( CMsvEntrySelection& aSelection, TRequestStatus& aCompletionStatus, TTime aSendingTime ); virtual CMsvOperation* FetchMessageL( TMsvId aId, TRequestStatus& aCompletionStatus ); virtual CMsvOperation* FetchAllL( TRequestStatus& aCompletionStatus, TBool aForced = ETrue ); virtual TInt QueryCapability( TUid aCapability, TInt& aResponse ); protected: protected: private: CMmsNotificationClientMtm( CRegisteredMtmDll& aRegisteredMtmDll, CMsvSession& aSession ); void ConstructL(); TMsvId CreateForwardEntryL( const TMsvId aDestination ); TInt ReserveNotificationOperationL( const TMsvId aNotifIf, const TUint32 aOperation ); void MarkFreeNotificationsReservedL( CMsvEntrySelection& aNotifications, const TUint32 aOperation ); TBool FreeNotification( TMsvEntry& aEntry, const TUint32 aOperation ); void MarkNotificationOperationReserved( TMsvEntry& aEntry, const TUint32 aOperation ); void FindDuplicateNotificationL( TMsvId aParent, CMmsHeaders& aHeaders, TMsvId& aDuplicate); public: protected: private: public: protected: private: }; # 26 "X:/sf/app/messaging/mobilemessaging/mmsui/notviewerinc/NotViewerDocument.h" 2# 1 "X:/sf/app/messaging/mobilemessaging/mmsui/notmtminc/NotMtmUi.h" 1#define NOTMTMUI_H# 1 "X:/epoc32/include/mw/AknWaitDialog.h" 1#define __AKN_WAIT_DIALOG__# 1 "X:/epoc32/include/mw/AknProgressDialog.h" 1#define __AKN_PROGRESS_DIALOG__# 1 "X:/epoc32/include/mw/aknnotedialog.h" 1#define __AKNNOTEDIALOG__# 1 "X:/epoc32/include/mw/eikdialg.h" 1#define __EIKDIALG_H__# 1 "X:/epoc32/include/mw/coecobs.h" 1#define __COECOBS_H__# 1 "X:/epoc32/include/mw/coemop.h" 1#define __COEMOP_H__#define DECLARE_TYPE_ID(id) class TTypeUid : public TUid {public: class Ptr { friend class TTypeUid; private: explicit inline Ptr(TAny* aPtr) : iPtr(aPtr) {} public: inline TAny* Pointer() const {return iPtr;} private: TAny* iPtr; };public: inline TTypeUid(TInt aUid) { iUid = aUid; } inline static Ptr Null() { return Ptr(NULL); } template <class T> inline Ptr MakePtr(T* aT) const { ; return Ptr(aT); } };class MObjectProvider {public: template<class T> T* MopGetObject(T*& aPtr) { return (aPtr=(T*)MopGetById(T::ETypeId)); } template<class T> T* MopGetObjectNoChaining(T*& aPtr) { return (aPtr=(T*)MopGetByIdNoChaining(T::ETypeId)); } MObjectProvider* FindParent(MObjectProvider* aMopToFind); private: virtual TTypeUid::Ptr MopSupplyObject(TTypeUid aId) = 0;protected: IMPORT_C MObjectProvider();private: IMPORT_C virtual MObjectProvider* MopNext(); IMPORT_C virtual void MObjectProvider_Reserved1(); IMPORT_C virtual void MObjectProvider_Reserved2();private: IMPORT_C TAny* MopGetById(TTypeUid aId); IMPORT_C TAny* MopGetByIdNoChaining(TTypeUid aId); private: TInt iMObjectProvider_Reserved1; };# 20 "X:/epoc32/include/mw/coecobs.h" 2class CCoeControl;class MCoeControlObserver {public: enum TCoeEvent { EEventRequestExit, EEventRequestCancel, EEventRequestFocus, EEventPrepareFocusTransition, EEventStateChanged, EEventInteractionRefused };public: virtual void HandleControlEventL(CCoeControl* aControl,TCoeEvent aEventType)=0;protected: IMPORT_C MCoeControlObserver(); private: IMPORT_C virtual void MCoeControlObserver_Reserved1(); IMPORT_C virtual void MCoeControlObserver_Reserved2(); private: TInt iMCoeControlObserver_Reserved1; };class MCoeControlStateObserver { friend class CCoeControl;public: enum { ETypeId = 0x10285A45 }; enum TCoeState { EStateDimmed, EStateVisibility };private: virtual TInt HandleControlStateChange(CCoeControl* aControl,TCoeState aState)=0; };# 23 "X:/epoc32/include/mw/eikdialg.h" 2# 1 "X:/epoc32/include/mw/coeccntx.h" 1#define __COECCNTX_H__# 1 "X:/epoc32/include/w32std.h" 1#define __W32STD_H__# 1 "X:/epoc32/include/fntstore.h" 1#define FNTSTORE_H__# 1 "X:/epoc32/include/openfont.h" 1#define __OPENFONT_H__# 1 "X:/epoc32/include/ecom/ecom.h" 1#define __ECOM_H__# 1 "X:/epoc32/include/ecom/ecomerrorcodes.h" 1#define __ECOMERRORCODES_H__# 1 "X:/epoc32/include/platform/ecom/ecomextendedinterfaceerrorcodes.h" 1#define __ECOMEXTENDEDINTERFACEERRORCODES_H__const TInt KEComErrNoExtendedInterfaceReleaseFunction = -17031;const TInt KEComErrNoExtendedInterfaceReleaseObject = -17032;# 29 "X:/epoc32/include/ecom/ecomerrorcodes.h" 2const TInt KEComErrBase = -17000;const TInt KEComErrLast = -17033;const TInt KEComErrNoInterfaceIdentified = -17004;const TInt KEComErrNoResolver = -17014;const TInt KEComErrTooManyNotificationsOutstanding = -17026;const TInt KEComErrMissingParameter = -17028;const TInt KEComErrListInvalidAwaitNotification = -17029;const TInt KEComErrListCurrentlyUnavailable = -17030;const TInt KEComErrUnknownService = -17002;const TInt KEComErrReferenceCountInvalid = -17013;const TInt KEComErrDestructionFailed = -17017;const TInt KEComErrMismatchedTags = -17023;const TInt KEComErrNotFoundScanTimer = -17033;const TInt KEComErrDestroyingWithNullDtorKey = -17027;const TInt KEComErrEnableFailed = -17005;const TInt KEComErrDisableFailed = -17006;const TInt KEComErrNoRegistrationsFound = -17007;const TInt KEComErrUninstallFailed = -17009;const TInt KEComErrReinstallFailed = -17010;const TInt KEComErrRegistrationFailed = -17011;const TInt KEComErrNotConnected = -17012;const TInt KEComErrSuspendFailed = -17015;const TInt KEComErrResumeFailed = -17016;const TInt KEComErrDriveAlreadyInstalled = -17018;const TInt KEComErrNoRegistrationData = -17021;# 35 "X:/epoc32/include/ecom/ecom.h" 2# 1 "X:/epoc32/include/ecom/ecomresolverparams.h" 1#define __ECOMRESOLVERPARAMS_H__class TEComResolverParams {public: inline TEComResolverParams(); inline const TDesC8& DataType() const; inline void SetDataType(const TDesC8& aDataType); inline TBool IsGenericMatch() const; inline void SetGenericMatch(TBool aGenericMatch); inline TBool IsWildcardMatch() const; inline void SetWildcardMatch(TBool aWildcardMatch);private: TPtrC8 iDataType; TBool iGenericMatch; };# 1 "X:/epoc32/include/ecom/ecomresolverparams.inl" 1TEComResolverParams::TEComResolverParams(): iDataType(NULL,0), iGenericMatch(EFalse) { }const TDesC8& TEComResolverParams::DataType() const { return iDataType; }void TEComResolverParams::SetDataType(const TDesC8& aDataType) { iDataType.Set(aDataType); }TBool TEComResolverParams::IsGenericMatch() const { return iGenericMatch; }void TEComResolverParams::SetGenericMatch(TBool aGenericMatch) { iGenericMatch=aGenericMatch; } TBool TEComResolverParams::IsWildcardMatch() const { return iGenericMatch; }void TEComResolverParams::SetWildcardMatch(TBool aWildcardMatch) { iGenericMatch=aWildcardMatch; }# 68 "X:/epoc32/include/ecom/ecomresolverparams.h" 2# 36 "X:/epoc32/include/ecom/ecom.h" 2# 1 "X:/epoc32/include/ecom/implementationinformation.h" 1#define __IMPLEMENTATIONINFORMATION_H__typedef RArray<TUid> RExtendedInterfacesArray;class CImplementationInformation : public CBase {public: static CImplementationInformation* NewLC(TBool aClientSide, RReadStream& aStream); static CImplementationInformation* NewL(TUid aUid, TInt aVersion, HBufC* aName, HBufC8* aDataType, HBufC8* aOpaqueData, TDriveUnit aDrive, TBool aRomOnly, TBool aRomBased); static CImplementationInformation* NewL(TUid aUid, TInt aVersion, HBufC* aName, HBufC8* aDataType, HBufC8* aOpaqueData, TDriveUnit aDrive, TBool aRomOnly, TBool aRomBased, RExtendedInterfacesArray* aExtendedInterfaces); ~CImplementationInformation();public: inline const TDesC& DisplayName() const; inline const TDesC8& DataType() const; inline const TDesC8& OpaqueData() const; inline TUid ImplementationUid() const; inline TInt Version() const; inline TDriveUnit Drive() const; inline TBool RomOnly() const; inline TBool RomBased() const; inline TVendorId VendorId() const; inline TBool Disabled() const; inline void SetDisabled(TBool aDisabled); IMPORT_C void GetExtendedInterfaceListL(RExtendedInterfacesArray& aList);public: void ExternalizeL(TBool aClientSide,RWriteStream& aStream) const; void InternalizeL(TBool aClientSide,RReadStream& aStream); void SetRomBased(TBool aRomBased); void SetDrive(TDriveUnit aDrive); inline void SetVendorId(const TVendorId aVid); void AddExtendedInterfaceL(const TUid& aExtendedInterface); RExtendedInterfacesArray* GetExtendedInterfaceList(); private: CImplementationInformation(); CImplementationInformation(TUid aUid, TInt aVersion, HBufC* aName, HBufC8* aDataType, HBufC8* aOpaqueData, TDriveUnit aDrive, TBool aRomOnly, TBool aRomBased); CImplementationInformation(TUid aUid, TInt aVersion, HBufC* aName, HBufC8* aDataType, HBufC8* aOpaqueData, TDriveUnit aDrive, TBool aRomOnly, TBool aRomBased, RExtendedInterfacesArray* aExtendedInterfaces); private: TUid iImplementationUid; TInt iVersion; HBufC* iDisplayName; HBufC8* iData; HBufC8* iOpaqueData; TBool iDisabled; TDriveUnit iDrive; TBool iRomOnly; TBool iRomBased; TVendorId iVid; RExtendedInterfacesArray* iExtendedInterfaceList; }; typedef RArray<CImplementationInformation*> RImplInfoArray;typedef RPointerArray<CImplementationInformation> RImplInfoPtrArray;# 1 "X:/epoc32/include/ecom/implementationinformation.inl" 1const TDesC& CImplementationInformation::DisplayName() const { if(iDisplayName == NULL) return KNullDesC(); else return *iDisplayName; }const TDesC8& CImplementationInformation::DataType() const { if(iData == NULL) return KNullDesC8(); else return *iData; }const TDesC8& CImplementationInformation::OpaqueData() const { if(iOpaqueData == NULL) return KNullDesC8(); else return *iOpaqueData; }TUid CImplementationInformation::ImplementationUid() const { return iImplementationUid; }TInt CImplementationInformation::Version() const { return iVersion; }TBool CImplementationInformation::Disabled() const { return iDisabled; }void CImplementationInformation::SetDisabled(TBool aDisabled) { iDisabled = aDisabled; }TDriveUnit CImplementationInformation::Drive() const { return iDrive; }TBool CImplementationInformation::RomOnly() const { return iRomOnly; }TBool CImplementationInformation::RomBased() const { return iRomBased; }TVendorId CImplementationInformation::VendorId() const { return iVid; } void CImplementationInformation::SetVendorId(const TVendorId aVid) { iVid = aVid; }inline TInt CompareTUidValues(TInt aUid1, TInt aUid2) { if (aUid1 > aUid return

const TLitC8 < sizeof("**")-1,"*class CMmsClientMtm :public CBaseMtm { public: IMPORT_C static CMmsClientMtm* NewL( CRegisteredMtmDll & aRegisteredMtmDll, CMsvSession & aSession ); virtual ~CMmsClientMtm(); public: virtual CMsvOperation * CreateNewEntryL( TMsvId aDestination, TRequestStatus & aCompletionStatus); virtual void CreateServiceL(); virtual const CMmsSettings& MmsSettings(); virtual void SetSettingsL( const CMmsSettings& aSettings ); virtual void StoreSettingsL(); virtual void RestoreSettingsL(); virtual void RestoreFactorySettingsL( TMmsFactorySettingsLevel aLevel = EMmsFactorySettingsLevelNormal ); virtual TInt ValidateService( TMsvId aServiceId ); virtual void SetSenderL( const TDesC & aAlias ); virtual const TPtrC Sender() const; virtual void SetMessageClass( TMmsMessageClass aMessageClass ); virtual TInt MessageClass() const; virtual void SetExpiryInterval( TTimeIntervalSeconds aInterval ); virtual TTimeIntervalSeconds ExpiryInterval() const; virtual void SetExpiryDate( TTime aDate ); virtual TTime ExpiryDate() const; virtual void SetDeliveryTimeInterval( TTimeIntervalSeconds aInterval ); virtual TTimeIntervalSeconds DeliveryTimeInterval() const; virtual void SetDeliveryDate( TTime aDate ); virtual TTime DeliveryDate() const; virtual void SetMessagePriority( TMmsMessagePriority aPriority ); virtual TInt MessagePriority() const; virtual void SetSenderVisibility( TMmsMessageSenderVisibility aVisibility ); virtual TInt SenderVisibility() const; virtual void SetDeliveryReport( TMmsYesNo aRequest ); virtual TInt DeliveryReport() const; virtual void SetReadReply( TMmsYesNo aRequest ); virtual TInt ReadReply() const; virtual TTime SendingDate() const; virtual TPtrC ResponseText() const; virtual TInt ResponseStatus() const; virtual TInt NumberOfPreviousSenders() const; virtual TPtrC PreviousSender( TInt aSequenceNumber ) const; virtual TTime PreviousSendingDate( TInt aSequenceNumber ) const; virtual TTime MessageReceiveTime() const; virtual TInt MessageTransferSize() const; virtual TPtrC8 MessageContentLocation() const; virtual void SetMessageRootL( const TMsvAttachmentId aId ); virtual TMsvAttachmentId MessageRootAttachment() const; virtual void SetMaximumImage( TInt aWidth, TInt aHeight ); virtual void GetMaximumImage( TInt & aWidth, TInt & aHeight ) const; virtual TInt32 MessageSize(); virtual void SetMessageDescriptionL( const TDesC & aText ); virtual void AddAttributeL( const TDesC & aName, const TDesC & aValue ); virtual TPtrC GetAttributeL( const TDesC & aName ); virtual TBool FindAttribute( const TDesC & aName ); virtual void DeleteAttribute( const TDesC & aName ); virtual void ResetAttributes(); virtual void CreateAttachment2L( CMsvStore & aStore, RFile & aFile, TDesC8 & aMimeType, CMsvMimeHeaders& aMimeHeaders, CMsvAttachment * aAttachmentInfo, TMsvAttachmentId & aAttaId); virtual void CreateTextAttachmentL( CMsvStore & aStore, TMsvAttachmentId & aAttachmentId, const TDesC & aText, const TDesC & aFile, TBool aConvertParagraphSeparator = ETrue ); virtual CMsvOperation * SendL( TRequestStatus & aCompletionStatus, const TTime aSendingTime = TTime ( 0 ) ); virtual CMsvOperation * SendL( CMsvEntrySelection & aSelection, TRequestStatus & aCompletionStatus, TTime aSendingTime = TTime ( 0 ) ); virtual CMsvOperation * FetchAllL( TRequestStatus & aCompletionStatus, TBool aForced = ETrue ); virtual CMsvOperation * SendReadReportL( TMsvId aReadMessageId, TRequestStatus & aCompletionStatus, TMmsReadStatus aReadStatus = EMmsReadStatusRead ); public: inline TUid Type() const; inline void SetCurrentEntryL( CMsvEntry * aEntry ); inline void SwitchCurrentEntryL( TMsvId aId ); inline CMsvEntry & Entry() const; inline TBool HasContext() const; void SaveMessageL(); void LoadMessageL(); TMsvPartList ValidateMessage( TMsvPartList aPartList ); TMsvPartList Find( const TDesC & aTextToFind, TMsvPartList aPartList ); CMsvOperation * ReplyL( TMsvId aDestination, TMsvPartList aPartlist, TRequestStatus & aCompletionStatus ); CMsvOperation * ForwardL( TMsvId aDestination, TMsvPartList aPartList, TRequestStatus & aCompletionStatus ); void AddAddresseeL( const TDesC & aRealAddress ); void AddAddresseeL( const TDesC & aRealAddress, const TDesC & aAlias ); virtual void AddAddresseeL( TMsvRecipientType aType, const TDesC & aRealAddress); virtual void AddAddresseeL( TMsvRecipientType aType, const TDesC & aRealAddress, const TDesC & aAlias); void RemoveAddressee( TInt aIndex ); inline CRichText & Body(); inline const CRichText & Body() const; void SetSubjectL( const TDesC & aSubject ); const TPtrC SubjectL() const; TInt QueryCapability( TUid aCapability, TInt & aResponse ); void InvokeSyncFunctionL( TInt aFunctionId, const CMsvEntrySelection & aSelection, TDes8 & aParameter ); CMsvOperation * InvokeAsyncFunctionL( TInt aFunctionId, const CMsvEntrySelection & aSelection, TDes8 & aParameter, TRequestStatus & aCompletionStatus ); inline CMsvSession & Session(); void AddAttachmentL( const TDesC & aFilePath, const TDesC8 & aMimeType, TUint aCharset, TRequestStatus & aStatus ); void AddAttachmentL( RFile & aFile, const TDesC8 & aMimeType, TUint aCharset, TRequestStatus & aStatus ); void AddLinkedAttachmentL( const TDesC & aFilePath, const TDesC8 & aMimeType, TUint aCharset, TRequestStatus & aStatus ); void AddEntryAsAttachmentL( TMsvId aAttachmentId, TRequestStatus & aStatus ); void CreateAttachmentL( const TDesC & aFileName, RFile & aAttachmentFile, const TDesC8 & aMimeType, TUint aCharset, TRequestStatus & aStatus); void CancelAttachmentOperation(); void CreateMessageL( TMsvId aServiceId ); void BioTypeChangedL( TUid aBioTypeUid ); TMsvId DefaultServiceL() const; void RemoveDefaultServiceL(); void ChangeDefaultServiceL(const TMsvId & aService); protected: CMsvEntrySelection * ListNotificationsInInboxL(); protected: void ContextEntrySwitched(); void HandleEntryEventL( TMsvEntryEvent aEvent, TAny * arg1, TAny * arg2, TAny * arg3 ); CMmsClientMtm( CRegisteredMtmDll & aRegisteredMtmDll, CMsvSession & aSession ); void ConstructL(); private: void BuildAddresseeListL(); void BuildAddresseeListL( const CDesCArray & aArray, TMsvRecipientType aValue); TInt32 AttachmentsSizeL(); CMsvEntrySelection * ListMmsFolderNotificationsL(); CMsvEntrySelection * ListInboxNotificationsL(); CMsvOperation * FetchAllFromInboxL( TRequestStatus & aCompletionStatus, TBool aForced = ETrue ); TBool FindInRecipientL( const TDesC & aTextToFind, TMsvPartList aPartlist, const CDesCArray & aRecipients, CMsvFindText& aFindText ); void AddFilePathAttachmentL(const TDesC & aFilePath, const TDesC8 & aMimeType, CMsvAttachment::TMsvAttachmentType aType, TRequestStatus & aStatus, const TUint aCharacterSet = 0 ); void StoreAttributesL( CMsvStore & aStore ); void RestoreAttributesL( CMsvStore & aStore ); TUint GetUnicodeCharacterSet( TDesC8 & aSample ); void ReadBytesFromFileL( const RFile aFile, TDes8 & aSample ); TUint RecognizeCharSetL( RFile & aFile ); public: protected: CMmsSettings* iMmsSettings; CMmsHeaders* iMmsHeaders; TMsvId iServiceId; TBool iFetchAll; TBool iFetchOverride; TInt iMessageDrive; TInt32 iHomeMode; TInt32 iRoamingMode; TInt iAccessPointCount; CDesCArrayFlat * iAttributes; CMsvSession & iOwnSession; private: CMmsAttachmentWaiter* iAttaWaiter; public: protected: private: };GLREF_C void gPanic( TMmsPanic aPanic );# 1 "X:/epoc32/include/app/mmsclient.inl" 1inline TUid CMmsClientMtm::Type() const { return CBaseMtm::Type(); }inline CMsvSession& CMmsClientMtm::Session() { return CBaseMtm::Session(); }inline void CMmsClientMtm::SetCurrentEntryL( CMsvEntry * aEntry ) { CBaseMtm::SetCurrentEntryL( aEntry ); }inline void CMmsClientMtm::SwitchCurrentEntryL( TMsvId aId ) { CBaseMtm::SwitchCurrentEntryL( aId ); }inline CMsvEntry& CMmsClientMtm::Entry() const { return CBaseMtm::Entry(); }inline TBool CMmsClientMtm::HasContext() const { return CBaseMtm::HasContext(); }inline CRichText& CMmsClientMtm::Body() { return CBaseMtm::Body(); }inline const CRichText& CMmsClientMtm::Body() const { return CBaseMtm::Body(); }# 1898 "X:/epoc32/include/app/mmsclient.h" 2# 27 "X:/sf/app/messaging/inc/mmsnotificationclient.h" 2typedef struct { TInt mmboxTotalInBytes; TInt mmboxTotalInMessageCount; TInt mmboxQuotaInBytes; TInt mmboxQuotaInMessageCount; TTime date; TInt error; }TMmboxInfo;class CMmsNotificationClientMtm : public CMmsClientMtm { public: IMPORT_C static CMmsNotificationClientMtm* NewL( CRegisteredMtmDll& aRegisteredMtmDll, CMsvSession& aSession ); ~CMmsNotificationClientMtm(); public: virtual CMsvOperation* SendL( TRequestStatus& aCompletionStatus, const TTime aSendingTime = TTime( 0 ) ); virtual const TPtrC GetExtendedText() const; virtual CMsvEntrySelection* ListNotificationsL(); virtual CMsvOperation* DeleteNotificationL( const CMsvEntrySelection& aSelection, TMmsDeleteOperationType aDeleteType, TRequestStatus& aCompletionStatus ); virtual CMsvOperation* UnscheduledDeleteNotificationL( const CMsvEntrySelection& aSelection, TMmsDeleteOperationType aDeleteType, TRequestStatus& aCompletionStatus ); virtual CMsvOperation* DeleteAllNotificationsL( TMmsDeleteOperationType aDeleteType, TRequestStatus& aCompletionStatus ); virtual void DeleteForwardEntryL( const CMsvEntrySelection& aSelection ); virtual CMsvOperation* FetchMessagesL( const CMsvEntrySelection& aSelection, TRequestStatus& aCompletionStatus ); virtual TBool MmboxInfoL( TMmboxInfo& aMmboxInfo ); virtual CMsvOperation* UpdateMmBoxListL( TRequestStatus& aCompletionStatus ); virtual TMsvId GetMmboxFolderL(); virtual TInt NotificationCount(); virtual const TPtrC GetApplicationId() const; public: virtual CMsvOperation* ForwardL( TMsvId aDestination, TMsvPartList aPartList, TRequestStatus& aCompletionStatus ); virtual CMsvOperation* SendL( CMsvEntrySelection& aSelection, TRequestStatus& aCompletionStatus, TTime aSendingTime ); virtual CMsvOperation* FetchMessageL( TMsvId aId, TRequestStatus& aCompletionStatus ); virtual CMsvOperation* FetchAllL( TRequestStatus& aCompletionStatus, TBool aForced = ETrue ); virtual TInt QueryCapability( TUid aCapability, TInt& aResponse ); protected: protected: private: CMmsNotificationClientMtm( CRegisteredMtmDll& aRegisteredMtmDll, CMsvSession& aSession ); void ConstructL(); TMsvId CreateForwardEntryL( const TMsvId aDestination ); TInt ReserveNotificationOperationL( const TMsvId aNotifIf, const TUint32 aOperation ); void MarkFreeNotificationsReservedL( CMsvEntrySelection& aNotifications, const TUint32 aOperation ); TBool FreeNotification( TMsvEntry& aEntry, const TUint32 aOperation ); void MarkNotificationOperationReserved( TMsvEntry& aEntry, const TUint32 aOperation ); void FindDuplicateNotificationL( TMsvId aParent, CMmsHeaders& aHeaders, TMsvId& aDuplicate); public: protected: private: public: protected: private: }; # 26 "X:/sf/app/messaging/mobilemessaging/mmsui/notviewerinc/NotViewerDocument.h" 2# 1 "X:/sf/app/messaging/mobilemessaging/mmsui/notmtminc/NotMtmUi.h" 1#define NOTMTMUI_H# 1 "X:/epoc32/include/mw/AknWaitDialog.h" 1#define __AKN_WAIT_DIALOG__# 1 "X:/epoc32/include/mw/AknProgressDialog.h" 1#define __AKN_PROGRESS_DIALOG__# 1 "X:/epoc32/include/mw/aknnotedialog.h" 1#define __AKNNOTEDIALOG__# 1 "X:/epoc32/include/mw/eikdialg.h" 1#define __EIKDIALG_H__# 1 "X:/epoc32/include/mw/coecobs.h" 1#define __COECOBS_H__# 1 "X:/epoc32/include/mw/coemop.h" 1#define __COEMOP_H__#define DECLARE_TYPE_ID(id) class TTypeUid : public TUid {public: class Ptr { friend class TTypeUid; private: explicit inline Ptr(TAny* aPtr) : iPtr(aPtr) {} public: inline TAny* Pointer() const {return iPtr;} private: TAny* iPtr; };public: inline TTypeUid(TInt aUid) { iUid = aUid; } inline static Ptr Null() { return Ptr(NULL); } template <class T> inline Ptr MakePtr(T* aT) const { ; return Ptr(aT); } };class MObjectProvider {public: template<class T> T* MopGetObject(T*& aPtr) { return (aPtr=(T*)MopGetById(T::ETypeId)); } template<class T> T* MopGetObjectNoChaining(T*& aPtr) { return (aPtr=(T*)MopGetByIdNoChaining(T::ETypeId)); } MObjectProvider* FindParent(MObjectProvider* aMopToFind); private: virtual TTypeUid::Ptr MopSupplyObject(TTypeUid aId) = 0;protected: IMPORT_C MObjectProvider();private: IMPORT_C virtual MObjectProvider* MopNext(); IMPORT_C virtual void MObjectProvider_Reserved1(); IMPORT_C virtual void MObjectProvider_Reserved2();private: IMPORT_C TAny* MopGetById(TTypeUid aId); IMPORT_C TAny* MopGetByIdNoChaining(TTypeUid aId); private: TInt iMObjectProvider_Reserved1; };# 20 "X:/epoc32/include/mw/coecobs.h" 2class CCoeControl;class MCoeControlObserver {public: enum TCoeEvent { EEventRequestExit, EEventRequestCancel, EEventRequestFocus, EEventPrepareFocusTransition, EEventStateChanged, EEventInteractionRefused };public: virtual void HandleControlEventL(CCoeControl* aControl,TCoeEvent aEventType)=0;protected: IMPORT_C MCoeControlObserver(); private: IMPORT_C virtual void MCoeControlObserver_Reserved1(); IMPORT_C virtual void MCoeControlObserver_Reserved2(); private: TInt iMCoeControlObserver_Reserved1; };class MCoeControlStateObserver { friend class CCoeControl;public: enum { ETypeId = 0x10285A45 }; enum TCoeState { EStateDimmed, EStateVisibility };private: virtual TInt HandleControlStateChange(CCoeControl* aControl,TCoeState aState)=0; };# 23 "X:/epoc32/include/mw/eikdialg.h" 2# 1 "X:/epoc32/include/mw/coeccntx.h" 1#define __COECCNTX_H__# 1 "X:/epoc32/include/w32std.h" 1#define __W32STD_H__# 1 "X:/epoc32/include/fntstore.h" 1#define FNTSTORE_H__# 1 "X:/epoc32/include/openfont.h" 1#define __OPENFONT_H__# 1 "X:/epoc32/include/ecom/ecom.h" 1#define __ECOM_H__# 1 "X:/epoc32/include/ecom/ecomerrorcodes.h" 1#define __ECOMERRORCODES_H__# 1 "X:/epoc32/include/platform/ecom/ecomextendedinterfaceerrorcodes.h" 1#define __ECOMEXTENDEDINTERFACEERRORCODES_H__const TInt KEComErrNoExtendedInterfaceReleaseFunction = -17031;const TInt KEComErrNoExtendedInterfaceReleaseObject = -17032;# 29 "X:/epoc32/include/ecom/ecomerrorcodes.h" 2const TInt KEComErrBase = -17000;const TInt KEComErrLast = -17033;const TInt KEComErrNoInterfaceIdentified = -17004;const TInt KEComErrNoResolver = -17014;const TInt KEComErrTooManyNotificationsOutstanding = -17026;const TInt KEComErrMissingParameter = -17028;const TInt KEComErrListInvalidAwaitNotification = -17029;const TInt KEComErrListCurrentlyUnavailable = -17030;const TInt KEComErrUnknownService = -17002;const TInt KEComErrReferenceCountInvalid = -17013;const TInt KEComErrDestructionFailed = -17017;const TInt KEComErrMismatchedTags = -17023;const TInt KEComErrNotFoundScanTimer = -17033;const TInt KEComErrDestroyingWithNullDtorKey = -17027;const TInt KEComErrEnableFailed = -17005;const TInt KEComErrDisableFailed = -17006;const TInt KEComErrNoRegistrationsFound = -17007;const TInt KEComErrUninstallFailed = -17009;const TInt KEComErrReinstallFailed = -17010;const TInt KEComErrRegistrationFailed = -17011;const TInt KEComErrNotConnected = -17012;const TInt KEComErrSuspendFailed = -17015;const TInt KEComErrResumeFailed = -17016;const TInt KEComErrDriveAlreadyInstalled = -17018;const TInt KEComErrNoRegistrationData = -17021;# 35 "X:/epoc32/include/ecom/ecom.h" 2# 1 "X:/epoc32/include/ecom/ecomresolverparams.h" 1#define __ECOMRESOLVERPARAMS_H__class TEComResolverParams {public: inline TEComResolverParams(); inline const TDesC8& DataType() const; inline void SetDataType(const TDesC8& aDataType); inline TBool IsGenericMatch() const; inline void SetGenericMatch(TBool aGenericMatch); inline TBool IsWildcardMatch() const; inline void SetWildcardMatch(TBool aWildcardMatch);private: TPtrC8 iDataType; TBool iGenericMatch; };# 1 "X:/epoc32/include/ecom/ecomresolverparams.inl" 1TEComResolverParams::TEComResolverParams(): iDataType(NULL,0), iGenericMatch(EFalse) { }const TDesC8& TEComResolverParams::DataType() const { return iDataType; }void TEComResolverParams::SetDataType(const TDesC8& aDataType) { iDataType.Set(aDataType); }TBool TEComResolverParams::IsGenericMatch() const { return iGenericMatch; }void TEComResolverParams::SetGenericMatch(TBool aGenericMatch) { iGenericMatch=aGenericMatch; } TBool TEComResolverParams::IsWildcardMatch() const { return iGenericMatch; }void TEComResolverParams::SetWildcardMatch(TBool aWildcardMatch) { iGenericMatch=aWildcardMatch; }# 68 "X:/epoc32/include/ecom/ecomresolverparams.h" 2# 36 "X:/epoc32/include/ecom/ecom.h" 2# 1 "X:/epoc32/include/ecom/implementationinformation.h" 1#define __IMPLEMENTATIONINFORMATION_H__typedef RArray<TUid> RExtendedInterfacesArray;class CImplementationInformation : public CBase {public: static CImplementationInformation* NewLC(TBool aClientSide, RReadStream& aStream); static CImplementationInformation* NewL(TUid aUid, TInt aVersion, HBufC* aName, HBufC8* aDataType, HBufC8* aOpaqueData, TDriveUnit aDrive, TBool aRomOnly, TBool aRomBased); static CImplementationInformation* NewL(TUid aUid, TInt aVersion, HBufC* aName, HBufC8* aDataType, HBufC8* aOpaqueData, TDriveUnit aDrive, TBool aRomOnly, TBool aRomBased, RExtendedInterfacesArray* aExtendedInterfaces); ~CImplementationInformation();public: inline const TDesC& DisplayName() const; inline const TDesC8& DataType() const; inline const TDesC8& OpaqueData() const; inline TUid ImplementationUid() const; inline TInt Version() const; inline TDriveUnit Drive() const; inline TBool RomOnly() const; inline TBool RomBased() const; inline TVendorId VendorId() const; inline TBool Disabled() const; inline void SetDisabled(TBool aDisabled); IMPORT_C void GetExtendedInterfaceListL(RExtendedInterfacesArray& aList);public: void ExternalizeL(TBool aClientSide,RWriteStream& aStream) const; void InternalizeL(TBool aClientSide,RReadStream& aStream); void SetRomBased(TBool aRomBased); void SetDrive(TDriveUnit aDrive); inline void SetVendorId(const TVendorId aVid); void AddExtendedInterfaceL(const TUid& aExtendedInterface); RExtendedInterfacesArray* GetExtendedInterfaceList(); private: CImplementationInformation(); CImplementationInformation(TUid aUid, TInt aVersion, HBufC* aName, HBufC8* aDataType, HBufC8* aOpaqueData, TDriveUnit aDrive, TBool aRomOnly, TBool aRomBased); CImplementationInformation(TUid aUid, TInt aVersion, HBufC* aName, HBufC8* aDataType, HBufC8* aOpaqueData, TDriveUnit aDrive, TBool aRomOnly, TBool aRomBased, RExtendedInterfacesArray* aExtendedInterfaces); private: TUid iImplementationUid; TInt iVersion; HBufC* iDisplayName; HBufC8* iData; HBufC8* iOpaqueData; TBool iDisabled; TDriveUnit iDrive; TBool iRomOnly; TBool iRomBased; TVendorId iVid; RExtendedInterfacesArray* iExtendedInterfaceList; }; typedef RArray<CImplementationInformation*> RImplInfoArray;typedef RPointerArray<CImplementationInformation> RImplInfoPtrArray;# 1 "X:/epoc32/include/ecom/implementationinformation.inl" 1const TDesC& CImplementationInformation::DisplayName() const { if(iDisplayName == NULL) return KNullDesC(); else return *iDisplayName; }const TDesC8& CImplementationInformation::DataType() const { if(iData == NULL) return KNullDesC8(); else return *iData; }const TDesC8& CImplementationInformation::OpaqueData() const { if(iOpaqueData == NULL) return KNullDesC8(); else return *iOpaqueData; }TUid CImplementationInformation::ImplementationUid() const { return iImplementationUid; }TInt CImplementationInformation::Version() const { return iVersion; }TBool CImplementationInformation::Disabled() const { return iDisabled; }void CImplementationInformation::SetDisabled(TBool aDisabled) { iDisabled = aDisabled; }TDriveUnit CImplementationInformation::Drive() const { return iDrive; }TBool CImplementationInformation::RomOnly() const { return iRomOnly; }TBool CImplementationInformation::RomBased() const { return iRomBased; }TVendorId CImplementationInformation::VendorId() const { return iVid; } void CImplementationInformation::SetVendorId(const TVendorId aVid) { iVid = aVid; }inline TInt CompareTUidValues(TInt aUid1, TInt aUid2) { if (aUid1 > aUid return [static]