File tree Expand file tree Collapse file tree 8 files changed +8
-32
lines changed Expand file tree Collapse file tree 8 files changed +8
-32
lines changed Original file line number Diff line number Diff line change 9
9
*
10
10
*****************************************************************************/
11
11
12
- #ifndef __CCRASHHANDLER_H
13
- #define __CCRASHHANDLER_H
12
+ #pragma once
14
13
15
14
#include " CCrashHandlerAPI.h"
16
15
@@ -39,5 +38,3 @@ class CCrashHandler
39
38
40
39
#endif
41
40
};
42
-
43
- #endif
Original file line number Diff line number Diff line change 17
17
Copyright (c) 1997-2000 John Robbins -- All rights reserved.
18
18
----------------------------------------------------------------------*/
19
19
20
- #ifndef _CRASHHANDLER_H
21
- #define _CRASHHANDLER_H
20
+ #pragma once
22
21
23
22
#ifdef WIN32
24
23
@@ -245,5 +244,3 @@ RETURNS :
245
244
#endif //__cplusplus
246
245
247
246
#endif
248
-
249
- #endif // _CRASHHANDLER_H
Original file line number Diff line number Diff line change 9
9
*
10
10
*****************************************************************************/
11
11
12
- #ifndef __CDYNAMICLIBRARY_H
13
- #define __CDYNAMICLIBRARY_H
12
+ #pragma once
14
13
15
14
#ifdef WIN32
16
15
#include < windows.h>
@@ -38,5 +37,3 @@ class CDynamicLibrary
38
37
void * m_hModule;
39
38
#endif
40
39
};
41
-
42
- #endif
Original file line number Diff line number Diff line change 9
9
*
10
10
*****************************************************************************/
11
11
12
- #ifndef __CEXCEPTIONINFORMATION_IMPL_H
13
- #define __CEXCEPTIONINFORMATION_IMPL_H
12
+ #pragma once
14
13
15
14
#include < core/CExceptionInformation.h>
16
15
#include < windows.h>
@@ -70,5 +69,3 @@ class CExceptionInformation_Impl : public CExceptionInformation
70
69
unsigned long m_ulSS;
71
70
unsigned long m_ulEFlags;
72
71
};
73
-
74
- #endif
Original file line number Diff line number Diff line change 11
11
12
12
class CModManagerImpl ;
13
13
14
- #ifndef __CMODMANAGERIMPL_H
15
- #define __CMODMANAGERIMPL_H
14
+ #pragma once
16
15
17
16
#include < core/CModManager.h>
18
17
#include < core/CServerBase.h>
@@ -61,5 +60,3 @@ class CModManagerImpl : public CModManager
61
60
SString m_strServerPath; // Root path
62
61
SString m_strModPath; // root/mods/deathmatch
63
62
};
64
-
65
- #endif
Original file line number Diff line number Diff line change 11
11
12
12
class CServerImpl ;
13
13
14
- #ifndef __CSERVERIMPL_H
15
- #define __CSERVERIMPL_H
14
+ #pragma once
16
15
17
16
#include " MTAPlatform.h"
18
17
#include < string>
@@ -111,5 +110,3 @@ class CServerImpl : public CServerInterface
111
110
CThreadCommandQueue* m_pThreadCommandQueue;
112
111
#endif
113
112
};
114
-
115
- #endif
Original file line number Diff line number Diff line change 9
9
*
10
10
*****************************************************************************/
11
11
12
- #ifndef __CTHREADCOMMANDQUEUE_H
13
- #define __CTHREADCOMMANDQUEUE_H
12
+ #pragma once
14
13
15
14
#ifdef WIN32
16
15
@@ -29,5 +28,3 @@ class CThreadCommandQueue
29
28
};
30
29
31
30
#endif
32
-
33
- #endif
Original file line number Diff line number Diff line change 9
9
*
10
10
*****************************************************************************/
11
11
12
- #ifndef __ERRORCODES_H
13
- #define __ERRORCODES_H
12
+ #pragma once
14
13
15
14
#define ERROR_NO_ERROR 0
16
15
#define ERROR_NO_NETWORK_LIBRARY 1
17
16
#define ERROR_NETWORK_LIBRARY_FAILED 2
18
17
#define ERROR_LOADING_MOD 3
19
18
#define ERROR_OTHER 4
20
-
21
- #endif
You can’t perform that action at this time.
0 commit comments