--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emailservices/nmclientapi/src/nmapiattachment.cpp Wed Sep 15 12:09:55 2010 +0300
@@ -0,0 +1,67 @@
+/*
+ * 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 attachment implementation.
+ */
+
+#include "nmapiheaders.h"
+
+namespace EmailClientApi
+{
+
+/*!
+ Class constructor.
+*/
+NmApiAttachment::NmApiAttachment()
+{
+ NM_FUNCTION;
+ d = new NmApiAttachmentPrivate();
+}
+
+/*!
+ Class destructor.
+*/
+NmApiAttachment::~NmApiAttachment()
+{
+ NM_FUNCTION;
+}
+
+/*!
+ Getter for filename
+ */
+QString NmApiAttachment::fileName()
+{
+ NM_FUNCTION;
+ return d->fileName();
+}
+
+/*!
+ Getter for file
+ */
+XQSharableFile NmApiAttachment::file()
+{
+ NM_FUNCTION;
+ return d->file();
+}
+
+/*!
+ Setter for filename
+ */
+void NmApiAttachment::setFileName(const QString &fileName)
+{
+ NM_FUNCTION;
+ d->setFileName(fileName);
+}
+
+}