Skip to content

add dummy host interface for terminal implementations - #31

Merged
rlnt merged 1 commit into
AlmostReliable:1.21.1from
62832:host-interface
Oct 5, 2024
Merged

add dummy host interface for terminal implementations#31
rlnt merged 1 commit into
AlmostReliable:1.21.1from
62832:host-interface

Conversation

@62832

@62832 62832 commented Sep 4, 2024

Copy link
Copy Markdown
Contributor

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
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