18 #ifndef __H__OCULAR_RESOURCES_RESOURCE_EXPLORER__H__
19 #define __H__OCULAR_RESOURCES_RESOURCE_EXPLORER__H__
21 #include "FileIO/Directory.hpp"
22 #include "Resource.hpp"
26 #include <unordered_map>
42 class ResourceLoaderManager;
62 void setBlacklist(std::list<std::string>
const& blacklist);
73 std::string
const& getResourceDirectoryName()
const;
135 std::unordered_map<std::string, bool> m_Blacklist;
136 std::string m_DirectoryName;
138 bool m_ExtensionSensitive;
Definition: ResourceExplorer.hpp:49
bool isBlacklisted(std::string const &extension)
Definition: ResourceExplorer.cpp:135
void populateFileMap(std::unordered_map< std::string, File > &fileMap, ResourceLoaderManager *loader)
Definition: ResourceExplorer.cpp:77
std::string getRelativePath(File const &file)
Definition: ResourceExplorer.cpp:126
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70
std::string getRelativePathFromResourceRoot(Directory root, File file)
Definition: ResourceExplorer.cpp:163
void findRootDirectories(std::list< Directory > &rootDirectories)
Definition: ResourceExplorer.cpp:147
Definition: ResourceLoaderManager.hpp:44
Definition: Directory.hpp:43
void setIsExtensionSensitive(bool sensitive)
Definition: ResourceExplorer.cpp:72
void setResourceDirectoryName(std::string const &name)
Definition: ResourceExplorer.cpp:62
void setBlacklist(std::list< std::string > const &blacklist)
Definition: ResourceExplorer.cpp:49