Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Zolotarev <deathbaba@gmail.com>2011-11-08 00:03:58 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:27:29 +0300
commitcf4d77fa0bae136c90581650e4c72b0267baa0a2 (patch)
tree1164886744cec4a8b83266705475c0e603ee6100 /platform/http_thread_callback.hpp
parent4ca29d9593b4890441dc163999302a870b76162a (diff)
[mac][downloader] Finished basic chunks support
Diffstat (limited to 'platform/http_thread_callback.hpp')
-rw-r--r--platform/http_thread_callback.hpp13
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