From 75201d4c6ddab973dbadc620f21e5c3942207610 Mon Sep 17 00:00:00 2001 From: Pontus Fransson Date: Fri, 14 Feb 2014 13:52:44 +0100 Subject: [PATCH] Removed some using namespaces from .h to .cpp. --- Code/CLIStandaloneServer/C++StandaloneCLI.cpp | 3 +++ Code/CLIStandaloneServer/C++StandaloneCLI.h | 10 ++-------- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/Code/CLIStandaloneServer/C++StandaloneCLI.cpp b/Code/CLIStandaloneServer/C++StandaloneCLI.cpp index 6332289b..b331e37f 100644 --- a/Code/CLIStandaloneServer/C++StandaloneCLI.cpp +++ b/Code/CLIStandaloneServer/C++StandaloneCLI.cpp @@ -1,5 +1,8 @@ #include "C++StandaloneCLI.h" +using namespace System; +using namespace System::Runtime::InteropServices; + CppStandaloneCLI::CppStandaloneCLI() { } diff --git a/Code/CLIStandaloneServer/C++StandaloneCLI.h b/Code/CLIStandaloneServer/C++StandaloneCLI.h index 8d819f6f..5fada27d 100644 --- a/Code/CLIStandaloneServer/C++StandaloneCLI.h +++ b/Code/CLIStandaloneServer/C++StandaloneCLI.h @@ -7,12 +7,6 @@ #include "..\Game\GameServer\GameServerAPI.h" -using namespace System; -using namespace System::Windows::Interop; -using namespace System::Windows; -using namespace System::Runtime::InteropServices; -using namespace System::Collections::Generic; - enum DanBiasServerReturn { DanBiasServerReturn_Error, @@ -22,7 +16,7 @@ enum DanBiasServerReturn public ref struct ServerInitDesc { - String^ serverName; + System::String^ serverName; int listenPort; bool broadcast; //Not fully implemented! ServerInitDesc() @@ -36,7 +30,7 @@ public ref struct ServerInitDesc public value struct GameServerInfo { unsigned int listenPort; // If set to 0, the default port 15151 will be used - String^ serverIp; // This cant be mofidfied.. + System::String^ serverIp; // This cant be mofidfied.. }; public ref class CppStandaloneCLI