1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-21 12:49:10 +00:00

Fixes to make it compile properly.

This commit is contained in:
Darryl Pogue
2011-04-25 19:15:54 -07:00
parent e3cb83f76c
commit 547ce8c090
2 changed files with 14 additions and 1 deletions

View File

@ -34,6 +34,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
// //
//////////////////////////////////////////////////////////////////////////////
#include "hsTypes.h"
#include "plCachedFileReader.h"
//// Constructor/Destructor //////////////////////////////////////////////////
@ -84,6 +85,13 @@ void plCachedFileReader::IError(const char *msg)
Close();
}
plWAVHeader &plCachedFileReader::GetHeader()
{
hsAssert(IsValid(), "GetHeader() called on an invalid cache file");
return fHeader;
}
void plCachedFileReader::Close()
{
if (fFileHandle != nil)