emailservices/nmclientapi/src/nmapimessage.cpp
changeset 74 6c59112cfd31
parent 68 83cc6bae1de8
child 76 38bf5461e270
--- 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.