Capability proxying for Modules
asiekierka opened this issue ยท 3 comments
tl;dr: If there's a Module on a given side which implements ICapabilityProvider, hasCapability/getCapability should proxy those methods to the Module on that side.
I could have sworn this was in already, but then I realized I only did that in Circuity.
Should not be too bad... (famous last words). Would also allow making some modules require less special logic. I'll have a poke at it.
Thanks! I want it in particular for adding compatibility with certain Charset features.
Done as of e5f35e3. Changed Infrared Module to use this as a test case, works fine. Pushed as 1.3.1 to Curse.
Curious to see what you'll do with that :3
(To make it work, just implement ICapabilityProvider
on the module.)