summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/http.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/http.h')
-rw-r--r--src/emu/http.h20
1 files changed, 11 insertions, 9 deletions
diff --git a/src/emu/http.h b/src/emu/http.h
index 6c845757757..e7c26d7980f 100644
--- a/src/emu/http.h
+++ b/src/emu/http.h
@@ -2,25 +2,20 @@
// copyright-holders:Miodrag Milanovic
/***************************************************************************
-http.cpp
+ http.h
-HTTP server handling
+ HTTP server handling
***************************************************************************/
#pragma once
-#ifndef __EMU_H__
-#error Dont include this file directly; include emu.h instead.
-#endif
-
#ifndef MAME_EMU_HTTP_H
#define MAME_EMU_HTTP_H
+#include <mutex>
#include <thread>
-#include <time.h>
-#include "server_http.hpp"
-#include "server_ws.hpp"
+#include <ctime>
//**************************************************************************
// TYPE DEFINITIONS
@@ -32,6 +27,13 @@ namespace asio
class io_context;
}
+namespace webpp
+{
+ class http_server;
+ class ws_server;
+ struct Connection;
+}
+
class http_manager
{
DISABLE_COPYING(http_manager);