Msrp/MsrpServer/inc/MMSRPWriterObserver.h
branchMSRP_FrameWork
changeset 58 cdb720e67852
parent 25 505ad3f0ce5c
--- a/Msrp/MsrpServer/inc/MMSRPWriterObserver.h	Sat Jun 12 14:30:11 2010 +0530
+++ b/Msrp/MsrpServer/inc/MMSRPWriterObserver.h	Thu Nov 25 13:59:42 2010 +0200
@@ -36,7 +36,9 @@
         EUndefined = 0,
 	    EPending, //Sending incomplete. Same observer is called again immediately
 	    EComplete, //No more to send. A new observer is called, this is removed 
-	    EInterrupted //There is more to send. Same observer called later
+	    EInterrupted, //There is more to send. Same observer called later
+	    EWaitingForResponse,
+	    ESendingReport // sending report when requested
 	    };	
 	
 	    /**
@@ -45,7 +47,7 @@
 	     * @param aInterrupt Signals whether other msgs are queued waiting to be sent
 	     * @return KErrNone or system wide eror codes 
 	     */	    
-	    virtual TWriteStatus GetSendBufferL( TPtrC8& aData, TBool aInterrupt ) = 0;
+	    virtual const TDesC8& GetSendBufferL( TWriteStatus& aStatus, TBool aInterrupt ) = 0;
 
 	   /**           
         * Called when the message has been written to the socket