email_plat/nmail_client_api/nmapimessagebody.h
changeset 74 6c59112cfd31
parent 69 4e54af54a4a1
child 76 38bf5461e270
--- a/email_plat/nmail_client_api/nmapimessagebody.h	Wed Sep 15 17:47:19 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,89 +0,0 @@
-/*
- * 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"
- * which accompanies this distribution, and is available
- * at the URL "http://www.eclipse.org/legal/epl-v10.html".
- *
- * Initial Contributors:
- * Nokia Corporation - initial contribution.
- *
- * Contributors:
- *
- * Description:
- *
- */
-
-#ifndef NMAPIMESSAGEBODY_H
-#define NMAPIMESSAGEBODY_H
-
-#include <QExplicitlySharedDataPointer>
-#include <nmapidef.h>
-
-class QString;
-
-namespace EmailClientApi
-{
-
-class NmApiMessageBodyPrivate;
-
-class NMAPI_EXPORT NmApiMessageBody
-{
-public:
-    /*!
-       constructor for NmApiMessageBody
-     */
-    NmApiMessageBody();
-    /*!
-       copying constructor for NmApiMessageBody
-     */
-    NmApiMessageBody(const NmApiMessageBody &apiMessageBody);
-    
-    /*!
-       assignment operator for NmApiMessageBody
-     */    
-    NmApiMessageBody& operator=(const NmApiMessageBody &apiMessageBody);
-    
-    /*!
-       Compare data from \a apiMessageBody
-     */    
-    bool operator==(const NmApiMessageBody &apiMessageBody);
-    
-    virtual ~NmApiMessageBody();
-
-    /*!
-       getter for total size of message body in bytes
-     */
-    quint64 totalSize() const;
-
-    /*!
-       getter for bytes available in local mailbox store
-     */
-    quint64 fetchedSize() const;
-
-    /*!
-       getter for fetched content
-     */
-    QString content() const;
-
-    /*!
-       setter for total size of message body in bytes
-     */
-    void setTotalSize(quint64 size);
-
-    /*!
-       setter for bytes available on local mailbox store
-     */
-    void setFetchedSize(quint64 size);
-
-    /*!
-       setter for content
-     */
-    void setContent(const QString &content);
-
-private:
-    QExplicitlySharedDataPointer<NmApiMessageBodyPrivate> d;
-};
-}
-#endif