emailservices/nmclientapi/src/nmapitextcontent.cpp
changeset 74 6c59112cfd31
parent 68 83cc6bae1de8
--- a/emailservices/nmclientapi/src/nmapitextcontent.cpp	Wed Sep 15 17:47:19 2010 +0300
+++ b/emailservices/nmclientapi/src/nmapitextcontent.cpp	Thu Sep 30 11:43:07 2010 +0300
@@ -30,6 +30,15 @@
 }
 
 /*!
+    Class copy constructor.
+*/
+NmApiTextContent::NmApiTextContent(const NmApiTextContent &textcontent)
+{
+    NM_FUNCTION;
+    d = textcontent.d;
+}
+
+/*!
     Class destructor.
 */
 NmApiTextContent::~NmApiTextContent()
@@ -37,6 +46,16 @@
     NM_FUNCTION;
 }
 
+NmApiTextContent& NmApiTextContent::operator=(const NmApiTextContent &textcontent)
+{
+    if (this == &textcontent)
+        return *this;
+    
+    d = textcontent.d;
+
+    return *this;
+}
+
 /*!
    Getter for content
  */