Revision: | 1.30.8.1 |
Committed: | Thu Mar 13 12:54:49 2008 UTC (17 years, 1 month ago) by muzaffar |
Content type: | text/plain |
Branch: | SCRAM_V2_0 |
CVS Tags: | V2_2_2, V2_2_2_pre4, V2_2_2_pre3, V2_2_2_pre2, V2_2_2_pre1, V2_2_2-pre1, V2_2_1, forV2_2_1, V2_2_0, sm100112, V2_1_4, V2_1_3, V2_1_2, V2_1_1, V2_1_0, V2_0_6, V2_0_5, V2_0_4, V2_0_4_relcand2, V2_0_4_relcand1, V2_0_3, V2_0_3_relcand3, V2_0_3_relcand2, V2_0_3_relcand1, V2_0_2, V2_0_2_relcand1, V2_0_1, V2_0_1_relcand4, V2_0_1_relcand3, V2_0_1_relcand2, V2_0_1_relcand1, V2_0_0_relcand4, V2_0_0, V2_0_0_relcand3, V2_0_0_relcand2, V2_0_0_relcand1 |
Changes since 1.30: | +1 -30 lines |
Log Message: | scram v2.0 for multiple arch support and big lib stuff |
# | Content |
---|---|
1 | # |
2 | # ActiveDoc.pm |
3 | # |
4 | # Originally Written by Christopher Williams |
5 | # |
6 | # Description |
7 | # |
8 | # Interface |
9 | # --------- |
10 | # new(ActiveStore) : A new ActiveDoc object |
11 | # url() : Return/set the docs url - essential |
12 | # |
13 | # -- error methods -- |
14 | # error(string) : Report an general error to the user |
15 | # parseerror(string) : Report an error during parsing a file |
16 | package ActiveDoc::ActiveDoc; |
17 | require 5.004; |
18 | use ActiveDoc::SimpleURLDoc; |
19 | use Utilities::Verbose; |
20 | |
21 | @ISA = qw(ActiveDoc::SimpleURLDoc Utilities::Verbose); |
22 | |
23 | sub new() |
24 | { |
25 | my $class=shift; |
26 | my $self={}; |
27 | bless $self, $class; |
28 | return $self; |
29 | } |
30 | |
31 | sub included_file() |
32 | { |
33 | my $self=shift; |
34 | @_ ? $self->{included_file} = shift |
35 | : $self->{included_file}; |
36 | } |
37 | |
38 | # ------------------- Tag Routines ----------------------------------- |
39 | sub include() |
40 | { |
41 | my $self=shift; |
42 | my (%attributes)=@_; |
43 | $self->included_file($self->fullpath($attributes{'url'})); |
44 | } |
45 | |
46 | sub include_() |
47 | { |
48 | } |
49 | |
50 | 1; |