// Library // // Douglas Thrift // // $Id$ #ifndef _Library_hpp_ #define _Library_hpp_ #include #ifndef MENES_PRAGMA_ONCE #pragma once #endif #include "MediaFolder.hpp" class Library { private: mutable _R connection; public: Library(const _R& connection); _L GetArtists() const; _L GetTitles() const; _L GetAlbums() const; _L GetGenres() const; _L GetFolders() const; _finline MediaFolder GetFolder(const api::Path& path) const { return MediaFolder(connection, path); } _finline MediaFile GetFile(const api::Path& path) const { return MediaFile(connection, path); } }; #endif//_Library_hpp_