KVIrc  4.9.2
DeveloperAPIs
KviKvsEventTable.h
Go to the documentation of this file.
1 #ifndef _KVI_KVS_EVENTTABLE_H_
2 #define _KVI_KVS_EVENTTABLE_H_
3 //=============================================================================
4 //
5 // File : KviKvsEventTable.h
6 // Creation date : Mon 23 Feb 2004 03:23:18 by Szymon Stefanek
7 //
8 // This file is part of the KVIrc IRC client distribution
9 // Copyright (C) 2004-2010 Szymon Stefanek <pragma at kvirc dot net>
10 //
11 // This program is FREE software. You can redistribute it and/or
12 // modify it under the terms of the GNU General Public License
13 // as published by the Free Software Foundation; either version 2
14 // of the License, or (at your option) any later version.
15 //
16 // This program is distributed in the HOPE that it will be USEFUL,
17 // but WITHOUT ANY WARRANTY; without even the implied warranty of
18 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19 // See the GNU General Public License for more details.
20 //
21 // You should have received a copy of the GNU General Public License
22 // along with this program. If not, write to the Free Software Foundation,
23 // Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
24 //
25 //=============================================================================
26 
33 // Application
61 #define KviEvent_OnKVIrcStartup 0
62 #define KviEvent_OnKVIrcShutdown 1
63 #define KviEvent_OnIrcContextCreated 2
64 #define KviEvent_OnIrcContextDestroyed 3
65 #define KviEvent_OnFrameWindowCreated 4
66 #define KviEvent_OnFrameWindowDestroyed 5
67 #define KviEvent_OnURL 6
68 #define KviEvent_OnError 7
69 #define KviEvent_OnAccelKeyPressed 8
70 #define KviEvent_OnHighlight 9
71 #define KviEvent_OnWindowActivated 10
72 #define KviEvent_OnNotifyOnLine 11
73 #define KviEvent_OnNotifyOffLine 12
74 #define KviEvent_OnPing 13
75 #define KviEvent_OnPong 14
76 #define KviEvent_OnLagAlarmTimeUp 15
77 #define KviEvent_OnLagAlarmTimeDown 16
78 #define KviEvent_OnLagCheck 17
79 #define KviEvent_OnTextInput 18
80 #define KviEvent_OnNotifyListDefaultActionRequest 19
81 #define KviEvent_OnWallops 20
82 #define KviEvent_OnIgnoredMessage 21
83 #define KviEvent_OnServerNotice 22
84 #define KviEvent_OnWindowTitleRequest 145
85 #define KviEvent_OnInputBarPaste 146
86 #define KviEvent_OnBroadcastNotice 148
87 
88 // Connection
99 #define KviEvent_OnIRCConnectionEstablished 23
100 #define KviEvent_OnIRCConnectionTerminated 24
101 #define KviEvent_OnIRC 25
102 #define KviEvent_OnNetsplit 26
103 #define KviEvent_OnDisconnectRequest 27
104 #define KviEvent_OnHTTPGetTerminated 28
105 #define KviEvent_OnUnhandledLiteral 29
106 #define KviEvent_OnOutboundTraffic 30
107 #define KviEvent_OnMeHostChange 153
108 
109 // Popups
125 #define KviEvent_OnChannelPopupRequest 31
126 #define KviEvent_OnConsolePopupRequest 32
127 #define KviEvent_OnQueryPopupRequest 33
128 #define KviEvent_OnWindowPopupRequest 34
129 #define KviEvent_OnHostLinkPopupRequest 35
130 #define KviEvent_OnURLLinkPopupRequest 36
131 #define KviEvent_OnServerLinkPopupRequest 37
132 #define KviEvent_OnChannelLinkPopupRequest 38
133 #define KviEvent_OnNickLinkPopupRequest 39
134 #define KviEvent_OnQueryNickPopupRequest 40
135 #define KviEvent_OnChannelNickPopupRequest 41
136 #define KviEvent_OnNotifyListPopupRequest 42
137 #define KviEvent_OnDCCChatPopupRequest 43
138 
139 // Channels
146 #define KviEvent_OnChannelWindowCreated 44
147 #define KviEvent_OnChannelSync 45
148 #define KviEvent_OnChannelMessage 46
149 #define KviEvent_OnChannelNotice 47
150 
151 // Queries
160 #define KviEvent_OnQueryMessage 48
161 #define KviEvent_OnQueryNotice 49
162 #define KviEvent_OnQueryWindowRequest 50
163 #define KviEvent_OnQueryWindowCreated 51
164 #define KviEvent_OnQueryTargetAdded 52
165 #define KviEvent_OnQueryFileDropped 53
166 
167 // Actions
180 #define KviEvent_OnMeAway 54
181 #define KviEvent_OnMeBack 55
182 #define KviEvent_OnJoin 56
183 #define KviEvent_OnMeJoin 57
184 #define KviEvent_OnPart 58
185 #define KviEvent_OnMePart 59
186 #define KviEvent_OnKick 60
187 #define KviEvent_OnMeKick 61
188 #define KviEvent_OnTopic 62
189 #define KviEvent_OnQuit 63
190 #define KviEvent_OnHostChange 154
191 #define KviEvent_OnAccount 155
192 #define KviEvent_OnAway 156
193 
194 // IRC modes
250 #define KviEvent_OnChannelModeChange 64
251 #define KviEvent_OnUserModeChange 65
252 #define KviEvent_OnBan 66
253 #define KviEvent_OnUnban 67
254 #define KviEvent_OnMeBan 68
255 #define KviEvent_OnMeUnban 69
256 #define KviEvent_OnBanException 70
257 #define KviEvent_OnBanExceptionRemove 71
258 #define KviEvent_OnMeBanException 72
259 #define KviEvent_OnMeBanExceptionRemove 73
260 #define KviEvent_OnInvite 74
261 #define KviEvent_OnInviteException 75
262 #define KviEvent_OnInviteExceptionRemove 76
263 #define KviEvent_OnMeInviteException 77
264 #define KviEvent_OnMeInviteExceptionRemove 78
265 #define KviEvent_OnQuietBan 149
266 #define KviEvent_OnQuietUnban 150
267 #define KviEvent_OnMeQuietBan 151
268 #define KviEvent_OnMeQuietUnban 152
269 #define KviEvent_OnLimitSet 79
270 #define KviEvent_OnLimitUnset 80
271 #define KviEvent_OnKeySet 81
272 #define KviEvent_OnKeyUnset 82
273 #define KviEvent_OnNickChange 83
274 #define KviEvent_OnMeNickChange 84
275 #define KviEvent_OnChanOwner 85
276 #define KviEvent_OnDeChanOwner 86
277 #define KviEvent_OnMeChanOwner 87
278 #define KviEvent_OnMeDeChanOwner 88
279 #define KviEvent_OnChanAdmin 89
280 #define KviEvent_OnDeChanAdmin 90
281 #define KviEvent_OnMeChanAdmin 91
282 #define KviEvent_OnMeDeChanAdmin 92
283 #define KviEvent_OnOp 93
284 #define KviEvent_OnDeOp 94
285 #define KviEvent_OnMeOp 95
286 #define KviEvent_OnMeDeOp 96
287 #define KviEvent_OnHalfOp 97
288 #define KviEvent_OnDeHalfOp 98
289 #define KviEvent_OnMeHalfOp 99
290 #define KviEvent_OnMeDeHalfOp 100
291 #define KviEvent_OnVoice 101
292 #define KviEvent_OnDeVoice 102
293 #define KviEvent_OnMeVoice 103
294 #define KviEvent_OnMeDeVoice 104
295 #define KviEvent_OnUserOp 105
296 #define KviEvent_OnDeUserOp 106
297 #define KviEvent_OnMeUserOp 107
298 #define KviEvent_OnMeDeUserOp 108
299 #define KviEvent_OnIrcOp 109
300 #define KviEvent_OnDeIrcOp 110
301 #define KviEvent_OnMeIrcOp 111
302 #define KviEvent_OnMeDeIrcOp 112
303 
304 // Services
311 #define KviEvent_OnChanServNotice 113
312 #define KviEvent_OnNickServNotice 114
313 #define KviEvent_OnNickServAuth 115
314 #define KviEvent_OnMemoServNotice 147
315 
316 // CTCPs
337 #define KviEvent_OnAction 116
338 #define KviEvent_OnMeAction 117
339 #define KviEvent_OnCTCPRequest 118
340 #define KviEvent_OnCTCPReply 119
341 #define KviEvent_OnCTCPFlood 120
342 #define KviEvent_OnDCCSessionCreated 121
343 #define KviEvent_OnDCCSessionDestroyed 122
344 #define KviEvent_OnDCCChatWindowCreated 123
345 #define KviEvent_OnDCCChatConnectionInProgress 124
346 #define KviEvent_OnDCCChatConnected 125
347 #define KviEvent_OnDCCChatMessage 126
348 #define KviEvent_OnDCCChatError 127
349 #define KviEvent_OnDCCChatDisconnected 128
350 #define KviEvent_OnDCCChatWindowClosing 129
351 #define KviEvent_OnDCCFileTransferConnectionInProgress 130
352 #define KviEvent_OnDCCFileTransferBegin 131
353 #define KviEvent_OnDCCFileTransferSuccess 132
354 #define KviEvent_OnDCCFileTransferFailed 133
355 
356 // Link clicks
370 #define KviEvent_OnChannelNickLinkClick 134
371 #define KviEvent_OnQueryNickLinkClick 135
372 #define KviEvent_OnConsoleNickLinkClick 136
373 #define KviEvent_OnHostLinkClick 137
374 #define KviEvent_OnURLLinkClick 138
375 #define KviEvent_OnChannelLinkClick 139
376 #define KviEvent_OnServerLinkClick 140
377 #define KviEvent_OnTextViewDoubleClicked 141
378 #define KviEvent_OnNickLinkDefaultActionRequest 142
379 #define KviEvent_OnChannelNickDefaultActionRequest 143
380 #define KviEvent_OnQueryNickDefaultActionRequest 144
381 
383 #define KVI_KVS_NUM_APP_EVENTS 157
384 
385 #endif //_KVI_KVS_EVENTTABLE_H_