use eventbus::Event;
use super::IrcClientEvent;
use common::event::{IrcEvent, IrcLineEvent};
use common::Side;
use common::line::IrcLine;
pub struct ISupport {
line: IrcLine
}
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
}
}