summaryrefslogtreecommitdiffstats
path: root/src/client/ingen_client.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-12-14 22:29:57 +0100
committerDavid Robillard <d@drobilla.net>2020-12-15 00:44:04 +0100
commita399920f6db9d8309aee2af056651592495a1345 (patch)
tree128c28e16762d52db9e6456b3721b683a4cb10cd /src/client/ingen_client.cpp
parent8c854bd336b45db17b48c2101fb2846f84726cdc (diff)
downloadingen-a399920f6db9d8309aee2af056651592495a1345.tar.gz
ingen-a399920f6db9d8309aee2af056651592495a1345.tar.bz2
ingen-a399920f6db9d8309aee2af056651592495a1345.zip
Clean up includes in client library
Diffstat (limited to 'src/client/ingen_client.cpp')
-rw-r--r--src/client/ingen_client.cpp14
1 files changed, 11 insertions, 3 deletions
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"