Files
smcFanControl/Sparkle.framework/Versions/A/Headers/SUAppcast.h

28 lines
590 B
C
Raw Normal View History

2012-08-20 21:34:54 +02:00
//
// SUAppcast.h
// Sparkle
//
// Created by Andy Matuschak on 3/12/06.
// Copyright 2006 Andy Matuschak. All rights reserved.
//
#ifndef SUAPPCAST_H
#define SUAPPCAST_H
2012-08-20 21:34:54 +02:00
2016-03-21 14:34:34 +01:00
#import <Foundation/Foundation.h>
#import "SUExport.h"
@class SUAppcastItem;
2016-03-21 14:34:34 +01:00
SU_EXPORT @interface SUAppcast : NSObject<NSURLDownloadDelegate>
2012-08-20 21:34:54 +02:00
2016-03-21 14:34:34 +01:00
@property (copy) NSString *userAgentString;
@property (copy) NSDictionary *httpHeaders;
2012-08-20 21:34:54 +02:00
2016-03-21 14:34:34 +01:00
- (void)fetchAppcastFromURL:(NSURL *)url completionBlock:(void (^)(NSError *))err;
- (SUAppcast *)copyWithoutDeltaUpdates;
2012-08-20 21:34:54 +02:00
2016-03-21 14:34:34 +01:00
@property (readonly, copy) NSArray *items;
2012-08-20 21:34:54 +02:00
@end
#endif