Skip to content
This repository has been archived by the owner on Mar 12, 2020. It is now read-only.

Refactor GeneratorInterface #4

Open
elazar opened this issue Sep 17, 2013 · 0 comments
Open

Refactor GeneratorInterface #4

elazar opened this issue Sep 17, 2013 · 0 comments

Comments

@elazar
Copy link
Member

elazar commented Sep 17, 2013

  • Move all event methods specific to the IRC RFC from GeneratorInterface to a new IrcGeneratorInterface interface.
  • Move all event methods events specific to the CTCP RFC to a new CtcpGeneratorInterface interface.
  • Modify GeneratorInterface to implement both of the IrcGeneratorInterface and CtcpGeneratorInterface interfaces.

This allows users to typehint for CTCP support when it's needed or to fall back to using only IRC support when CTCP support is not needed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant