- Timestamp:
- Aug 8, 2013, 2:38:50 PM (11 years ago)
- Branches:
- master, release-1.10
- Children:
- ecd4edf
- Parents:
- a38becd
- git-author:
- Jason Gross <jgross@mit.edu> (07/21/11 18:17:41)
- git-committer:
- Edward Z. Yang <ezyang@mit.edu> (08/08/13 14:38:50)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
perl/lib/BarnOwl/Hooks.pm
ra38becd r120dac7 35 35 36 36 Called before BarnOwl shutdown 37 38 =item $wakeup 39 40 Called, at most once per second, on user input 37 41 38 42 =item $receiveMessage … … 88 92 89 93 our @EXPORT_OK = qw($startup $shutdown 94 $wakeup 90 95 $receiveMessage $newMessage 91 96 $mainLoop $getBuddyList … … 99 104 our $startup = BarnOwl::Hook->new; 100 105 our $shutdown = BarnOwl::Hook->new; 106 our $wakeup = BarnOwl::Hook->new; 101 107 our $receiveMessage = BarnOwl::Hook->new; 102 108 our $newMessage = BarnOwl::Hook->new; … … 194 200 } 195 201 202 sub _wakeup { 203 $wakeup->run; 204 } 205 196 206 sub _receive_msg { 197 207 my $m = shift;
Note: See TracChangeset
for help on using the changeset viewer.