diff -r cd2816114bd1 -r e64954c2c8e2 emailuis/emailui/inc/ncscomposeview.h --- a/emailuis/emailui/inc/ncscomposeview.h Wed Apr 14 15:42:15 2010 +0300 +++ b/emailuis/emailui/inc/ncscomposeview.h Tue Apr 27 16:20:14 2010 +0300 @@ -68,6 +68,19 @@ public MAknServerAppExitObserver { +private: + + /** + * Type of commit + */ + enum TCommitType + { + // This is transient commit, message may get further modifications + ETransient, + // This is final commit, no more incoming changes + EFinal + }; + public: // constructors and destructor /** @@ -180,7 +193,9 @@ * explicitely requested. */ void CommitL( TBool aParseAddresses = ETrue, - TFieldToCommit aFieldToCommit = EAllFields, TBool aSaveNow = EFalse ); + TFieldToCommit aFieldToCommit = EAllFields, + TBool aSaveNow = EFalse, + TCommitType aType = ETransient ); /** * Saves the message content, if it has been changed since the last save.