import { NgModule, ModuleWithProviders } from '@angular/core';

import { FileProtocolService } from './services/file-protocol.service';

const SERVICES = [FileProtocolService];

@NgModule({
  declarations: [],
  imports: [],
  exports: []
})
export class UCapFileProtocolModule {
  public static forRoot(): ModuleWithProviders<UCapFileProtocolModule> {
    return {
      ngModule: UCapFileProtocolModule,
      providers: [...SERVICES]
    };
  }
}
