diff options
author | rubidium <rubidium@openttd.org> | 2012-10-28 19:16:58 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2012-10-28 19:16:58 +0000 |
commit | 9db98f3b145eea7d023700a9973a3326dfc52cff (patch) | |
tree | cfe94e62de4d5d43751e121ee99f1f54df54de18 /src/network/core/tcp_content.h | |
parent | f64d50ec26d40f8038eb5ba04e888b8db1618710 (diff) | |
download | openttd-9db98f3b145eea7d023700a9973a3326dfc52cff.tar.xz |
(svn r24638) -Codechange: add some #ifndefs so MSU code doesn't need to compile it, and doesn't need all the required dependencies
Diffstat (limited to 'src/network/core/tcp_content.h')
-rw-r--r-- | src/network/core/tcp_content.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/network/core/tcp_content.h b/src/network/core/tcp_content.h index 57e02d2a7..b803d7189 100644 --- a/src/network/core/tcp_content.h +++ b/src/network/core/tcp_content.h @@ -91,7 +91,9 @@ struct ContentInfo { size_t Size() const; bool IsSelected() const; bool IsValid() const; +#ifndef OPENTTD_MSU const char *GetTextfile(TextfileType type) const; +#endif /* OPENTTD_MSU */ }; /** Base socket handler for all Content TCP sockets */ @@ -207,7 +209,9 @@ public: void ReceivePackets(); }; +#ifndef OPENTTD_MSU Subdirectory GetContentInfoSubDir(ContentType type); +#endif /* OPENTTD_MSU */ #endif /* ENABLE_NETWORK */ |