OpenPDFModuleBridge.m 835 B

1234567891011121314151617181920212223242526
  1. //
  2. // OpenPDFModuleBridge.m
  3. // ComPDFKit_RN
  4. //
  5. // Copyright © 2014-2023 PDF Technologies, Inc. All Rights Reserved.
  6. //
  7. // THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
  8. // AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE ComPDFKit LICENSE AGREEMENT.
  9. // UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
  10. // This notice may not be removed from this file.
  11. //
  12. #import "OpenPDFModuleBridge.h"
  13. #import <React/RCTBridgeModule.h>
  14. @interface RCT_EXTERN_MODULE(OpenPDFModule, NSObject)
  15. RCT_EXTERN_METHOD(openPDF:(NSString *) configurationJson)
  16. RCT_EXTERN_METHOD(openPDFByConfiguration:(NSString *)filePath password:(NSString *)password configurationJson:(NSString *)configurationJson)
  17. @end
  18. @implementation OpenPDFModuleBridge
  19. @end