WIP async API and kraken_convert

This commit is contained in:
Kearwood Kip Gilbert
2019-08-03 18:53:05 -07:00
parent dfce8148e3
commit b9c737ac2f
7 changed files with 49 additions and 3 deletions

View File

@@ -51,6 +51,14 @@ KRBundle *KRBundleManager::loadBundle(const char *szName, KRDataBlock *pData)
return pBundle;
}
KRBundle *KRBundleManager::createBundle(const char *szName)
{
// TODO: Check for name conflicts
KRBundle *pBundle = new KRBundle(*m_pContext, szName);
m_bundles[szName] = pBundle;
return pBundle;
}
KRBundle *KRBundleManager::getBundle(const char *szName) {
return m_bundles[szName];
}