Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add dummy host interface for terminal implementations #31

Merged
merged 1 commit into from
Oct 5, 2024

Conversation

62832
Copy link
Contributor

@62832 62832 commented Sep 4, 2024

Proposed Changes

In order for add-ons to more easily provide their own implementation of a Requester Terminal (e.g. AE2WTLib with a Wireless Requester Terminal, or Fullblock Energistics with a full-block Requester Terminal), this PR adds a common "host" interface to use for terminal implementations.

While the interface itself is effectively completely empty, due to the current part implementation itself not doing anything special (other than opening the menu which does all the heavy lifting instead), it means that the menu can be built against this host interface now rather than the specific part implementation, allowing add-ons to re-use the same menu without needing to create a duplicate Requester Terminal menu.

# Conflicts:
#	src/main/java/com/almostreliable/merequester/terminal/RequesterTerminalMenu.java
@rlnt rlnt changed the title Add dummy "host interface" for Requester Terminal implementations add dummy host interface for terminal implementations Oct 5, 2024
@rlnt rlnt merged commit 9cf4099 into AlmostReliable:1.21.1 Oct 5, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants