UserEventCode.h 530 B

1234567891011121314151617181920
  1. #ifndef RVC_PORTABLESCANNER_USEREVENTCODE_H_
  2. #define RVC_PORTABLESCANNER_USEREVENTCODE_H_
  3. #define NORMAL_DEVICE_ID 0
  4. #define HANVON_DEVICE_ID 1 /*han wang*/
  5. #define KGR_DEVICE_ID 2 /*great wall*/
  6. #define ELOAM_DEVICE_ID 3 /*liangtian*/
  7. #define OPEN_CAMERA_FAILED 1
  8. #define START_PREVIEW_FAILED 2
  9. #define STOP_PREVIEW_FAILED 3
  10. #define PREVIEWING_OCCURS_EXCEPTION 4
  11. #define SCAN_IMAGE_FAILED 5
  12. #define SCAN_IMAGE_EX_FAILED 6
  13. #define RESET_CAMERE_FAILED 7
  14. #endif //RVC_PORTABLESCANNER_USEREVENTCODE_H_