mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
19 lines
529 B
C++
19 lines
529 B
C++
//------------------------------------------------------------------------------
|
|
/*
|
|
Copyright (c) 2011-2013, OpenCoin, Inc.
|
|
*/
|
|
//==============================================================================
|
|
|
|
void TxQueueEntry::addCallbacks (const TxQueueEntry& otherEntry)
|
|
{
|
|
BOOST_FOREACH (const stCallback & callback, otherEntry.mCallbacks)
|
|
mCallbacks.push_back (callback);
|
|
}
|
|
|
|
void TxQueueEntry::doCallbacks (TER result)
|
|
{
|
|
BOOST_FOREACH (const stCallback & callback, mCallbacks)
|
|
callback (mTxn, result);
|
|
}
|
|
|