summaryrefslogtreecommitdiff
path: root/src/perl/ui/UI.pm
blob: 83b9ef29ad61d27ebcffacf2dc2ff89e72d1464c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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;