RCTDocumentManager.m 725 B

12345678910111213141516171819202122
  1. // Copyright © 2014-2024 PDF Technologies, Inc. All Rights Reserved.
  2. //
  3. // THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
  4. // AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE ComPDFKit LICENSE AGREEMENT.
  5. // UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
  6. // This notice may not be removed from this file.
  7. //
  8. #import <React/RCTBridgeModule.h>
  9. @interface RCT_EXTERN_MODULE(CPDFViewManager, NSObject)
  10. RCT_EXTERN_METHOD(save:(NSInteger)tag
  11. withResolver:(RCTPromiseResolveBlock)resolve
  12. withRejecter:(RCTPromiseRejectBlock)reject)
  13. + (BOOL)requiresMainQueueSetup
  14. {
  15. return NO;
  16. }
  17. @end