QrCodeHelper.h 712 B

1234567891011121314151617181920212223242526272829
  1. //
  2. // QrCodeHelper.h
  3. // WFChatUIKit
  4. //
  5. // Created by heavyrain lee on 2019/3/3.
  6. // Copyright © 2019 heavyrain lee. All rights reserved.
  7. //
  8. #ifndef QrCodeHelper_h
  9. #define QrCodeHelper_h
  10. #import <UIKit/UIKit.h>
  11. #define QRType_User 0
  12. #define QRType_Group 1
  13. #define QRType_Channel 2
  14. #define QRType_Chatroom 3
  15. #define QRType_PC_Session 4
  16. #define QRType_Conference 5
  17. @protocol QrCodeDelegate <NSObject>
  18. - (void)showQrCodeViewController:(UINavigationController *)navigator type:(int)type target:(NSString *)target;
  19. - (void)scanQrCode:(UINavigationController *)navigator;
  20. @end
  21. extern id<QrCodeDelegate> gQrCodeDelegate;
  22. extern void setQrCodeDelegate(id<QrCodeDelegate> delegate);
  23. #endif /* QrCodeHelper_h */