blob: c704980ccf483b7754c01132911f7780035b672a (
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
|
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();
}
}
|