]>
Commit | Line | Data |
---|---|---|
83d20a45 CS |
1 | # |
2 | # This file is part of Audio::MPD::Common | |
3 | # Copyright (c) 2007 Jerome Quelin, all rights reserved. | |
4 | # | |
5 | # This program is free software; you can redistribute it and/or modify | |
6 | # it under the same terms as Perl itself. | |
7 | # | |
8 | # | |
9 | ||
10 | package Audio::MPD::Common::Item::Directory; | |
11 | ||
12 | use strict; | |
13 | use warnings; | |
14 | ||
15 | use base qw[ Class::Accessor::Fast Audio::MPD::Common::Item ]; | |
16 | __PACKAGE__->mk_accessors( qw[ directory ] ); | |
17 | ||
18 | #our ($VERSION) = '$Rev: 5645 $' =~ /(\d+)/; | |
19 | ||
20 | 1; | |
21 | ||
22 | __END__ | |
23 | ||
24 | ||
25 | =head1 NAME | |
26 | ||
27 | Audio::MPD::Common::Item::Directory - a directory object | |
28 | ||
29 | ||
30 | =head1 SYNOPSIS | |
31 | ||
32 | print $item->directory . "\n"; | |
33 | ||
34 | ||
35 | =head1 DESCRIPTION | |
36 | ||
37 | C<Audio::MPD::Common::Item::Directory> is more a placeholder for a | |
38 | hash ref with one pre-defined key, namely the directory name. | |
39 | ||
40 | ||
41 | =head1 PUBLIC METHODS | |
42 | ||
43 | This module only has a C<new()> constructor, which should only be called by | |
44 | C<Audio::MPD::Common::Item>'s constructor. | |
45 | ||
46 | The only other public method is an accessor: directory(). | |
47 | ||
48 | ||
49 | =head1 SEE ALSO | |
50 | ||
51 | =over 4 | |
52 | ||
53 | =item L<Audio::MPD> | |
54 | ||
55 | =item L<POE::Component::Client::MPD> | |
56 | ||
57 | =back | |
58 | ||
59 | ||
60 | =head1 AUTHOR | |
61 | ||
62 | Jerome Quelin, C<< <jquelin at cpan.org> >> | |
63 | ||
64 | ||
65 | =head1 COPYRIGHT & LICENSE | |
66 | ||
67 | Copyright (c) 2007 Jerome Quelin, all rights reserved. | |
68 | ||
69 | This program is free software; you can redistribute it and/or modify | |
70 | it under the same terms as Perl itself. | |
71 | ||
72 | =cut |