Frameworks/Sparkle.framework/Versions/A/Headers/SUAppcast.h
author Thijs Alkemade <me@thijsalkema.de>
Sun, 23 Apr 2017 21:05:16 +0200
branchadium-1.5.10.4
changeset 5985 5883c460b8cb
parent 5924 f0f2d246891c
permissions -rw-r--r--
Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
4222
889cdeb32f63 Back out the Sparkle subrepository changes. The Xcode file is updated too frequently to make this workable.
Thijs Alkemade <thijsalkemade@gmail.com>
parents:
diff changeset
     1
//
889cdeb32f63 Back out the Sparkle subrepository changes. The Xcode file is updated too frequently to make this workable.
Thijs Alkemade <thijsalkemade@gmail.com>
parents:
diff changeset
     2
//  SUAppcast.h
889cdeb32f63 Back out the Sparkle subrepository changes. The Xcode file is updated too frequently to make this workable.
Thijs Alkemade <thijsalkemade@gmail.com>
parents:
diff changeset
     3
//  Sparkle
889cdeb32f63 Back out the Sparkle subrepository changes. The Xcode file is updated too frequently to make this workable.
Thijs Alkemade <thijsalkemade@gmail.com>
parents:
diff changeset
     4
//
889cdeb32f63 Back out the Sparkle subrepository changes. The Xcode file is updated too frequently to make this workable.
Thijs Alkemade <thijsalkemade@gmail.com>
parents:
diff changeset
     5
//  Created by Andy Matuschak on 3/12/06.
889cdeb32f63 Back out the Sparkle subrepository changes. The Xcode file is updated too frequently to make this workable.
Thijs Alkemade <thijsalkemade@gmail.com>
parents:
diff changeset
     6
//  Copyright 2006 Andy Matuschak. All rights reserved.
889cdeb32f63 Back out the Sparkle subrepository changes. The Xcode file is updated too frequently to make this workable.
Thijs Alkemade <thijsalkemade@gmail.com>
parents:
diff changeset
     7
//
889cdeb32f63 Back out the Sparkle subrepository changes. The Xcode file is updated too frequently to make this workable.
Thijs Alkemade <thijsalkemade@gmail.com>
parents:
diff changeset
     8
889cdeb32f63 Back out the Sparkle subrepository changes. The Xcode file is updated too frequently to make this workable.
Thijs Alkemade <thijsalkemade@gmail.com>
parents:
diff changeset
     9
#ifndef SUAPPCAST_H
889cdeb32f63 Back out the Sparkle subrepository changes. The Xcode file is updated too frequently to make this workable.
Thijs Alkemade <thijsalkemade@gmail.com>
parents:
diff changeset
    10
#define SUAPPCAST_H
889cdeb32f63 Back out the Sparkle subrepository changes. The Xcode file is updated too frequently to make this workable.
Thijs Alkemade <thijsalkemade@gmail.com>
parents:
diff changeset
    11
5985
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents: 5924
diff changeset
    12
#if __has_feature(modules)
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents: 5924
diff changeset
    13
@import Foundation;
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents: 5924
diff changeset
    14
#else
5924
f0f2d246891c Updated Sparkle to 1.13.1.
Thijs Alkemade <me@thijsalkema.de>
parents: 4418
diff changeset
    15
#import <Foundation/Foundation.h>
5985
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents: 5924
diff changeset
    16
#endif
5924
f0f2d246891c Updated Sparkle to 1.13.1.
Thijs Alkemade <me@thijsalkema.de>
parents: 4418
diff changeset
    17
#import "SUExport.h"
4222
889cdeb32f63 Back out the Sparkle subrepository changes. The Xcode file is updated too frequently to make this workable.
Thijs Alkemade <thijsalkemade@gmail.com>
parents:
diff changeset
    18
5985
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents: 5924
diff changeset
    19
NS_ASSUME_NONNULL_BEGIN
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents: 5924
diff changeset
    20
5924
f0f2d246891c Updated Sparkle to 1.13.1.
Thijs Alkemade <me@thijsalkema.de>
parents: 4418
diff changeset
    21
@class SUAppcastItem;
f0f2d246891c Updated Sparkle to 1.13.1.
Thijs Alkemade <me@thijsalkema.de>
parents: 4418
diff changeset
    22
SU_EXPORT @interface SUAppcast : NSObject<NSURLDownloadDelegate>
4222
889cdeb32f63 Back out the Sparkle subrepository changes. The Xcode file is updated too frequently to make this workable.
Thijs Alkemade <thijsalkemade@gmail.com>
parents:
diff changeset
    23
5985
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents: 5924
diff changeset
    24
@property (copy, nullable) NSString *userAgentString;
4222
889cdeb32f63 Back out the Sparkle subrepository changes. The Xcode file is updated too frequently to make this workable.
Thijs Alkemade <thijsalkemade@gmail.com>
parents:
diff changeset
    25
5985
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents: 5924
diff changeset
    26
#if __has_feature(objc_generics)
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents: 5924
diff changeset
    27
@property (copy, nullable) NSDictionary<NSString *, NSString *> *httpHeaders;
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents: 5924
diff changeset
    28
#else
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents: 5924
diff changeset
    29
@property (copy, nullable) NSDictionary *httpHeaders;
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents: 5924
diff changeset
    30
#endif
4222
889cdeb32f63 Back out the Sparkle subrepository changes. The Xcode file is updated too frequently to make this workable.
Thijs Alkemade <thijsalkemade@gmail.com>
parents:
diff changeset
    31
5985
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents: 5924
diff changeset
    32
- (void)fetchAppcastFromURL:(NSURL *)url inBackground:(BOOL)bg completionBlock:(void (^)(NSError *_Nullable))err;
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents: 5924
diff changeset
    33
- (SUAppcast *)copyWithoutDeltaUpdates;
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents: 5924
diff changeset
    34
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents: 5924
diff changeset
    35
@property (readonly, copy, nullable) NSArray *items;
4222
889cdeb32f63 Back out the Sparkle subrepository changes. The Xcode file is updated too frequently to make this workable.
Thijs Alkemade <thijsalkemade@gmail.com>
parents:
diff changeset
    36
@end
889cdeb32f63 Back out the Sparkle subrepository changes. The Xcode file is updated too frequently to make this workable.
Thijs Alkemade <thijsalkemade@gmail.com>
parents:
diff changeset
    37
5985
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents: 5924
diff changeset
    38
NS_ASSUME_NONNULL_END
5883c460b8cb Updated Sparkle to 1.17.0, to fix a problem when copying broken symlinks.
Thijs Alkemade <me@thijsalkema.de>
parents: 5924
diff changeset
    39
4222
889cdeb32f63 Back out the Sparkle subrepository changes. The Xcode file is updated too frequently to make this workable.
Thijs Alkemade <thijsalkemade@gmail.com>
parents:
diff changeset
    40
#endif