AutopatcherPatchContext.h 744 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * Copyright (c) 2014, Oculus VR, Inc.
  3. * All rights reserved.
  4. *
  5. * This source code is licensed under the BSD-style license found in the
  6. * LICENSE file in the root directory of this source tree. An additional grant
  7. * of patent rights can be found in the PATENTS file in the same directory.
  8. *
  9. */
  10. #ifndef __AUTOPATCHER_PATCH_CONTEXT_H
  11. #define __AUTOPATCHER_PATCH_CONTEXT_H
  12. enum PatchContext
  13. {
  14. PC_HASH_1_WITH_PATCH,
  15. PC_HASH_2_WITH_PATCH,
  16. PC_WRITE_FILE,
  17. PC_ERROR_FILE_WRITE_FAILURE,
  18. PC_ERROR_PATCH_TARGET_MISSING,
  19. PC_ERROR_PATCH_APPLICATION_FAILURE,
  20. PC_ERROR_PATCH_RESULT_CHECKSUM_FAILURE,
  21. PC_NOTICE_WILL_COPY_ON_RESTART,
  22. PC_NOTICE_FILE_DOWNLOADED,
  23. PC_NOTICE_FILE_DOWNLOADED_PATCH,
  24. };
  25. #endif
粤ICP备19079148号