diff -r 4e54af54a4a1 -r 6c59112cfd31 emailservices/nmclientapi/src/nmapiattachment.cpp --- a/emailservices/nmclientapi/src/nmapiattachment.cpp Wed Sep 15 17:47:19 2010 +0300 +++ b/emailservices/nmclientapi/src/nmapiattachment.cpp Thu Sep 30 11:43:07 2010 +0300 @@ -30,6 +30,15 @@ } /*! + Class copy constructor. +*/ +NmApiAttachment::NmApiAttachment(const NmApiAttachment &attachment) +{ + NM_FUNCTION; + d = attachment.d; +} + +/*! Class destructor. */ NmApiAttachment::~NmApiAttachment() @@ -37,6 +46,16 @@ NM_FUNCTION; } +NmApiAttachment& NmApiAttachment::operator=(const NmApiAttachment &attachment) +{ + if (this == &attachment) + return *this; + + d = attachment.d; + + return *this; +} + /*! Getter for filename */