diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2011-01-02 01:16:35 +0100 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2011-01-02 01:16:35 +0100 |
commit | 3d5901b73cc4e46e57233ea3ccc9b27ffba4c7df (patch) | |
tree | 9a3a3d79f6f8acac9a4298a719dcfcf42fa39596 /music.h | |
parent | 75f14984fa648c66ba6677f0d7c84429169e95f1 (diff) |
Moved MusicDirectory conversion code to music::get_directory().
Diffstat (limited to 'music.h')
-rw-r--r-- | music.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -25,6 +25,7 @@ class MusicTrack : public MusicListing { class MusicDirectory : public MusicListing { public: + typedef boost::shared_ptr<MusicDirectory> p; typedef std::vector<fs::path> PathListings; PathListings directories; PathListings tracks; @@ -38,6 +39,7 @@ namespace music { void init(std::string root); MusicListing::p get(const std::vector<std::string>& path); MusicListing::p get(const std::string& path); + MusicDirectory::p get_directory(const std::string& path); std::vector<MusicListing::p> find_artist(const std::string artist); }; |