persistentstorage/centralrepository/cenrepsrv/srvrepos_noc.h
changeset 1 c084286672be
parent 0 08ec8eefde2f
child 23 26645d81f48d
equal deleted inserted replaced
0:08ec8eefde2f 1:c084286672be
    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