mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-19 21:13:05 +01:00
Wrap code with macro test DISABLE_NETWORK
This commit is contained in:
@@ -10,6 +10,8 @@
|
||||
|
||||
#include <fstream>
|
||||
|
||||
#ifndef DISABLE_NETWORK
|
||||
|
||||
class NetworkBase
|
||||
{
|
||||
public:
|
||||
@@ -229,3 +231,5 @@ private: // Client Data
|
||||
bool _requireReconnect = false;
|
||||
bool _clientMapLoaded = false;
|
||||
};
|
||||
|
||||
#endif // DISABLE_NETWORK
|
||||
|
||||
@@ -2,7 +2,11 @@
|
||||
|
||||
#include "NetworkBase.h"
|
||||
|
||||
#ifndef DISABLE_NETWORK
|
||||
|
||||
class NetworkClient final : public NetworkBase
|
||||
{
|
||||
public:
|
||||
};
|
||||
|
||||
#endif // DISABLE_NETWORK
|
||||
|
||||
@@ -2,7 +2,11 @@
|
||||
|
||||
#include "NetworkBase.h"
|
||||
|
||||
#ifndef DISABLE_NETWORK
|
||||
|
||||
class NetworkServer final : public NetworkBase
|
||||
{
|
||||
public:
|
||||
};
|
||||
|
||||
#endif // DISABLE_NETWORK
|
||||
|
||||
Reference in New Issue
Block a user