messagingapp/msgutils/convergedmessageutils/inc/convergedmessageimpl.h
changeset 70 a15d9966050f
parent 31 ebfee66fde93
equal deleted inserted replaced
61:8ba0afbb4637 70:a15d9966050f
   284     /**
   284     /**
   285      * Deserialize the stream to data members.
   285      * Deserialize the stream to data members.
   286      * @param stream data stream from which data is deserialized.
   286      * @param stream data stream from which data is deserialized.
   287      */
   287      */
   288     void deserialize(QDataStream &stream);
   288     void deserialize(QDataStream &stream);
       
   289     
       
   290     /**
       
   291      * Sets the message property, if reply-path is present
       
   292      * @param replypath, TP-RP (Reply Path) Found in first octet of
       
   293      * Submit and Deliver PDU
       
   294      */
       
   295     void setReplyPath(bool replypath);
       
   296     
       
   297     /**
       
   298      * Tells if the reply-path is set for this message
       
   299      * @return bool, if the reply-path exists
       
   300      */
       
   301     bool replyPath();
       
   302     
       
   303     /**
       
   304      * Set originating service center address. This is used for reply
       
   305      * purposes, if the reply-via-same-smsc flag is ON
       
   306      * @param scaddress, service center address
       
   307      */
       
   308     void setOriginatingSC(const QString& scaddress);
       
   309     
       
   310     /**
       
   311      * Get originating service center address,
       
   312      * if preserved for reply-via-same-smsc
       
   313      * @return originating service center address
       
   314      */
       
   315     const QString& originatingSC() const;
   289 
   316 
   290 private:
   317 private:
   291     /**
   318     /**
   292      * Operator= overloading. Making it private with no implementation to prevent its usage
   319      * Operator= overloading. Making it private with no implementation to prevent its usage
   293      */
   320      */
   377 
   404 
   378     /**
   405     /**
   379      * Messaging sending states
   406      * Messaging sending states
   380      */
   407      */
   381     quint8 mSendingState;
   408     quint8 mSendingState;
       
   409     
       
   410     /**
       
   411      * Originating SC, 
       
   412      * to be used only when reply-path is available
       
   413      */
       
   414     QString mOriginatingSC;    
   382     };
   415     };
   383 
   416 
   384 #endif // CONVERGED_MESSAGE_IMPL_H
   417 #endif // CONVERGED_MESSAGE_IMPL_H