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

http_thread_callback.hpp « platform - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: fe2bc4ce47ea3188b4c2ef39855063328201930d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once

#include "std/cstdint.hpp"

namespace downloader
{

class IHttpThreadCallback
{
public:
  virtual bool 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