--- a/emailservices/nmclientapi/src/nmapimessage.cpp Wed Sep 15 17:47:19 2010 +0300
+++ b/emailservices/nmclientapi/src/nmapimessage.cpp Thu Sep 30 11:43:07 2010 +0300
@@ -30,6 +30,15 @@
}
/*!
+ Class copy constructor.
+*/
+NmApiMessage::NmApiMessage(const NmApiMessage &other)
+{
+ NM_FUNCTION;
+ d = other.d;
+}
+
+/*!
Class destructor.
*/
NmApiMessage::~NmApiMessage()
@@ -37,6 +46,16 @@
NM_FUNCTION;
}
+NmApiMessage& NmApiMessage::operator=(const NmApiMessage &other)
+{
+ if (this == &other)
+ return *this;
+
+ d = other.d;
+
+ return *this;
+}
+
/*!
\fn plainTextContent
\return Message plain text content.