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