[project @ 6332]
[audio-mpd-common.git] / lib / POE / Component / Client / MPD / Item / Directory.pm
blobf626f5a26d9fb8257c4635f7093b5324365c977d
2 # This file is part of POE::Component::Client::MPD.
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 POE::Component::Client::MPD::Item::Directory - a directory object
29 =head1 SYNOPSIS
31 print $item->directory . "\n";
34 =head1 DESCRIPTION
36 C<POE::Component::Client::MPD::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 For all related information (bug reporting, mailing-list, pointers to
51 MPD and POE, etc.), refer to C<POE::Component::Client::MPD>'s pod,
52 section C<SEE ALSO>
55 =head1 AUTHOR
57 Jerome Quelin, C<< <jquelin at cpan.org> >>
60 =head1 COPYRIGHT & LICENSE
62 Copyright (c) 2007 Jerome Quelin, all rights reserved.
64 This program is free software; you can redistribute it and/or modify
65 it under the same terms as Perl itself.
67 =cut