// 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 connector; public: Library(const _R& connector); _L GetFolders(unsigned page) const; unsigned GetFoldersPages() const; _finline MediaFolder GetFolder(const api::Path& path) const { return MediaFolder(connector, path); } _L GetFiles(const _L& bys, const _L& items, unsigned page) const; unsigned GetFilesPages(const _L& bys, const _L& items) const; _finline MediaFile GetFile(const api::Path& path) const { return MediaFile(connector, path); } _L GetItems(_L bys, _L items, unsigned page) const; unsigned GetItemsPages(_L bys, const _L& items) const; }; #endif//_Library_hpp_