MCPcopy Create free account
hub / github.com/TankOs/SFGUI / ResourceManager

Method ResourceManager

src/SFGUI/ResourceManager.cpp:12–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10namespace sfg {
11
12ResourceManager::ResourceManager( bool use_default_font ) :
13 m_use_default_font( use_default_font )
14{
15 // Add file resource loader as fallback.
16 CreateLoader<FileResourceLoader>();
17}
18
19std::shared_ptr<const ResourceLoader> ResourceManager::GetLoader( const std::string& id ) {
20 auto loader_iter = m_loaders.find( id );

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected