mmsconst.h File Reference

#include <app/mmsconst.h>

KMmsYear1970String

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

KMmsResourceDriveAndFile

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

KMMSNotificationFolder

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

KMmsMmboxFolder

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

KMmsMillion

const TIntKMmsMillion

KMmsDateBufferLength

const TIntKMmsDateBufferLength

KMmsImageSmallWidth

const TIntKMmsImageSmallWidth

KMmsImageSmallHeight

const TIntKMmsImageSmallHeight

KMmsImageLargeWidth

const TIntKMmsImageLargeWidth

KMmsImageLargeHeight

const TIntKMmsImageLargeHeight

KMmsImageOriginalWidth

const TIntKMmsImageOriginalWidth

KMmsImageOriginalHeight

const TIntKMmsImageOriginalHeight

KMmsIndexEntryExtra

const TIntKMmsIndexEntryExtra

KMmsDiskSafetyMargin

const TIntKMmsDiskSafetyMargin

KUidMmsServerMtm

const TUidKUidMmsServerMtm

KUidMmsClientMtm

const TUidKUidMmsClientMtm

KUidMmsClientUIMtm

const TUidKUidMmsClientUIMtm

KUidMmsClientUIDataMtm

const TUidKUidMmsClientUIDataMtm

KUidMsgMmsEditor

const TIntKUidMsgMmsEditor

KUidMsgMmsViewer

const TIntKUidMsgMmsViewer

KUidMsgTypeMultimedia

const TUidKUidMsgTypeMultimedia

KUidMsvTechnologyGroupMMS

const TUidKUidMsvTechnologyGroupMMS

KUidMsgMMSNotification

const TUidKUidMsgMMSNotification

KUidMsgSubTypeMmsUpload

const TUidKUidMsgSubTypeMmsUpload

KUidMsgSubTypeMmsPostcard

const TUidKUidMsgSubTypeMmsPostcard

KUidMsgSubTypeMmsAudioMsg

const TUidKUidMsgSubTypeMmsAudioMsg

KUidMmsHeaderStream

const TUidKUidMmsHeaderStream

KUidMmsRecipientStream

const TUidKUidMmsRecipientStream

KUidBinaryNotificationStream

const TUidKUidBinaryNotificationStream

KUidMMsElementDescriptorStream

const TUidKUidMMsElementDescriptorStream

KUidMMsMMBoxMessageHeaderStream

const TUidKUidMMsMMBoxMessageHeaderStream

KUidMMsMMBoxViewHeadersStream

const TUidKUidMMsMMBoxViewHeadersStream

KUidMMsExtendedNotificationStream

const TUidKUidMMsExtendedNotificationStream

KUidMmsAttributeStream

const TUidKUidMmsAttributeStream

KUidMmsApplicationInfoStream

const TUidKUidMmsApplicationInfoStream

KUidMmsReserved

const TUidKUidMmsReserved

KLogMmsEventTypeUid

const TUidKLogMmsEventTypeUid

KMmsMessageTypeMask

const TUint32KMmsMessageTypeMask

KMmsMessageMSendReq

const TUint32KMmsMessageMSendReq

KMmsMessageMNotificationInd

const TUint32KMmsMessageMNotificationInd

KMmsMessageMRetrieveConf

const TUint32KMmsMessageMRetrieveConf

KMmsMessageDeliveryInd

const TUint32KMmsMessageDeliveryInd

KMmsMessageReadRecInd

const TUint32KMmsMessageReadRecInd

KMmsMessageReadOrigInd

const TUint32KMmsMessageReadOrigInd

KMmsMessageForwardReq

const TUint32KMmsMessageForwardReq

KMmsMessageUnrecognized

const TUint32KMmsMessageUnrecognized

KMmsMessageEncrypted

const TUint32KMmsMessageEncrypted

KMmsMessageSigned

const TUint32KMmsMessageSigned

KMmsMessageForwarded

const TUint32KMmsMessageForwarded

KMmsMessageMobileTerminated

const TUint32KMmsMessageMobileTerminated

KMmsMessageEditorOriented

const TUint32KMmsMessageEditorOriented

KMmsAttributeStreamPresent

const TUint32KMmsAttributeStreamPresent

KMmsMessageClassMask

const TUint32KMmsMessageClassMask

KMmsMessageAdvertisement

const TUint32KMmsMessageAdvertisement

KMmsMessageInformational

const TUint32KMmsMessageInformational

KMmsReservedMtmData1

const TUint32KMmsReservedMtmData1

KMmsNonConformantMessage

const TUint32KMmsNonConformantMessage

EMmsDrmCorruptedAttachment

const TUint32EMmsDrmCorruptedAttachment

KMmsSpecialContentMask

const TUint32KMmsSpecialContentMask

KMmsPostcard

const TUint32KMmsPostcard

