From f0db6a4e4e6b3059c6553b819ac8788b62486103 Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Tue, 4 Jan 2011 03:17:45 +0100 Subject: Added Doxyfile and documentation comments in various places. --- music.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'music.h') diff --git a/music.h b/music.h index c019136..ed47657 100644 --- a/music.h +++ b/music.h @@ -9,19 +9,23 @@ namespace fs = boost::filesystem; +//! Generalized abstract class for music content. class MusicListing { public: typedef boost::shared_ptr p; fs::path path; + //! Render the content for HTTP transport. virtual void render(HTTP::Connection::p req) = 0; }; +//! Represents a track. class MusicTrack : public MusicListing { public: MusicTrack(const fs::path path); virtual void render(HTTP::Connection::p req); }; +//! Represents a directory. class MusicDirectory : public MusicListing { public: typedef boost::shared_ptr p; -- cgit v1.2.3