1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-15 02:44:42 +00:00
transmission/macosx/Sparkle.framework/Versions/A/Headers/SUAppcast.h
Mike Gelfand 1b36e34d9b Update Sparkle to 1.20.0
Unfortunately, due to the nature of the issue a manual update to a new
version will be required.

Fixes: #600
2018-10-04 23:38:23 +03:00

35 lines
760 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
#if __has_feature(modules)
@import Foundation;
#else
#import <Foundation/Foundation.h>
#endif
#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