email_plat/nmail_client_api/nmapiattachment.h
changeset 74 6c59112cfd31
parent 69 4e54af54a4a1
child 76 38bf5461e270
equal deleted inserted replaced
69:4e54af54a4a1 74:6c59112cfd31
     1 /*
       
     2  * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
       
     3  * All rights reserved.
       
     4  * This component and the accompanying materials are made available
       
     5  * under the terms of "Eclipse Public License v1.0"
       
     6  * which accompanies this distribution, and is available
       
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8  *
       
     9  * Initial Contributors:
       
    10  * Nokia Corporation - initial contribution.
       
    11  *
       
    12  * Contributors:
       
    13  *
       
    14  * Description:
       
    15  *     Email message attachment public header.
       
    16  */
       
    17 
       
    18 #ifndef NMAPIATTACHMENT_H_
       
    19 #define NMAPIATTACHMENT_H_
       
    20 
       
    21 #include <QString>
       
    22 #include <xqsharablefile.h>
       
    23 #include <nmapimessagecontent.h>
       
    24 #include <nmapidef.h>
       
    25 
       
    26 namespace EmailClientApi
       
    27 {
       
    28 class NmApiAttachmentPrivate;
       
    29 
       
    30 class NMAPI_EXPORT NmApiAttachment : public NmApiMessageContent
       
    31 {
       
    32 public:
       
    33     NmApiAttachment();
       
    34     virtual ~NmApiAttachment();
       
    35 
       
    36     QString fileName();
       
    37     XQSharableFile file();
       
    38 
       
    39     void setFileName(const QString &fileName);
       
    40 
       
    41 private:
       
    42     
       
    43     NmApiAttachmentPrivate *d;
       
    44 };
       
    45 }
       
    46 
       
    47 #endif /* NMAPIATTACHMENT_H_ */