Refactor TxQueue, move some boost includes down to .cpp

This commit is contained in:
Vinnie Falco
2013-09-01 08:03:30 -07:00
parent 4ef0f5d6a9
commit 37216bed4d
17 changed files with 299 additions and 253 deletions

View File

@@ -0,0 +1,18 @@
//------------------------------------------------------------------------------
/*
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);
}