mirror of
https://github.com/transmission/transmission
synced 2024-12-24 00:34:04 +00:00
31 lines
700 B
Objective-C
31 lines
700 B
Objective-C
//
|
|
// SUAppcast.h
|
|
// Sparkle
|
|
//
|
|
// Created by Andy Matuschak on 3/12/06.
|
|
// Copyright 2006 Andy Matuschak. All rights reserved.
|
|
//
|
|
|
|
#ifndef SUAPPCAST_H
|
|
#define SUAPPCAST_H
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import "SUExport.h"
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@class SUAppcastItem;
|
|
SU_EXPORT @interface SUAppcast : NSObject
|
|
|
|
@property (copy, nullable) NSString *userAgentString;
|
|
@property (copy, nullable) NSDictionary<NSString *, NSString *> *httpHeaders;
|
|
|
|
- (void)fetchAppcastFromURL:(NSURL *)url inBackground:(BOOL)bg completionBlock:(void (^)(NSError *_Nullable))err;
|
|
- (SUAppcast *)copyWithoutDeltaUpdates;
|
|
|
|
@property (readonly, copy, nullable) NSArray *items;
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|
|
|
|
#endif
|