You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xBAK/cresourcearchive.cpp

27 lines
376 B
C++

#include "cexception.h"
#include "cresourcearchive.h"
cResourceArchive::cResourceArchive()
: cResourceFile()
{
}
cResourceArchive::~cResourceArchive()
{
}
void cResourceArchive::loadResource(cFileBuffer &buffer, const std::streamoff offset)
{
try
{
seek(offset);
load(buffer);
}
catch (cException &e)
{
e.print("ResourceArchive::LoadResource");
throw;
}
}