---------------------------------------------------------------------
| 231 | } |
| 232 | //--------------------------------------------------------------------- |
| 233 | PageContentCollection* PageManager::createContentCollection(const String& typeName) |
| 234 | { |
| 235 | PageContentCollectionFactory* fact = getContentCollectionFactory(typeName); |
| 236 | if (!fact) |
| 237 | OGRE_EXCEPT(Exception::ERR_ITEM_NOT_FOUND, |
| 238 | typeName + " is not the name of a valid PageContentCollectionFactory", |
| 239 | "PageManager::createContentCollection"); |
| 240 | |
| 241 | return fact->createInstance(); |
| 242 | } |
| 243 | //--------------------------------------------------------------------- |
| 244 | void PageManager::destroyContentCollection(PageContentCollection* coll) |
| 245 | { |
nothing calls this directly
no test coverage detected