Removed some using namespaces from .h to .cpp.

This commit is contained in:
Pontus Fransson 2014-02-14 13:52:44 +01:00
parent 4c4693e890
commit 75201d4c6d
2 changed files with 5 additions and 8 deletions

View File

@ -1,5 +1,8 @@
#include "C++StandaloneCLI.h" #include "C++StandaloneCLI.h"
using namespace System;
using namespace System::Runtime::InteropServices;
CppStandaloneCLI::CppStandaloneCLI() CppStandaloneCLI::CppStandaloneCLI()
{ {
} }

View File

@ -7,12 +7,6 @@
#include "..\Game\GameServer\GameServerAPI.h" #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 enum DanBiasServerReturn
{ {
DanBiasServerReturn_Error, DanBiasServerReturn_Error,
@ -22,7 +16,7 @@ enum DanBiasServerReturn
public ref struct ServerInitDesc public ref struct ServerInitDesc
{ {
String^ serverName; System::String^ serverName;
int listenPort; int listenPort;
bool broadcast; //Not fully implemented! bool broadcast; //Not fully implemented!
ServerInitDesc() ServerInitDesc()
@ -36,7 +30,7 @@ public ref struct ServerInitDesc
public value struct GameServerInfo public value struct GameServerInfo
{ {
unsigned int listenPort; // If set to 0, the default port 15151 will be used 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 public ref class CppStandaloneCLI