diff options
author | Alex Zolotarev <deathbaba@gmail.com> | 2011-11-08 00:03:58 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:27:29 +0300 |
commit | cf4d77fa0bae136c90581650e4c72b0267baa0a2 (patch) | |
tree | 1164886744cec4a8b83266705475c0e603ee6100 /platform/http_thread_callback.hpp | |
parent | 4ca29d9593b4890441dc163999302a870b76162a (diff) |
[mac][downloader] Finished basic chunks support
Diffstat (limited to 'platform/http_thread_callback.hpp')
-rw-r--r-- | platform/http_thread_callback.hpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/platform/http_thread_callback.hpp b/platform/http_thread_callback.hpp new file mode 100644 index 0000000000..544a2edaad --- /dev/null +++ b/platform/http_thread_callback.hpp @@ -0,0 +1,13 @@ +#pragma once + +namespace downloader +{ + +class IHttpThreadCallback +{ +public: + virtual void OnWrite(int64_t offset, void const * buffer, size_t size) = 0; + virtual void OnFinish(long httpCode, int64_t begRange, int64_t endRange) = 0; +}; + +} // namespace downloader |