misc/libphysfs/lzma/CPP/7zip/UI/Common/ExitCode.h
branchui-scaling
changeset 15283 c4fd2813b127
parent 13390 0135e64c6c66
parent 15279 7ab5cf405686
child 15663 d92eeb468dad
equal deleted inserted replaced
13390:0135e64c6c66 15283:c4fd2813b127
     1 // ExitCode.h
       
     2 
       
     3 #ifndef __EXIT_CODE_H
       
     4 #define __EXIT_CODE_H
       
     5 
       
     6 namespace NExitCode {
       
     7 
       
     8 enum EEnum {
       
     9 
       
    10   kSuccess       = 0,     // Successful operation
       
    11   kWarning       = 1,     // Non fatal error(s) occurred
       
    12   kFatalError    = 2,     // A fatal error occurred
       
    13   // kCRCError      = 3,     // A CRC error occurred when unpacking     
       
    14   // kLockedArchive = 4,     // Attempt to modify an archive previously locked
       
    15   // kWriteError    = 5,     // Write to disk error
       
    16   // kOpenError     = 6,     // Open file error
       
    17   kUserError     = 7,     // Command line option error
       
    18   kMemoryError   = 8,     // Not enough memory for operation
       
    19   // kCreateFileError = 9,     // Create file error
       
    20   
       
    21   kUserBreak     = 255   // User stopped the process
       
    22 
       
    23 };
       
    24 
       
    25 }
       
    26 
       
    27 #endif