Expose Footprint::GetShape and TemplateManager::FindAllTemplates to scripts.

Make CSimContext accessible to all component code, so they don't all
have to save their own copies of it.

This was SVN commit r7490.
This commit is contained in:
Ykkrosh
2010-05-01 09:48:39 +00:00
parent c5f8ca32a2
commit 4fe991074f
18 changed files with 144 additions and 110 deletions
@@ -217,3 +217,8 @@ template<> jsval ScriptInterface::ToJSVal<std::vector<u32> >(JSContext* cx, cons
{
return ToJSVal_vector(cx, val);
}
template<> jsval ScriptInterface::ToJSVal<std::vector<std::wstring> >(JSContext* cx, const std::vector<std::wstring>& val)
{
return ToJSVal_vector(cx, val);
}