19 lines
453 B
C++
19 lines
453 B
C++
#pragma once
|
|
|
|
#include "Resource.h"
|
|
#include "ResourceFactory.h"
|
|
|
|
namespace Ship {
|
|
class AudioSampleFactory : public ResourceFactory
|
|
{
|
|
public:
|
|
std::shared_ptr<Resource> ReadResource(uint32_t version, std::shared_ptr<BinaryReader> reader);
|
|
};
|
|
|
|
class AudioSampleFactoryV0 : public ResourceVersionFactory
|
|
{
|
|
public:
|
|
void ParseFileBinary(std::shared_ptr<BinaryReader> reader, std::shared_ptr<Resource> resource) override;
|
|
};
|
|
}; // namespace Ship
|