inc/convergedmessage.h
changeset 70 a15d9966050f
parent 34 84197e66a4bd
equal deleted inserted replaced
61:8ba0afbb4637 70:a15d9966050f
   100      * 0 to FFFF
   100      * 0 to FFFF
   101      */
   101      */
   102     enum MessageProperty
   102     enum MessageProperty
   103         {
   103         {
   104         Unread = 0x0001,
   104         Unread = 0x0001,
   105         Attachment = 0x0002
   105         Attachment = 0x0002,
       
   106         /** TP-RP (Reply Path) Found in first octet of Submit and Deliver. */
       
   107         ReplyPath = 0x0004
   106         };
   108         };
   107 
   109 
   108     /**
   110     /**
   109      * Enum defining Message Direction
   111      * Enum defining Message Direction
   110      * @attention This enum can have values from 0 to 255 only.
   112      * @attention This enum can have values from 0 to 255 only.
   409     /**
   411     /**
   410      * Deserialize the stream to data members.
   412      * Deserialize the stream to data members.
   411      * @param stream data stream from which data is deserialized. 
   413      * @param stream data stream from which data is deserialized. 
   412      */
   414      */
   413     void deserialize(QDataStream &stream);
   415     void deserialize(QDataStream &stream);
       
   416     
       
   417     /**
       
   418      * Sets the message property, if reply-path is present
       
   419      * @param replypath, TP-RP (Reply Path) Found in first octet of
       
   420      * Submit and Deliver PDU
       
   421      */
       
   422     void setReplyPath(bool replypath = true);
       
   423     
       
   424     /**
       
   425      * Tells if the reply-path is set for this message
       
   426      * @return bool, if the reply-path exists
       
   427      */
       
   428     bool replyPath();
       
   429     
       
   430     /**
       
   431      * Set originating service center address. This is used for reply
       
   432      * purposes, if the reply-via-same-smsc flag is ON
       
   433      * @param scaddress, service center address
       
   434      */
       
   435     void setOriginatingSC(const QString& scaddress);
       
   436     
       
   437     /**
       
   438      * Get originating service center address,
       
   439      * if preserved for reply-via-same-smsc
       
   440      * @return originating service center address
       
   441      */
       
   442     const QString& originatingSC() const;
   414 
   443 
   415 private:
   444 private:
   416     /**
   445     /**
   417      * Operator= overloading. Making it private with no implementation to prevent its usage
   446      * Operator= overloading. Making it private with no implementation to prevent its usage
   418      */
   447      */