#ifndef CSM_WOLRD_RESOURCES_H #define CSM_WOLRD_RESOURCES_H #include #include #include namespace CSMWorld { class Resources { std::map mIndex; std::vector mFiles; std::string mBaseDirectory; public: Resources (const std::string& baseDirectory, const char * const *extensions = 0); int getSize() const; std::string getId (int index) const; int getIndex (const std::string& id) const; int searchId (const std::string& id) const; }; } #endif