emailservices/nmclientapi/src/nmapitextcontent.cpp
changeset 75 47d84de1c893
child 74 6c59112cfd31
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/emailservices/nmclientapi/src/nmapitextcontent.cpp	Mon Oct 04 00:05:37 2010 +0300
@@ -0,0 +1,58 @@
+/*
+ * 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 text content implementation.
+ */
+
+#include "nmapiheaders.h"
+
+namespace EmailClientApi
+{
+
+/*!
+    Class constructor.
+*/
+NmApiTextContent::NmApiTextContent()
+{
+    NM_FUNCTION;
+    d = new NmApiTextContentPrivate();
+}
+
+/*!
+    Class destructor.
+*/
+NmApiTextContent::~NmApiTextContent()
+{
+    NM_FUNCTION;
+}
+
+/*!
+   Getter for content
+ */
+QString NmApiTextContent::content() const
+{
+    NM_FUNCTION;
+    return d->content();
+}
+
+/*!
+   Setter for content
+ */
+void NmApiTextContent::setContent(const QString &content)
+{
+    NM_FUNCTION;
+    d->setContent(content);
+}
+
+}