From b0ae07d0e1a750afabce530d23288212ca1fd5b6 Mon Sep 17 00:00:00 2001 From: Tom Feist Date: Mon, 12 Jul 2010 21:13:36 +0100 Subject: started marking up signals for auto-generation --- docs/Signals.pm | 105 +++++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 101 insertions(+), 4 deletions(-) (limited to 'docs/Signals.pm') diff --git a/docs/Signals.pm b/docs/Signals.pm index d6d3ec9..1fadc32 100644 --- a/docs/Signals.pm +++ b/docs/Signals.pm @@ -13,6 +13,88 @@ Irssi. See L +=begin irssi_signal_types + +=head SIGNAL ARGUMENT TYPES + +=over + +=item C C + +=item C C + +=item C C + +=item C C + +=item C C + +=item C C + + + +=item C C + +=item C C + +=item C C + +=item C C + +=item C C + +=item C C + +=item C C + +=item C C + +=item C C + +=item C C + +=item C C + + +=item C C + +=item C C + +=item C C + + +=item C C + +=item C C + +=item C C + +=item C C + +=item C C + + +=item C C + +=item C C + +=item C C + +=item C C + +=item C C + +=item C C + + + +=item C C + +=back + + +=end irssi_signal_types + =head1 SIGNAL DEFINITIONS The following signals are categorised as in the original documentation, but @@ -20,21 +102,25 @@ have been revised to note Perl variable types and class names. Arguments are passed to signal handlers in the usual way, via C<@_>. - +=for irssi_signal_defs START OF SIGNAL DEFINITIONS =head2 Core =over 4 =item C<"gui exit"> + I =item C<"gui dialog"> - string C<$type>, string C<$text> + +string C<$type>, string C<$text> =item C<"send command"> - C L C<$server>, L - C<$window_item> + +C, +L C<$server>, +L C<$window_item> =back @@ -503,3 +589,14 @@ B =item C<"script error"> PERL_SCRIPT_REC, string C<$errormsg> =back + +=for irssi_signal_defs END OF SIGNAL DEFINITIONS + +=head1 SIGNAL AUTO-GENERATION + +This file is used to auto-generate the signal definitions used by Irssi, and hence +must be edited in order to add new signals. + +=head2 Format + + -- cgit v1.2.3