A fork of https://github.com/ueokande/vim-vixen
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
598 B
27 lines
598 B
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(); |
|
} |
|
}
|
|
|