emailservices/nmclientapi/src/nmapimessagecontent_p.cpp
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 04 Oct 2010 00:05:37 +0300
changeset 75 47d84de1c893
child 74 6c59112cfd31
permissions -rw-r--r--
Revision: 201037 Kit: 201039

/*
 * Copyright (c) 2010 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:
 *      Email message content private implementation.
 */

#include "nmapiheaders.h"

namespace EmailClientApi
{

/*!
   Constructor for NmApiMessageContentPrivate
 */
NmApiMessageContentPrivate::NmApiMessageContentPrivate()
{
    NM_FUNCTION;
}

/*!
   Destructor for NmApiMessageContentPrivate
 */
NmApiMessageContentPrivate::~NmApiMessageContentPrivate()
{
    NM_FUNCTION;
}

/*!
   Getter for content type
 */
QString NmApiMessageContentPrivate::contentType() const
{
    NM_FUNCTION;
    return mContentType;
}

/*!
   Getter for is complete
 */
bool NmApiMessageContentPrivate::isComplete()
{
    NM_FUNCTION;
    return mComplete;
}

/*!
   Getter for size
 */
quint32 NmApiMessageContentPrivate::size() const
{
    NM_FUNCTION;
    return mSize;
}

/*!
   Getter for id
 */
quint64 NmApiMessageContentPrivate::id() const
{
     NM_FUNCTION;
     return mId;
}

/*!
   Setter for content type
 */
void NmApiMessageContentPrivate::setContentType(const QString &contentType)
{
    NM_FUNCTION;
    mContentType = contentType;
}

/*!
   Setter for is complete
 */
void NmApiMessageContentPrivate::setComplete(bool complete)
{
    NM_FUNCTION;
    mComplete = complete;
}

/*!
   Setter for size
 */
void NmApiMessageContentPrivate::setSize(quint32 size)
{
    NM_FUNCTION;
    mSize = size;
}

/*!
   Setter for id
 */
void NmApiMessageContentPrivate::setId(quint64 id)
{
    NM_FUNCTION;
    mId = id;
}

}