emailservices/nmclientapi/inc/nmapimessagecontent_p.h
changeset 68 83cc6bae1de8
child 74 6c59112cfd31
equal deleted inserted replaced
67:459da34cdb45 68:83cc6bae1de8
       
     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 private implementation.
       
    16 */
       
    17 
       
    18 #ifndef NMAPIMESSAGECONTENT_P_H_
       
    19 #define NMAPIMESSAGECONTENT_P_H_
       
    20 
       
    21 namespace EmailClientApi
       
    22 {
       
    23 
       
    24 class NmApiMessageContentPrivate : public QSharedData
       
    25 {
       
    26 public:
       
    27     NmApiMessageContentPrivate();
       
    28     virtual ~NmApiMessageContentPrivate();
       
    29 
       
    30     QString contentType() const;
       
    31     bool isComplete();
       
    32     quint32 size() const;
       
    33     quint64 id() const;
       
    34     
       
    35     void setContentType(const QString &contentType);
       
    36     void setComplete(bool complete);
       
    37     void setSize(quint32 size);
       
    38     void setId(quint64 id);
       
    39 
       
    40 private:
       
    41     
       
    42     QString mContentType;
       
    43     bool mComplete;
       
    44     quint32 mSize;
       
    45     quint64 mId;
       
    46 };
       
    47 }
       
    48 
       
    49 #endif /* NMAPIMESSAGEENVELOPE_P_H_ */