Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • perl/lib/BarnOwl/Hooks.pm

    r3aa0522 rb30c256  
    7979our %EXPORT_TAGS = (all => [@EXPORT_OK]);
    8080
    81 use BarnOwl::MainLoopCompatHook;
    82 
    8381our $startup = BarnOwl::Hook->new;
    8482our $shutdown = BarnOwl::Hook->new;
    8583our $receiveMessage = BarnOwl::Hook->new;
    8684our $newMessage = BarnOwl::Hook->new;
    87 our $mainLoop = BarnOwl::MainLoopCompatHook->new;
     85our $mainLoop = BarnOwl::Hook->new;
    8886our $getBuddyList = BarnOwl::Hook->new;
    8987our $getQuickstart = BarnOwl::Hook->new;
     
    164162    }
    165163   
    166     $mainLoop->check_owlconf();
    167164    $startup->run(0);
    168165    BarnOwl::startup() if *BarnOwl::startup{CODE};
     
    189186   
    190187    BarnOwl::new_msg($m) if *BarnOwl::new_msg{CODE};
     188}
     189
     190sub _mainloop_hook {
     191    $mainLoop->run;
     192    BarnOwl::mainloop_hook() if *BarnOwl::mainloop_hook{CODE};
    191193}
    192194
Note: See TracChangeset for help on using the changeset viewer.