Tidy up move obsolete and deprecated files

This commit is contained in:
Vinnie Falco
2013-08-15 22:51:33 -07:00
parent fe1b8d253c
commit 8c65adbffe
22 changed files with 56 additions and 294 deletions

View File

@@ -0,0 +1,44 @@
//------------------------------------------------------------------------------
/*
Copyright (c) 2011-2013, OpenCoin, Inc.
*/
//==============================================================================
namespace basio
{
IoService* IoService::New (std::size_t concurrency_hint)
{
return new IoService (concurrency_hint);
}
IoService::~IoService ()
{
}
IoService::operator boost::asio::io_service& ()
{
return *m_impl;
}
IoService::IoService (std::size_t concurrency_hint)
: m_impl (new boost::asio::io_service (concurrency_hint))
{
}
void IoService::stop ()
{
m_impl->stop ();
}
bool IoService::stopped ()
{
return m_impl->stopped ();
}
void IoService::run ()
{
m_impl->run ();
}
}