Frameworks/Sparkle.framework/Versions/A/Headers/SUErrors.h
branchadium-1.5.10.4
changeset 5985 5883c460b8cb
parent 5924 f0f2d246891c
equal deleted inserted replaced
5984:c42b73c02750 5985:5883c460b8cb
     7 //
     7 //
     8 
     8 
     9 #ifndef SUERRORS_H
     9 #ifndef SUERRORS_H
    10 #define SUERRORS_H
    10 #define SUERRORS_H
    11 
    11 
       
    12 #if __has_feature(modules)
       
    13 @import Foundation;
       
    14 #else
    12 #import <Foundation/Foundation.h>
    15 #import <Foundation/Foundation.h>
       
    16 #endif
    13 #import "SUExport.h"
    17 #import "SUExport.h"
    14 
    18 
    15 /**
    19 /**
    16  * Error domain used by Sparkle
    20  * Error domain used by Sparkle
    17  */
    21  */
    21     // Appcast phase errors.
    25     // Appcast phase errors.
    22     SUAppcastParseError = 1000,
    26     SUAppcastParseError = 1000,
    23     SUNoUpdateError = 1001,
    27     SUNoUpdateError = 1001,
    24     SUAppcastError = 1002,
    28     SUAppcastError = 1002,
    25     SURunningFromDiskImageError = 1003,
    29     SURunningFromDiskImageError = 1003,
    26     
    30 
    27     // Downlaod phase errors.
    31     // Download phase errors.
    28     SUTemporaryDirectoryError = 2000,
    32     SUTemporaryDirectoryError = 2000,
    29     
    33     SUDownloadError = 2001,
       
    34 
    30     // Extraction phase errors.
    35     // Extraction phase errors.
    31     SUUnarchivingError = 3000,
    36     SUUnarchivingError = 3000,
    32     SUSignatureError = 3001,
    37     SUSignatureError = 3001,
    33     
    38     
    34     // Installation phase errors.
    39     // Installation phase errors.
    37     SUMissingUpdateError = 4002,
    42     SUMissingUpdateError = 4002,
    38     SUMissingInstallerToolError = 4003,
    43     SUMissingInstallerToolError = 4003,
    39     SURelaunchError = 4004,
    44     SURelaunchError = 4004,
    40     SUInstallationError = 4005,
    45     SUInstallationError = 4005,
    41     SUDowngradeError = 4006,
    46     SUDowngradeError = 4006,
       
    47     SUInstallationCancelledError = 4007,
    42     
    48     
    43     // System phase errors
    49     // System phase errors
    44     SUSystemPowerOffError = 5000
    50     SUSystemPowerOffError = 5000
    45 };
    51 };
    46 
    52