emailservices/nmclientapi/src/nmapimessage.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 NmApiMessagePrivate();
    29     d = new NmApiMessagePrivate();
    30 }
    30 }
    31 
    31 
    32 /*!
    32 /*!
       
    33     Class copy constructor.
       
    34 */
       
    35 NmApiMessage::NmApiMessage(const NmApiMessage &other)
       
    36 {
       
    37     NM_FUNCTION;
       
    38     d = other.d;
       
    39 }
       
    40 
       
    41 /*!
    33     Class destructor.
    42     Class destructor.
    34 */
    43 */
    35 NmApiMessage::~NmApiMessage()
    44 NmApiMessage::~NmApiMessage()
    36 {
    45 {
    37     NM_FUNCTION;
    46     NM_FUNCTION;
       
    47 }
       
    48 
       
    49 NmApiMessage& NmApiMessage::operator=(const NmApiMessage &other)
       
    50 {
       
    51     if (this == &other)
       
    52         return *this;
       
    53     
       
    54     d = other.d;
       
    55 
       
    56     return *this;
    38 }
    57 }
    39 
    58 
    40 /*!
    59 /*!
    41  \fn plainTextContent 
    60  \fn plainTextContent 
    42  \return Message plain text content.
    61  \return Message plain text content.