import OHIFDicomPDFSopClassHandler from './OHIFDicomPDFSopClassHandler.js';
import OHIFDicomPDFViewport from './OHIFDicomPDFViewport.js';

export default class OHIFDicomPDFExtension {
  /**
   * Extension ID is a unique id, might be used for namespacing extension specific redux actions/reducers (?)
   */
  getExtensionId() {
    return 'pdf';
  }

  getViewportModule() {
    return OHIFDicomPDFViewport;
  }

  getSopClassHandlerModule() {
    return OHIFDicomPDFSopClassHandler;
  }
}

import OHIFDicomPDFSopClassHandler from './OHIFDicomPDFSopClassHandler.js';
import OHIFDicomPDFViewport from './OHIFDicomPDFViewport.js';

export default {
  /**
   * Only required property. Should be a unique value across all extensions.
   */
  id: 'pdf',

  getViewportModule() {
    return OHIFDicomPDFViewport;
  },
  getSopClassHandlerModule() {
    return OHIFDicomPDFSopClassHandler;
  }
};

Use new extension interface