KMConvertCompareViewController.h 998 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. //
  2. // KMConvertCompareViewController.h
  3. // PDF Reader Pro Edition
  4. //
  5. // Created by 丁林圭 on 2019/5/23.
  6. //
  7. #import <Cocoa/Cocoa.h>
  8. typedef NS_ENUM(NSInteger, KMConvertCompareType) {
  9. KMConvertCompareType_Compare,
  10. KMConvertCompareType_Month,
  11. KMConvertCompareType_Restore,
  12. KMConvertCompareType_OneTime,
  13. KMConvertCompareType_License
  14. };
  15. //typedef NS_ENUM(NSInteger, KMCompareWithToolType) {
  16. // KMCompareWithToolType_Convert,
  17. // KMCompareWithToolType_OCR,
  18. // KMCompareWithToolType_PageEdit,
  19. // KMCompareWithToolType_PDFEdit,
  20. // KMCompareWithToolType_FromSign,
  21. // KMCompareWithToolType_EditPDF,
  22. // KMCompareWithToolType_Sign
  23. //};
  24. @interface KMConvertCompareViewController : NSViewController
  25. typedef void(^CompareCallBackBlock)(KMConvertCompareType type);
  26. @property (nonatomic, copy) CompareCallBackBlock block;
  27. - (instancetype)initWithCompareType:(NSInteger)type selectIndex:(NSInteger)selectIndex;
  28. - (void)reloadData;
  29. - (void)removeObserver;
  30. @end