1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
use std::sync::Arc;
use loirc::Event;
use {Channel, ChannelUser, ChannelUserStatus, Code, Irc, Message, PrefixUser};
pub trait Listener {
#[allow(unused_variables)]
fn any(&mut self, irc: Arc<Irc>, event: &Event) {}
#[allow(unused_variables)]
fn msg(&mut self, irc: Arc<Irc>, msg: &Message) {}
#[allow(unused_variables)]
fn error_msg(&mut self, irc: Arc<Irc>, code: &Code, err: &Message) {}
#[allow(unused_variables)]
fn close(&mut self, irc: Arc<Irc>, reason: &str) {}
#[allow(unused_variables)]
fn disconnect(&mut self, irc: Arc<Irc>) {}
#[allow(unused_variables)]
fn reconnecting(&mut self, irc: Arc<Irc>) {}
#[allow(unused_variables)]
fn reconnect(&mut self, irc: Arc<Irc>) {}
#[allow(unused_variables)]
fn welcome(&mut self, irc: Arc<Irc>) {}
#[allow(unused_variables)]
fn channel_join(&mut self, irc: Arc<Irc>, channel: Arc<Channel>) {}
#[allow(unused_variables)]
fn user_join(&mut self, irc: Arc<Irc>, channel: Arc<Channel>, user: Arc<ChannelUser>) {}
#[allow(unused_variables)]
fn user_part(&mut self, irc: Arc<Irc>, channel: Arc<Channel>, user: Arc<ChannelUser>) {}
#[allow(unused_variables)]
fn user_quit(&mut self, irc: Arc<Irc>, nickname: &str) {}
#[allow(unused_variables)]
fn channel_msg(&mut self, irc: Arc<Irc>, channel: Arc<Channel>, sender: Arc<ChannelUser>, message: &str) {}
#[allow(unused_variables)]
fn channel_notice(&mut self, irc: Arc<Irc>, channel: Arc<Channel>, sender: Arc<ChannelUser>, message: &str) {}
#[allow(unused_variables)]
fn private_msg(&mut self, irc: Arc<Irc>, sender: &PrefixUser, message: &str) {}
#[allow(unused_variables)]
fn private_notice(&mut self, irc: Arc<Irc>, sender: &PrefixUser, message: &str) {}
#[allow(unused_variables)]
fn topic(&mut self, irc: Arc<Irc>, channel: Arc<Channel>, topic: Option<Arc<String>>) {}
#[allow(unused_variables)]
fn topic_change(&mut self, irc: Arc<Irc>, channel: Arc<Channel>, topic: Option<Arc<String>>) {}
#[allow(unused_variables)]
fn nick_change(&mut self, irc: Arc<Irc>, oldnick: &str, newnick: &str) {}
#[allow(unused_variables)]
fn kick(&mut self, irc: Arc<Irc>, channel: Arc<Channel>, user: Arc<ChannelUser>) {}
#[allow(unused_variables)]
fn ping(&mut self, irc: Arc<Irc>, server: &str) {}
#[allow(unused_variables)]
fn pong(&mut self, irc: Arc<Irc>, server: &str) {}
#[allow(unused_variables)]
fn user_mode_change(&mut self, irc: Arc<Irc>, channel: Arc<Channel>, user: Arc<ChannelUser>,
old_status: ChannelUserStatus, new_status: ChannelUserStatus) {}
}