aboutsummaryrefslogtreecommitdiff
path: root/src/content/client/FollowSlaveClientFactory.ts
blob: 166dfca5dd1843f3c1af450a4306cd63d411547f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
import FollowSlaveClient, { FollowSlaveClientImpl } from './FollowSlaveClient';

export default interface FollowSlaveClientFactory {
  create(window: Window): FollowSlaveClient;
}

export class FollowSlaveClientFactoryImpl implements FollowSlaveClientFactory {
  create(window: Window): FollowSlaveClient {
    return new FollowSlaveClientImpl(window);
  }
}