Skip to content

Commit

Permalink
Remove include guards from Server/Core
Browse files Browse the repository at this point in the history
  • Loading branch information
qaisjp committed Jun 6, 2018
1 parent 92a12e0 commit 2f6f61f
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 32 deletions.
5 changes: 1 addition & 4 deletions Server/core/CCrashHandler.h
Expand Up @@ -9,8 +9,7 @@
*
*****************************************************************************/

#ifndef __CCRASHHANDLER_H
#define __CCRASHHANDLER_H
#pragma once

#include "CCrashHandlerAPI.h"

Expand Down Expand Up @@ -39,5 +38,3 @@ class CCrashHandler

#endif
};

#endif
5 changes: 1 addition & 4 deletions Server/core/CCrashHandlerAPI.h
Expand Up @@ -17,8 +17,7 @@
Copyright (c) 1997-2000 John Robbins -- All rights reserved.
----------------------------------------------------------------------*/

#ifndef _CRASHHANDLER_H
#define _CRASHHANDLER_H
#pragma once

#ifdef WIN32

Expand Down Expand Up @@ -245,5 +244,3 @@ RETURNS :
#endif //__cplusplus

#endif

#endif // _CRASHHANDLER_H
5 changes: 1 addition & 4 deletions Server/core/CDynamicLibrary.h
Expand Up @@ -9,8 +9,7 @@
*
*****************************************************************************/

#ifndef __CDYNAMICLIBRARY_H
#define __CDYNAMICLIBRARY_H
#pragma once

#ifdef WIN32
#include <windows.h>
Expand Down Expand Up @@ -38,5 +37,3 @@ class CDynamicLibrary
void* m_hModule;
#endif
};

#endif
5 changes: 1 addition & 4 deletions Server/core/CExceptionInformation_Impl.h
Expand Up @@ -9,8 +9,7 @@
*
*****************************************************************************/

#ifndef __CEXCEPTIONINFORMATION_IMPL_H
#define __CEXCEPTIONINFORMATION_IMPL_H
#pragma once

#include <core/CExceptionInformation.h>
#include <windows.h>
Expand Down Expand Up @@ -70,5 +69,3 @@ class CExceptionInformation_Impl : public CExceptionInformation
unsigned long m_ulSS;
unsigned long m_ulEFlags;
};

#endif
5 changes: 1 addition & 4 deletions Server/core/CModManagerImpl.h
Expand Up @@ -11,8 +11,7 @@

class CModManagerImpl;

#ifndef __CMODMANAGERIMPL_H
#define __CMODMANAGERIMPL_H
#pragma once

#include <core/CModManager.h>
#include <core/CServerBase.h>
Expand Down Expand Up @@ -61,5 +60,3 @@ class CModManagerImpl : public CModManager
SString m_strServerPath; // Root path
SString m_strModPath; // root/mods/deathmatch
};

#endif
5 changes: 1 addition & 4 deletions Server/core/CServerImpl.h
Expand Up @@ -11,8 +11,7 @@

class CServerImpl;

#ifndef __CSERVERIMPL_H
#define __CSERVERIMPL_H
#pragma once

#include "MTAPlatform.h"
#include <string>
Expand Down Expand Up @@ -111,5 +110,3 @@ class CServerImpl : public CServerInterface
CThreadCommandQueue* m_pThreadCommandQueue;
#endif
};

#endif
5 changes: 1 addition & 4 deletions Server/core/CThreadCommandQueue.h
Expand Up @@ -9,8 +9,7 @@
*
*****************************************************************************/

#ifndef __CTHREADCOMMANDQUEUE_H
#define __CTHREADCOMMANDQUEUE_H
#pragma once

#ifdef WIN32

Expand All @@ -29,5 +28,3 @@ class CThreadCommandQueue
};

#endif

#endif
5 changes: 1 addition & 4 deletions Server/core/ErrorCodes.h
Expand Up @@ -9,13 +9,10 @@
*
*****************************************************************************/

#ifndef __ERRORCODES_H
#define __ERRORCODES_H
#pragma once

#define ERROR_NO_ERROR 0
#define ERROR_NO_NETWORK_LIBRARY 1
#define ERROR_NETWORK_LIBRARY_FAILED 2
#define ERROR_LOADING_MOD 3
#define ERROR_OTHER 4

#endif

0 comments on commit 2f6f61f

Please sign in to comment.