eirc 0.0.0

Event-based/Extensible Internet Relay Chat library.
Documentation
use eventbus::Event;
use super::IrcClientEvent;
use common::event::{IrcEvent, IrcLineEvent};
use common::Side;
use common::line::IrcLine;

pub struct ISupport {
  line: IrcLine
  // TODO add fields
}

rwlock_event!(ISupport);

impl IrcEvent for ISupport {
  fn get_side(&self) -> Side {
    Side::Client
  }
}

impl IrcClientEvent for ISupport {

}

impl IrcLineEvent for ISupport {
  fn get_line(&self) -> &IrcLine {
    &self.line
  }
}