KMmsUpload

const TUint32KMmsUpload

KMmsNotifyResponseSent

const TUint32KMmsNotifyResponseSent

KMmsNotificationBinary

const TUint32KMmsNotificationBinary

KMmsMessageExpired

const TUint32KMmsMessageExpired

KMmsDeleteAtExpiration

const TUint32KMmsDeleteAtExpiration

KMmsOperationIdentifier

const TUint32KMmsOperationIdentifier

KMmsOperationFetch

const TUint32KMmsOperationFetch

KMmsOperationForward

const TUint32KMmsOperationForward

KMmsOperationDelete

const TUint32KMmsOperationDelete

KMmsNewOperationForbidden

const TUint32KMmsNewOperationForbidden

KMmsOperationOngoing

const TUint32KMmsOperationOngoing

KMmsOperationFinished

const TUint32KMmsOperationFinished

KMmsOperationResult

const TUint32KMmsOperationResult

KMmsStoredInMMBox

const TUint32KMmsStoredInMMBox

KMmsDeferredButResponseNotSent

const TUint32KMmsDeferredButResponseNotSent

KMmsDoNotMoveToInbox

const TUint32KMmsDoNotMoveToInbox

KMmsMessageRoutedToApplication

const TUint32KMmsMessageRoutedToApplication

KMmsReservedMtmData2

const TUint32KMmsReservedMtmData2

KMmsDeliveryStatusMask

const TUint32KMmsDeliveryStatusMask

KMmsDeliveryStatusNotRequested

const TUint32KMmsDeliveryStatusNotRequested

KMmsDeliveryStatusPending

const TUint32KMmsDeliveryStatusPending

KMmsDeliveryStatusPartial

const TUint32KMmsDeliveryStatusPartial

KMmsDeliveryStatysFailed

const TUint32KMmsDeliveryStatysFailed

KMmsDeliveryStatysDelivered

const TUint32KMmsDeliveryStatysDelivered

KMmsReservedForUI

const TUint32KMmsReservedForUI

KMmsRetryCountMask

const TUint32KMmsRetryCountMask

KMmsManualRetryCountMask

const TUint32KMmsManualRetryCountMask

KMmsManualRetryCountShift

const TIntKMmsManualRetryCountShift

KMmsSentItemTotalRecipientsMask

const TUint32KMmsSentItemTotalRecipientsMask

KMmsSentItemTotalRecipientsShift

const TIntKMmsSentItemTotalRecipientsShift

KMmsSentItemSuccessfullyDeliveredMask

const TUint32KMmsSentItemSuccessfullyDeliveredMask

KMmsSentItemSuccessfullyDeliveredShift

const TIntKMmsSentItemSuccessfullyDeliveredShift

KMmsSentItemFailedDeliveryMask

const TUint32KMmsSentItemFailedDeliveryMask

KMmsSentItemFailedDeliveryShift

const TIntKMmsSentItemFailedDeliveryShift

KMmsByteOrderMark

const TUint16KMmsByteOrderMark

KMmsReversedByteOrderMark

const TUint16KMmsReversedByteOrderMark

KMmsMaxDescription

const TIntKMmsMaxDescription

KUidMmsWSPMultiPartMixed

const TInt8KUidMmsWSPMultiPartMixed

KUidMmsWSPMultiPartRelated

const TInt8KUidMmsWSPMultiPartRelated

KMmsMessageClassPersonal

const TUint8KMmsMessageClassPersonal

KMmsMessageClassAdvertisement

const TUint8KMmsMessageClassAdvertisement

KMmsMessageClassInformational

const TUint8KMmsMessageClassInformational

KMmsMessageClassAuto

const TUint8KMmsMessageClassAuto

KMmsMessageTypeMSendReq

const TUint8KMmsMessageTypeMSendReq

KMmsMessageTypeMSendConf

const TUint8KMmsMessageTypeMSendConf

KMmsMessageTypeMNotificationInd

const TUint8KMmsMessageTypeMNotificationInd

KMmsMessageTypeMNotifyRespInd

const TUint8KMmsMessageTypeMNotifyRespInd

KMmsMessageTypeMRetrieveConf

const TUint8KMmsMessageTypeMRetrieveConf

KMmsMessageTypeAcknowledgeInd

const TUint8KMmsMessageTypeAcknowledgeInd

KMmsMessageTypeDeliveryInd

const TUint8KMmsMessageTypeDeliveryInd

KMmsMessageTypeReadRecInd

const TUint8KMmsMessageTypeReadRecInd

KMmsMessageTypeReadOrigInd

const TUint8KMmsMessageTypeReadOrigInd

KMmsMessageTypeForwardReq

const TUint8KMmsMessageTypeForwardReq

KMmsMessageTypeForwardConf

const TUint8KMmsMessageTypeForwardConf

