src/test/testmodfactory.cpp
const klk::IResourcesPtr ModuleFactory::getResources(const std::string& id)
{
    if (id.find(klk::test::HELPPREFIX) != std::string::npos)
    {
        // return empty
        // don't search for help modules
        return klk::IResourcesPtr();
    }

    return klk::ModuleFactory::getResources(id);
}
// Gets resources by module's id
Gets resources by module's id
Gets resources by module ' s id
const klk::IResourcesPtr ModuleFactory::getResources(const std::string& id)
{
    if (id.find(klk::test::HELPPREFIX) != std::string::npos)
    {
        return klk::IResourcesPtr();
    }
    return klk::ModuleFactory::getResources(id);
}
const klk :: IResourcesPtr ModuleFactory :: getResources ( const std :: string & id ) { if ( id . find ( klk :: test :: HELPPREFIX ) != std :: string :: npos ) { return klk :: IResourcesPtr ( ) ; } return klk :: ModuleFactory :: getResources ( id ) ; }
Gets resources by module's id
Gets resources by module ' s id
// return empty // don't search for help modules