ExtractFileCallbackReason.cs 612 B

123456789101112131415161718192021222324252627
  1. #if UNMANAGED
  2. namespace SevenZip
  3. {
  4. /// <summary>
  5. /// The reason for calling <see cref="ExtractFileCallback"/>.
  6. /// </summary>
  7. public enum ExtractFileCallbackReason
  8. {
  9. /// <summary>
  10. /// <see cref="ExtractFileCallback"/> is called the first time for a file.
  11. /// </summary>
  12. Start,
  13. /// <summary>
  14. /// All data has been written to the target without any exceptions.
  15. /// </summary>
  16. Done,
  17. /// <summary>
  18. /// An exception occurred during extraction of the file.
  19. /// </summary>
  20. Failure
  21. }
  22. }
  23. #endif