Pass entire Hdf to Extension::moduleLoad()

This lets us move parsing of runtime options
to the extensions which actually use them.

Nobody is currently using this functionality, so changing
what gets passed isn't a BC break worth worrying about.

I'll post some followup diffs pulling things out of
RuntimeOptions.
Esse commit está contido em:
Sara Golemon
2013-07-24 10:04:01 -07:00
commit 1824c359ea
+1 -1
Ver Arquivo
@@ -52,7 +52,7 @@ void Extension::LoadModules(Hdf hdf) {
assert(s_registered_extensions);
for (ExtensionMap::const_iterator iter = s_registered_extensions->begin();
iter != s_registered_extensions->end(); ++iter) {
iter->second->moduleLoad(hdf["Extensions"][iter->second->m_name.c_str()]);
iter->second->moduleLoad(hdf);
}
}