#ifdef _WIN32 #pragma once #include "shared.hpp" #include "pbo/archive.hpp" namespace ace { namespace pbo { class search { public: search(); search(const std::string &); const std::unordered_map & file_index() { return _file_pbo_index; } const std::vector & active_pbo_list() { return _active_pbo_list; } protected: bool index_files(); bool index_files(const std::string &); bool generate_pbo_list(); std::unordered_map _file_pbo_index; std::vector _active_pbo_list; std::vector _archives; }; typedef std::shared_ptr search_p; } } #endif