[project @ 6343]
[audio-mpd-common.git] / lib / Audio / MPD / Common / Item / Directory.pm
blob5da4a7a5ab3d86e9edd04333947d73c99a68b4cc
2 # This file is part of Audio::MPD::Common
3 # Copyright (c) 2007 Jerome Quelin, all rights reserved.
5 # This program is free software; you can redistribute it and/or modify
6 # it under the same terms as Perl itself.
10 package POE::Component::Client::MPD::Item::Directory;
12 use strict;
13 use warnings;
15 use base qw[ Class::Accessor::Fast POE::Component::Client::MPD::Item ];
16 __PACKAGE__->mk_accessors( qw[ directory ] );
18 #our ($VERSION) = '$Rev: 5645 $' =~ /(\d+)/;
22 __END__
24 =head1 NAME
26 Audio::MPD::Common::Item::Directory - a directory object
29 =head1 SYNOPSIS
31 print $item->directory . "\n";
34 =head1 DESCRIPTION
36 C<Audio::MPD::Common::Item::Directory> is more a placeholder for a
37 hash ref with one pre-defined key, namely the directory name.
40 =head1 PUBLIC METHODS
42 This module only has a C<new()> constructor, which should only be called by
43 C<POE::Component::Client::MPD::Item>'s constructor.
45 The only other public method is an accessor: directory().
48 =head1 SEE ALSO
50 =over 4
52 =item L<Audio::MPD>
54 =item L<POE::Component::Client::MPD>
56 =back
59 =head1 AUTHOR
61 Jerome Quelin, C<< <jquelin at cpan.org> >>
64 =head1 COPYRIGHT & LICENSE
66 Copyright (c) 2007 Jerome Quelin, all rights reserved.
68 This program is free software; you can redistribute it and/or modify
69 it under the same terms as Perl itself.
71 =cut