blob: bbcd83f934828f3cb5de54ea94bea5e0b45f88b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#include "Swiften/Network/BoostTimerFactory.h"
#include "Swiften/Network/BoostTimer.h"
namespace Swift {
BoostTimerFactory::BoostTimerFactory(boost::asio::io_service* ioService) : ioService(ioService) {
}
boost::shared_ptr<Timer> BoostTimerFactory::createTimer(int milliseconds) {
return boost::shared_ptr<Timer>(new BoostTimer(milliseconds, ioService));
}
}
|