blob: 7adccfd834d6809244cf563a03b3235706407557 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
import { injectable, inject } from 'tsyringe';
import NavigationPresenter from '../presenters/NavigationPresenter';
@injectable()
export default class NavigateUseCase {
constructor(
@inject('NavigationPresenter')
private navigationPresenter: NavigationPresenter,
) {
}
openHistoryPrev(): void {
this.navigationPresenter.openHistoryPrev();
}
openHistoryNext(): void {
this.navigationPresenter.openHistoryNext();
}
openLinkPrev(): void {
this.navigationPresenter.openLinkPrev();
}
openLinkNext(): void {
this.navigationPresenter.openLinkNext();
}
}
|