release-1.10release-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
Last change
on this file since 65fca7a0 was
df569c5,
checked in by Nelson Elhage <nelhage@mit.edu>, 15 years ago
|
Add a perl hook that is called once Zephyr is initialized.
Some functions, like ZGetSender(), cannot be usefully or safely called
until Zephyr is initialized, so add a hook so that perl code can
safely wait until they are available to call them.
|
-
Property mode set to
100644
|
File size:
203 bytes
|
Rev | Line | |
---|
[df569c5] | 1 | use warnings; |
---|
| 2 | use strict; |
---|
| 3 | |
---|
| 4 | =head1 NAME |
---|
| 5 | |
---|
| 6 | BarnOwl::Zephyr |
---|
| 7 | |
---|
| 8 | =cut |
---|
| 9 | |
---|
| 10 | package BarnOwl::Zephyr; |
---|
| 11 | |
---|
| 12 | use BarnOwl::Hook; |
---|
| 13 | |
---|
| 14 | my $zephyrStartup = BarnOwl::Hook->new; |
---|
| 15 | |
---|
| 16 | sub _zephyr_startup { |
---|
| 17 | $zephyrStartup->run; |
---|
| 18 | } |
---|
| 19 | |
---|
| 20 | 1; |
---|
Note: See
TracBrowser
for help on using the repository browser.