email_plat/nmail_client_api/nmapimessagecontent.h
changeset 75 47d84de1c893
equal deleted inserted replaced
72:64e38f08e49c 75:47d84de1c893
       
     1 /*
       
     2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *       Email message content public header.
       
    16 */
       
    17 
       
    18 #ifndef NMAPIMESSAGECONTENT_H_
       
    19 #define NMAPIMESSAGECONTENT_H_
       
    20 
       
    21 #include <nmapidef.h>
       
    22 
       
    23 namespace EmailClientApi
       
    24 {
       
    25 class NmApiMessageContentPrivate;
       
    26 
       
    27 class NMAPI_EXPORT NmApiMessageContent
       
    28 {
       
    29 public:
       
    30     NmApiMessageContent();
       
    31     virtual ~NmApiMessageContent();
       
    32 
       
    33     QString contentType() const;
       
    34     bool isComplete();
       
    35     quint32 size() const;
       
    36     quint64 id() const;
       
    37     
       
    38     void setContentType(const QString &contentType);
       
    39     void setComplete(bool complete);
       
    40     void setSize(quint32 size);
       
    41     void setId(quint64 id);
       
    42 
       
    43 private:
       
    44     
       
    45     NmApiMessageContentPrivate *d;
       
    46 };
       
    47 }
       
    48 #endif /*NMAPIMESSAGECONTENT_H_ */