From a399920f6db9d8309aee2af056651592495a1345 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 14 Dec 2020 22:29:57 +0100 Subject: Clean up includes in client library --- src/client/ingen_client.cpp | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'src/client/ingen_client.cpp') diff --git a/src/client/ingen_client.cpp b/src/client/ingen_client.cpp index c6c49080..f4d6bbc7 100644 --- a/src/client/ingen_client.cpp +++ b/src/client/ingen_client.cpp @@ -15,18 +15,26 @@ */ #include "ingen/Module.hpp" -#include "ingen/World.hpp" -struct IngenClientModule : public ingen::Module { +namespace ingen { + +class World; + +namespace client { + +struct ClientModule : public ingen::Module { void load(ingen::World& world) override {} }; +} // namespace client +} // namespace ingen + extern "C" { ingen::Module* ingen_module_load() { - return new IngenClientModule(); + return new ingen::client::ClientModule(); } } // extern "C" -- cgit v1.2.1