/* * Copyright (c) 2010 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ #pragma once #include #include #include #include namespace Swift { class SWIFTEN_API BoostIOServiceThread { public: BoostIOServiceThread(); ~BoostIOServiceThread(); boost::shared_ptr getIOService() const { return ioService_; } private: void doRun(); private: boost::shared_ptr ioService_; boost::thread* thread_; }; }