summaryrefslogtreecommitdiff
path: root/src/network/network_content.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/network_content.h')
-rw-r--r--src/network/network_content.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/network/network_content.h b/src/network/network_content.h
index ea2df4e39..0be0a80cf 100644
--- a/src/network/network_content.h
+++ b/src/network/network_content.h
@@ -88,6 +88,9 @@ protected:
void OnReceiveContentInfo(const ContentInfo *ci);
void OnDownloadProgress(const ContentInfo *ci, uint bytes);
void OnDownloadComplete(ContentID cid);
+
+ bool BeforeDownload();
+ void AfterDownload();
public:
/** The idle timeout; when to close the connection because it's idle. */
static const int IDLE_TIMEOUT = 60 * 1000;