LivenessDetection_def_g.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. #ifndef __LIVENESSDETECTION_DEF_G_H
  2. #define __LIVENESSDETECTION_DEF_G_H
  3. #pragma once
  4. // This code is generated by spgen tool!
  5. #include "SpHelper.h"
  6. namespace LivenessDetection {
  7. //
  8. // const goes here
  9. //
  10. #define LivenessDetectionService_Method_StartLivenessDetection 0
  11. #define LivenessDetectionService_Method_StopLivenessDetection 1
  12. #define LivenessDetectionService_MethodSignature_StartLivenessDetection 1875899628
  13. #define LivenessDetectionService_MethodSignature_StopLivenessDetection -698442534
  14. #define LivenessDetectionService_LogCode_StartLivenessDetection "QLR040231400"
  15. #define LivenessDetectionService_LogCode_StopLivenessDetection "QLR040231401"
  16. struct LivenessDetectionService_StartLivenessDetection_Req
  17. {
  18. CSimpleStringW ActionID;
  19. bool IsActive;
  20. CSimpleStringW Reserved;
  21. void Serialize(SpBuffer &Buf)
  22. {
  23. auto & buf = Buf & ActionID & IsActive & Reserved;
  24. }
  25. };
  26. struct LivenessDetectionService_StartLivenessDetection_Ans
  27. {
  28. void Serialize(SpBuffer &Buf)
  29. {
  30. }
  31. };
  32. struct LivenessDetectionService_StopLivenessDetection_Req
  33. {
  34. CSimpleStringW ActionID;
  35. void Serialize(SpBuffer &Buf)
  36. {
  37. auto & buf = Buf & ActionID;
  38. }
  39. };
  40. struct LivenessDetectionService_StopLivenessDetection_Ans
  41. {
  42. CSimpleStringW ActionID;
  43. CSimpleStringW VerifyResult;
  44. CBlob LivePhotosData;
  45. CSimpleStringW LivePhotosLength;
  46. void Serialize(SpBuffer &Buf)
  47. {
  48. auto & buf = Buf & ActionID & VerifyResult & LivePhotosData & LivePhotosLength;
  49. }
  50. };
  51. ///////////////////////////
  52. } // namespace LivenessDetection
  53. #endif // __LIVENESSDETECTION_DEF_G_H