Changes in perl/lib/BarnOwl/Hooks.pm [3aa0522:b30c256]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
perl/lib/BarnOwl/Hooks.pm
r3aa0522 rb30c256 79 79 our %EXPORT_TAGS = (all => [@EXPORT_OK]); 80 80 81 use BarnOwl::MainLoopCompatHook;82 83 81 our $startup = BarnOwl::Hook->new; 84 82 our $shutdown = BarnOwl::Hook->new; 85 83 our $receiveMessage = BarnOwl::Hook->new; 86 84 our $newMessage = BarnOwl::Hook->new; 87 our $mainLoop = BarnOwl:: MainLoopCompatHook->new;85 our $mainLoop = BarnOwl::Hook->new; 88 86 our $getBuddyList = BarnOwl::Hook->new; 89 87 our $getQuickstart = BarnOwl::Hook->new; … … 164 162 } 165 163 166 $mainLoop->check_owlconf();167 164 $startup->run(0); 168 165 BarnOwl::startup() if *BarnOwl::startup{CODE}; … … 189 186 190 187 BarnOwl::new_msg($m) if *BarnOwl::new_msg{CODE}; 188 } 189 190 sub _mainloop_hook { 191 $mainLoop->run; 192 BarnOwl::mainloop_hook() if *BarnOwl::mainloop_hook{CODE}; 191 193 } 192 194
Note: See TracChangeset
for help on using the changeset viewer.