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] |