18 #ifndef __H__OCULAR_RESOURCES_RESOURCE_LOADER_MANAGER__H__
19 #define __H__OCULAR_RESOURCES_RESOURCE_LOADER_MANAGER__H__
21 #include "ResourceLoader.hpp"
25 #include <unordered_map>
112 std::unordered_map<std::string, std::shared_ptr<AResourceLoader>> m_ResourceLoaderMap;
bool exploreResource(File const &file)
Definition: ResourceLoaderManager.cpp:153
void registerResourceLoader(std::shared_ptr< AResourceLoader > loader)
Definition: ResourceLoaderManager.cpp:44
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70
unsigned getNumberOfResourceLoaders() const
Definition: ResourceLoaderManager.cpp:177
bool isExtensionSupported(std::string const &extension) const
Definition: ResourceLoaderManager.cpp:182
Definition: ResourceLoaderManager.hpp:44
bool loadResource(Resource *&resource, File const &file, std::string const &mappingName)
Definition: ResourceLoaderManager.cpp:58
ResourceType getResourceType(std::string const &extension) const
Definition: ResourceLoaderManager.cpp:195
bool loadSubResource(Resource *&resource, File const &file, std::string const &mappingName)
Definition: ResourceLoaderManager.cpp:102
Definition: Resource.hpp:46