summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/http.h
diff options
context:
space:
mode:
author Miodrag Milanović <mmicko@gmail.com>2022-01-26 13:21:02 +0100
committer GitHub <noreply@github.com>2022-01-26 13:21:02 +0100
commitba918b59faad5244d87078ab3b955f64fd803c4d (patch)
treec28732735de681efd2b6b2fcfda692815009e550 /src/emu/http.h
parent3e20b5d5adda35d039ea7364b48a3fdc0ec3bf57 (diff)
Remove http related header pollution (#9201)
* Remove http related header polution * remove now invalid message * fixed issued detected by clang * Fixed CR at EOF
Diffstat (limited to 'src/emu/http.h')
-rw-r--r--src/emu/http.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/emu/http.h b/src/emu/http.h
index b0adf1e2b3d..e7c26d7980f 100644
--- a/src/emu/http.h
+++ b/src/emu/http.h
@@ -10,18 +10,12 @@
#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 <ctime>
-#include "server_http.hpp"
-#include "server_ws.hpp"
//**************************************************************************
// TYPE DEFINITIONS
@@ -33,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);