email_plat/nmail_client_api/nmapiattachment.h
changeset 75 47d84de1c893
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/email_plat/nmail_client_api/nmapiattachment.h	Mon Oct 04 00:05:37 2010 +0300
@@ -0,0 +1,47 @@
+/*
+ * 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 public header.
+ */
+
+#ifndef NMAPIATTACHMENT_H_
+#define NMAPIATTACHMENT_H_
+
+#include <QString>
+#include <xqsharablefile.h>
+#include <nmapimessagecontent.h>
+#include <nmapidef.h>
+
+namespace EmailClientApi
+{
+class NmApiAttachmentPrivate;
+
+class NMAPI_EXPORT NmApiAttachment : public NmApiMessageContent
+{
+public:
+    NmApiAttachment();
+    virtual ~NmApiAttachment();
+
+    QString fileName();
+    XQSharableFile file();
+
+    void setFileName(const QString &fileName);
+
+private:
+    
+    NmApiAttachmentPrivate *d;
+};
+}
+
+#endif /* NMAPIATTACHMENT_H_ */