--- a/emailservices/emailclientapi/inc/emailattachment.h Tue Aug 31 15:04:17 2010 +0300
+++ b/emailservices/emailclientapi/inc/emailattachment.h Wed Sep 01 12:28:57 2010 +0100
@@ -1,5 +1,5 @@
/*
-* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
@@ -23,7 +23,7 @@
#include <e32std.h>
#include <e32base.h>
-#include "CFSMailClient.h"
+#include "cfsmailclient.h"
#include <memailcontent.h>
#include "emailapiutils.h"
@@ -66,72 +66,72 @@
const TDataOwner aOwner );
public: // from MEmailInterface
- TEmailTypeId InterfaceId() const;
+ virtual TEmailTypeId InterfaceId() const;
- void Release();
+ virtual void Release();
public: // from MEmailAttachment
/**
* Returns file handle of this attachment. If the attachment is
* not associated with a file, null file handle is returned.
*/
- RFile FileL() const;
+ virtual RFile FileL() const;
/**
* Sets file name field
*/
- void SetFileNameL( const TDesC& aFileName );
+ virtual void SetFileNameL( const TDesC& aFileName );
/**
* Returns file name or null pointer descriptor if attachment
* is not associated with any file
*/
- TPtrC FileNameL() const;
+ virtual TPtrC FileNameL() const;
public: // from MEmailMessageContent
- TMessageContentId Id() const;
+ virtual TMessageContentId Id() const;
- TPtrC ContentType() const;
+ virtual TPtrC ContentType() const;
- void SetContentType( const TDesC& aContentType );
+ virtual void SetContentType( const TDesC& aContentType );
- TPtrC ContentId() const;
+ virtual TPtrC ContentId() const;
- void SetContentId( const TDesC& aContentId );
+ virtual void SetContentId( const TDesC& aContentId );
- TPtrC ContentDescription() const;
+ virtual TPtrC ContentDescription() const;
- void SetContentDescription( const TDesC& aContentDescription );
+ virtual void SetContentDescription( const TDesC& aContentDescription );
- TPtrC ContentDisposition() const;
+ virtual TPtrC ContentDisposition() const;
- void SetContentDisposition( const TDesC& aContentDisposition );
+ virtual void SetContentDisposition( const TDesC& aContentDisposition );
- TPtrC ContentClass() const;
+ virtual TPtrC ContentClass() const;
- void SetContentClass( const TDesC& aContentClass );
+ virtual void SetContentClass( const TDesC& aContentClass );
- TInt AvailableSize() const;
+ virtual TInt AvailableSize() const;
- TInt TotalSize() const;
+ virtual TInt TotalSize() const;
- TPtrC ContentL() const;
+ virtual TPtrC ContentL() const;
- void SetContentL( const TDesC& aContent );
+ virtual void SetContentL( const TDesC& aContent );
- void FetchL( MEmailFetchObserver& aObserver );
+ virtual void FetchL( MEmailFetchObserver& aObserver );
- void CancelFetch();
+ virtual void CancelFetch();
- void SaveToFileL( const TDesC& aPath );
+ virtual void SaveToFileL( const TDesC& aPath );
- MEmailMultipart* AsMultipartOrNull() const;
+ virtual MEmailMultipart* AsMultipartOrNull() const;
- MEmailTextContent* AsTextContentOrNull() const;
+ virtual MEmailTextContent* AsTextContentOrNull() const;
- MEmailAttachment* AsAttachmentOrNull() const;
+ virtual MEmailAttachment* AsAttachmentOrNull() const;
private:
@@ -158,5 +158,3 @@
};
#endif // EMAILATTACHMENT_H
-
-// End of file