Repo created

This commit is contained in:
Fr4nz D13trich 2025-11-22 13:58:55 +01:00
parent 4af19165ec
commit 68073add76
12458 changed files with 12350765 additions and 2 deletions

View file

@ -0,0 +1,30 @@
#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