line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#============================================================= -*-perl-*- |
2
|
|
|
|
|
|
|
# |
3
|
|
|
|
|
|
|
# Kite |
4
|
|
|
|
|
|
|
# |
5
|
|
|
|
|
|
|
# DESCRIPTION |
6
|
|
|
|
|
|
|
# Front-end for the Kite::* modules. Currently just a placeholder |
7
|
|
|
|
|
|
|
# for a version number for the bundle. |
8
|
|
|
|
|
|
|
# |
9
|
|
|
|
|
|
|
# AUTHOR |
10
|
|
|
|
|
|
|
# Andy Wardley |
11
|
|
|
|
|
|
|
# |
12
|
|
|
|
|
|
|
# COPYRIGHT |
13
|
|
|
|
|
|
|
# Copyright (C) 2000 Andy Wardley. All Rights Reserved. |
14
|
|
|
|
|
|
|
# |
15
|
|
|
|
|
|
|
# This module is free software; you can redistribute it and/or |
16
|
|
|
|
|
|
|
# modify it under the same terms as Perl itself. |
17
|
|
|
|
|
|
|
# |
18
|
|
|
|
|
|
|
# VERSION |
19
|
|
|
|
|
|
|
# $Id: Kite.pm,v 1.3 2000/10/17 11:58:16 abw Exp $ |
20
|
|
|
|
|
|
|
# |
21
|
|
|
|
|
|
|
#======================================================================== |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
package Kite; |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
require 5.004; |
26
|
|
|
|
|
|
|
|
27
|
1
|
|
|
1
|
|
3280
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
37
|
|
28
|
1
|
|
|
1
|
|
796
|
use Kite::Base; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
38
|
|
29
|
1
|
|
|
1
|
|
7
|
use base qw( Kite::Base ); |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
146
|
|
30
|
1
|
|
|
1
|
|
5
|
use vars qw( $VERSION $ERROR $DEBUG ); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
309
|
|
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
$VERSION = 0.4; |
33
|
|
|
|
|
|
|
$DEBUG = 0 unless defined $DEBUG; |
34
|
|
|
|
|
|
|
$ERROR = ''; |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
sub profile { |
38
|
2
|
|
|
2
|
1
|
51
|
my $class = shift; |
39
|
2
|
|
|
|
|
722
|
require Kite::Profile; |
40
|
2
|
|
66
|
|
|
18
|
return Kite::Profile->new(@_) |
41
|
|
|
|
|
|
|
|| $class->error($Kite::Profile::ERROR); |
42
|
|
|
|
|
|
|
} |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
sub xml2ps { |
46
|
0
|
|
|
0
|
1
|
|
my $class = shift; |
47
|
0
|
|
|
|
|
|
require Kite::XML2PS; |
48
|
0
|
|
0
|
|
|
|
return Kite::XML2PS->new(@_) |
49
|
|
|
|
|
|
|
|| $class->error($Kite::XML2PS::ERROR); |
50
|
|
|
|
|
|
|
} |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
sub xml_parser { |
53
|
0
|
|
|
0
|
1
|
|
my $class = shift; |
54
|
0
|
|
|
|
|
|
require Kite::XML::Parser; |
55
|
0
|
|
0
|
|
|
|
return Kite::XML::Parser->new(@_) |
56
|
|
|
|
|
|
|
|| $class->error($Kite::XML::Parser::ERROR); |
57
|
|
|
|
|
|
|
} |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
1; |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
__END__ |