equal
deleted
inserted
replaced
52 { |
52 { |
53 return iRepository->CommitTransaction(*this, aKeyInfo); |
53 return iRepository->CommitTransaction(*this, aKeyInfo); |
54 } |
54 } |
55 inline void CancelTransaction() // serves as both rollback and async cancel |
55 inline void CancelTransaction() // serves as both rollback and async cancel |
56 { |
56 { |
57 iRepository->CancelTransaction(*this); |
57 TServerResources::iObserver->CancelTransaction(*this,iUid); |
58 } |
58 } |
59 void CleanupCancelTransactionPushL(); |
59 void CleanupCancelTransactionPushL(); |
60 inline TInt FailTransaction(TInt aError, TUint32 aErrorKey) |
60 inline TInt FailTransaction(TInt aError, TUint32 aErrorKey) |
61 { |
61 { |
62 // returns aError to allow "return FailTransaction(error, errorKey);" - error written once |
62 // returns aError to allow "return FailTransaction(error, errorKey);" - error written once |