From 68c2253f8263201543986d627315a7366e5e3e3f Mon Sep 17 00:00:00 2001 From: erwincoumans Date: Tue, 16 Jan 2018 13:39:37 -0800 Subject: [PATCH] reduce dependency: PhysicsServerCommandProcessor -> PhysicsCommandProcessorInterface --- examples/SharedMemory/PhysicsClientTCP.h | 2 +- examples/SharedMemory/PhysicsClientUDP.h | 2 +- examples/SharedMemory/PhysicsServerSharedMemory.cpp | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/examples/SharedMemory/PhysicsClientTCP.h b/examples/SharedMemory/PhysicsClientTCP.h index 0304e0a65..c869cadb5 100644 --- a/examples/SharedMemory/PhysicsClientTCP.h +++ b/examples/SharedMemory/PhysicsClientTCP.h @@ -2,7 +2,7 @@ #define PHYSICS_CLIENT_TCP_H #include "PhysicsDirect.h" -#include "PhysicsServerCommandProcessor.h" +#include "PhysicsCommandProcessorInterface.h" class TcpNetworkedPhysicsProcessor : public PhysicsCommandProcessorInterface { diff --git a/examples/SharedMemory/PhysicsClientUDP.h b/examples/SharedMemory/PhysicsClientUDP.h index 8d8d08fd1..b091bf89e 100644 --- a/examples/SharedMemory/PhysicsClientUDP.h +++ b/examples/SharedMemory/PhysicsClientUDP.h @@ -2,7 +2,7 @@ #define PHYSICS_CLIENT_UDP_H #include "PhysicsDirect.h" -#include "PhysicsServerCommandProcessor.h" +#include "PhysicsCommandProcessorInterface.h" class UdpNetworkedPhysicsProcessor : public PhysicsCommandProcessorInterface { diff --git a/examples/SharedMemory/PhysicsServerSharedMemory.cpp b/examples/SharedMemory/PhysicsServerSharedMemory.cpp index 22fb5b577..4413a5aab 100644 --- a/examples/SharedMemory/PhysicsServerSharedMemory.cpp +++ b/examples/SharedMemory/PhysicsServerSharedMemory.cpp @@ -12,7 +12,8 @@ #include "../CommonInterfaces/CommonGUIHelperInterface.h" #include "SharedMemoryBlock.h" -#include "PhysicsServerCommandProcessor.h" + +#include "PhysicsCommandProcessorInterface.h" //number of shared memory blocks == number of simultaneous connections #define MAX_SHARED_MEMORY_BLOCKS 2