KMmsMessageTypeMboxStoreReq

const TUint8KMmsMessageTypeMboxStoreReq

KMmsMessageTypeMboxStoreConf

const TUint8KMmsMessageTypeMboxStoreConf

KMmsMessageTypeMboxViewReq

const TUint8KMmsMessageTypeMboxViewReq

KMmsMessageTypeMboxViewConf

const TUint8KMmsMessageTypeMboxViewConf

KMmsMessageTypeMBoxUploadReq

const TUint8KMmsMessageTypeMBoxUploadReq

KMmsMessageTypeMBoxUploadConf

const TUint8KMmsMessageTypeMBoxUploadConf

KMmsMessageTypeMBoxDeleteReq

const TUint8KMmsMessageTypeMBoxDeleteReq

KMmsMessageTypeMBoxDeleteConf

const TUint8KMmsMessageTypeMBoxDeleteConf

KMmsMessageTypeMBoxDescr

const TUint8KMmsMessageTypeMBoxDescr

KMmsMessageTypeDeleteReq

const TUint8KMmsMessageTypeDeleteReq

KMmsMessageTypeDeleteConf

const TUint8KMmsMessageTypeDeleteConf

KMmsMessageTypeCancelReq

const TUint8KMmsMessageTypeCancelReq

KMmsMessageTypeCancelConf

const TUint8KMmsMessageTypeCancelConf

KMmsPriorityLow

const TUint8KMmsPriorityLow

KMmsPriorityNormal

const TUint8KMmsPriorityNormal

KMmsPriorityHigh

const TUint8KMmsPriorityHigh

KMmsYes

const TUint8KMmsYes

KMmsNo

const TUint8KMmsNo

KMmsSenderHide

const TUint8KMmsSenderHide

KMmsSenderShow

const TUint8KMmsSenderShow

KMmsMessageStatusExpired

const TUint8KMmsMessageStatusExpired

KMmsMessageStatusRetrieved

const TUint8KMmsMessageStatusRetrieved

KMmsMessageStatusRejected

const TUint8KMmsMessageStatusRejected

KMmsMessageStatusDeferred

const TUint8KMmsMessageStatusDeferred

KMmsMessageStatusUnrecognized

const TUint8KMmsMessageStatusUnrecognized

KMmsMessageStatusIndeterminate

const TUint8KMmsMessageStatusIndeterminate

KMmsMessageStatusForwarded

const TUint8KMmsMessageStatusForwarded

KMmsMessageStatusUnreachable

const TUint8KMmsMessageStatusUnreachable

KMmsReadStatusRead

const TUint8KMmsReadStatusRead

KMmsReadStatusDeletedWithoutBeingRead

const TUint8KMmsReadStatusDeletedWithoutBeingRead

KMmsReplyChargingRequested

const TUint8KMmsReplyChargingRequested

KMmsReplyChargingRequestedTextOnly

const TUint8KMmsReplyChargingRequestedTextOnly

KMmsReplyChargingAccepted

const TUint8KMmsReplyChargingAccepted

KMmsReplyChargingAcceptedTextOnly

const TUint8KMmsReplyChargingAcceptedTextOnly

KMmsMessageCountToken

const TUint8KMmsMessageCountToken

KMmsMessageSizeToken

const TUint8KMmsMessageSizeToken

KMmsAddToken

const TUint8KMmsAddToken

KMmsRemoveToken

const TUint8KMmsRemoveToken

KMmsFilterToken

const TUint8KMmsFilterToken

KMmsDraft

const TUint8KMmsDraft

KMmsSent

const TUint8KMmsSent

KMmsNew

const TUint8KMmsNew

KMmsRetrieved

const TUint8KMmsRetrieved

KMmsForwarded

const TUint8KMmsForwarded

KMmsResponseStatusOK

const TIntKMmsResponseStatusOK

KMmsCancelRequestSuccessfullyReceived

const TUint8KMmsCancelRequestSuccessfullyReceived

KMmsCancelRequestCorrupted

const TUint8KMmsCancelRequestCorrupted

KMmsContentClassText

const TUint8KMmsContentClassText

KMmsContentClassImageBasic

const TUint8KMmsContentClassImageBasic

KMmsContentClassImageRich

const TUint8KMmsContentClassImageRich

KMmsContentClassVideoBasic

const TUint8KMmsContentClassVideoBasic

KMmsContentClassVideoRich

const TUint8KMmsContentClassVideoRich

KMmsContentClassMegaPixel

const TUint8KMmsContentClassMegaPixel

KMmsContentClassContentBasic

const TUint8KMmsContentClassContentBasic

KMmsContentClassContentRich

const TUint8KMmsContentClassContentRich

KMmsRecommendedRetrievalModeManual

const TUint8KMmsRecommendedRetrievalModeManual

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 > aUidreturn[static]