emailservices/nmclientapi/src/nmapimessagecontent_p.cpp
changeset 75 47d84de1c893
child 74 6c59112cfd31
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/emailservices/nmclientapi/src/nmapimessagecontent_p.cpp	Mon Oct 04 00:05:37 2010 +0300
@@ -0,0 +1,111 @@
+/*
+ * 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;
+}
+
+}