summaryrefslogtreecommitdiff
path: root/src/network/network_content.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-01-23 10:20:29 +0000
committerrubidium <rubidium@openttd.org>2009-01-23 10:20:29 +0000
commit75055f011d96e79763a73fb12ef7e118123f56ee (patch)
tree0ad4e75d76388e1bb1993fee5808ef18c0fd18ac /src/network/network_content.h
parent93b8a6fb3e972eb15c12ac3f5ebf1ed0791f8d74 (diff)
downloadopenttd-75055f011d96e79763a73fb12ef7e118123f56ee.tar.xz
(svn r15221) -Change [FS#2574]: only show missing NewGRFs when opening the content download window from a NewGRF list and there are missing NewGRFs, otherwise show just all NewGRFs the system knows.
Diffstat (limited to 'src/network/network_content.h')
-rw-r--r--src/network/network_content.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/network_content.h b/src/network/network_content.h
index ac169313f..6e683dd7e 100644
--- a/src/network/network_content.h
+++ b/src/network/network_content.h
@@ -117,6 +117,8 @@ public:
ConstContentIterator Get(uint32 index) const { return this->infos.Get(index); }
/** Get the end of the content inf iterator. */
ConstContentIterator End() const { return this->infos.End(); }
+ /** Clear all downloaded content information. */
+ void Clear();
/** Add a callback to this class */
void AddCallback(ContentCallback *cb) { this->callbacks.Include(cb); }