18 #ifndef __H__OCULAR_RESOURCES_RESOURCE_SAVER_MANAGER__H__
19 #define __H__OCULAR_RESOURCES_RESOURCE_SAVER_MANAGER__H__
21 #include "ResourceSaver.hpp"
25 #include <unordered_map>
84 std::unordered_map<std::string, std::shared_ptr<AResourceSaver>> m_ResourceSaverMap;
void registerResourceSaver(std::shared_ptr< AResourceSaver > saver)
Definition: ResourceSaverManager.cpp:44
Definition: ResourceSaverManager.hpp:44
bool saveResource(Resource *resource, File const &file)
Definition: ResourceSaverManager.cpp:58
unsigned getNumberOfResourceSavers() const
Definition: ResourceSaverManager.cpp:87
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70
bool isExtensionSupported(std::string const &extension) const
Definition: ResourceSaverManager.cpp:92
Definition: Resource.hpp:46