diff options
Diffstat (limited to 'src/perl/ui/UI.pm')
-rw-r--r-- | src/perl/ui/UI.pm | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/perl/ui/UI.pm b/src/perl/ui/UI.pm new file mode 100644 index 0000000..83b9ef2 --- /dev/null +++ b/src/perl/ui/UI.pm @@ -0,0 +1,29 @@ +# +# Perl interface to irssi functions. +# + +package Irssi::UI; + +use strict; +use vars qw($VERSION @ISA @EXPORT @EXPORT_OK); + +$VERSION = "0.9"; + +require Exporter; +require DynaLoader; + +sub Irssi::UI::Window::create_handle { + goto &Irssi::create_window_handle; +} + +@ISA = qw(Exporter DynaLoader); +@EXPORT = qw(); +@EXPORT_OK = qw(); + +bootstrap Irssi::UI $VERSION if (!Irssi::Core::is_static()); + +Irssi::UI::init(); + +Irssi::EXPORT_ALL(); + +1; |