Update Sparkle to 1.27.1 for Apple Silicon support.
[macgdbp.git] / Sparkle.framework / Versions / A / Headers / SUAppcast.h
1 //
2 // SUAppcast.h
3 // Sparkle
4 //
5 // Created by Andy Matuschak on 3/12/06.
6 // Copyright 2006 Andy Matuschak. All rights reserved.
7 //
8
9 #ifndef SUAPPCAST_H
10 #define SUAPPCAST_H
11
12 #import <Foundation/Foundation.h>
13 #import "SUExport.h"
14
15 NS_ASSUME_NONNULL_BEGIN
16
17 @class SUAppcastItem;
18 SU_EXPORT @interface SUAppcast : NSObject
19
20 @property (copy, nullable) NSString *userAgentString;
21 @property (copy, nullable) NSDictionary<NSString *, NSString *> *httpHeaders;
22
23 - (void)fetchAppcastFromURL:(NSURL *)url inBackground:(BOOL)bg completionBlock:(void (^)(NSError *_Nullable))err;
24 - (SUAppcast *)copyWithoutDeltaUpdates;
25
26 @property (readonly, copy, nullable) NSArray *items;
27 @end
28
29 NS_ASSUME_NONNULL_END
30
31 #endif