49 lines
1.2 KiB
C
49 lines
1.2 KiB
C
|
//
|
||
|
// SPUStatusCompletionResults.h
|
||
|
// Sparkle
|
||
|
//
|
||
|
// Created by Mayur Pawashe on 2/29/16.
|
||
|
// Copyright © 2016 Sparkle Project. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#ifndef SPUStatusCompletionResults_h
|
||
|
#define SPUStatusCompletionResults_h
|
||
|
|
||
|
#if __has_feature(modules)
|
||
|
#if __has_warning("-Watimport-in-framework-header")
|
||
|
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
||
|
#endif
|
||
|
@import Foundation;
|
||
|
#else
|
||
|
#import <Foundation/Foundation.h>
|
||
|
#endif
|
||
|
|
||
|
typedef NS_ENUM(NSUInteger, SPUUserInitiatedCheckStatus) {
|
||
|
SPUUserInitiatedCheckDone,
|
||
|
SPUUserInitiatedCheckCanceled
|
||
|
};
|
||
|
|
||
|
typedef NS_ENUM(NSUInteger, SPUDownloadUpdateStatus) {
|
||
|
SPUDownloadUpdateDone,
|
||
|
SPUDownloadUpdateCanceled
|
||
|
};
|
||
|
|
||
|
typedef NS_ENUM(NSUInteger, SPUInstallUpdateStatus) {
|
||
|
SPUInstallUpdateNow,
|
||
|
SPUInstallAndRelaunchUpdateNow,
|
||
|
SPUDismissUpdateInstallation
|
||
|
};
|
||
|
|
||
|
typedef NS_ENUM(NSInteger, SPUUpdateAlertChoice) {
|
||
|
SPUInstallUpdateChoice,
|
||
|
SPUInstallLaterChoice,
|
||
|
SPUSkipThisVersionChoice
|
||
|
};
|
||
|
|
||
|
typedef NS_ENUM(NSInteger, SPUInformationalUpdateAlertChoice) {
|
||
|
SPUDismissInformationalNoticeChoice,
|
||
|
SPUSkipThisInformationalVersionChoice
|
||
|
};
|
||
|
|
||
|
#endif /* SPUStatusCompletionResults_h */
|