summaryrefslogtreecommitdiff
path: root/music.h
diff options
context:
space:
mode:
Diffstat (limited to 'music.h')
-rw-r--r--music.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/music.h b/music.h
index 0c4e421..3e2d24c 100644
--- a/music.h
+++ b/music.h
@@ -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);
};