-----------------------------------------------------------------------
| 1708 | } |
| 1709 | //----------------------------------------------------------------------- |
| 1710 | time_t ResourceGroupManager::resourceModifiedTime( const String &groupName, |
| 1711 | const String &resourceName ) |
| 1712 | { |
| 1713 | OGRE_LOCK_AUTO_MUTEX; |
| 1714 | |
| 1715 | // Try to find in resource index first |
| 1716 | ResourceGroup *grp = getResourceGroup( groupName ); |
| 1717 | if( !grp ) |
| 1718 | { |
| 1719 | OGRE_EXCEPT( Exception::ERR_ITEM_NOT_FOUND, |
| 1720 | "Cannot locate a resource group called '" + groupName + "'", |
| 1721 | "ResourceGroupManager::resourceModifiedTime" ); |
| 1722 | } |
| 1723 | |
| 1724 | return resourceModifiedTime( grp, resourceName ); |
| 1725 | } |
| 1726 | //----------------------------------------------------------------------- |
| 1727 | time_t ResourceGroupManager::resourceModifiedTime( ResourceGroup *grp, const String &resourceName ) |
| 1728 | { |
nothing calls this directly
no test coverage detected