emailservices/nmclientapi/src/nmapiattachment.cpp
changeset 74 6c59112cfd31
parent 68 83cc6bae1de8
child 76 38bf5461e270
equal deleted inserted replaced
69:4e54af54a4a1 74:6c59112cfd31
    28     NM_FUNCTION;
    28     NM_FUNCTION;
    29     d = new NmApiAttachmentPrivate();
    29     d = new NmApiAttachmentPrivate();
    30 }
    30 }
    31 
    31 
    32 /*!
    32 /*!
       
    33     Class copy constructor.
       
    34 */
       
    35 NmApiAttachment::NmApiAttachment(const NmApiAttachment &attachment)
       
    36 {
       
    37     NM_FUNCTION;
       
    38     d = attachment.d;
       
    39 }
       
    40 
       
    41 /*!
    33     Class destructor.
    42     Class destructor.
    34 */
    43 */
    35 NmApiAttachment::~NmApiAttachment()
    44 NmApiAttachment::~NmApiAttachment()
    36 {
    45 {
    37     NM_FUNCTION;
    46     NM_FUNCTION;
       
    47 }
       
    48 
       
    49 NmApiAttachment& NmApiAttachment::operator=(const NmApiAttachment &attachment)
       
    50 {
       
    51     if (this == &attachment)
       
    52         return *this;
       
    53     
       
    54     d = attachment.d;
       
    55 
       
    56     return *this;
    38 }
    57 }
    39 
    58 
    40 /*!
    59 /*!
    41    Getter for filename
    60    Getter for filename
    42  */
    61  */