X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fserver.h;h=32ba8dc4b96757fe0d3938317e2fe1c0c9abff2b;hb=7913cba90bccb9501b63a0518c58abbd5a6b330d;hp=7470814431e1c53822d8fd18e443006885506b4e;hpb=93c3365a547fbb7467b6c47571c5a68e17b31e0c;p=dcpomatic.git diff --git a/src/lib/server.h b/src/lib/server.h index 747081443..32ba8dc4b 100644 --- a/src/lib/server.h +++ b/src/lib/server.h @@ -28,6 +28,8 @@ #include #include "log.h" +class Socket; + /** @class ServerDescription * @brief Class to describe a server to which we can send encoding work. */ @@ -80,11 +82,10 @@ public: private: void worker_thread (); - int process (boost::shared_ptr socket); + int process (boost::shared_ptr socket); - boost::asio::io_service _io_service; std::vector _worker_threads; - std::list > _queue; + std::list > _queue; boost::mutex _worker_mutex; boost::condition _worker_condition; Log* _log;