From 9f78196611d8065f63ae4a81297723663d222ebe Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Mon, 27 Dec 2010 02:47:56 +0100 Subject: Added a simple HTTP service which doesn't yet do anything useful. --- main.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'main.cpp') diff --git a/main.cpp b/main.cpp index 55c1de0..bb165a1 100644 --- a/main.cpp +++ b/main.cpp @@ -1,9 +1,14 @@ #include #include "music.h" +#include "httpd.h" int main(int argc, char **argv) { try { music::init(argv[1]); + + boost::asio::io_service io_service; + HTTPServer httpd(io_service); + io_service.run(); } catch(std::exception& e) { std::cerr << e.what() << std::endl; } -- cgit v1.2.3