/
githubmirror
/
omim
Обзор
Документация
Войти
/
githubmirror
/
omim
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
platform/http_thread_apple.h
30 строк
708 B
Maxim Pimenov
Got rid of the old style std/ includes for several files, mostly in map/ and platform/.
23 сен 2019, 13:25
23 сен 2019, 13:25
bfc0b02
Код
Авторство
О чём код?
#pragma once #import <Foundation/Foundation.h> #include "std/target_os.hpp" #include <string> namespace downloader { class IHttpThreadCallback; } #ifdef OMIM_OS_IPHONE #import "../iphone/Maps/Classes/DownloadIndicatorProtocol.h" #endif @interface HttpThreadImpl : NSObject - (instancetype)initWithURL:(std::string const &)url callback:(downloader::IHttpThreadCallback &)cb begRange:(int64_t)beg endRange:(int64_t)end expectedSize:(int64_t)size postBody:(std::string const &)pb; - (void)cancel; #ifdef OMIM_OS_IPHONE + (void)setDownloadIndicatorProtocol:(id<DownloadIndicatorProtocol>)indicator; #endif @end