Files

29 lines
860 B
C++
Raw Permalink Normal View History

2024-01-05 10:15:41 -06:00
#pragma once
#include "Resource.h"
2024-03-26 21:26:31 -04:00
#include "ResourceFactoryBinary.h"
#include "ResourceFactoryXML.h"
2024-01-05 10:15:41 -06:00
2024-03-26 21:26:31 -04:00
namespace SOH {
class ResourceFactoryBinaryTextMMV0 : public Ship::ResourceFactoryBinary {
2024-03-26 21:26:31 -04:00
public:
std::shared_ptr<Ship::IResource> ReadResource(std::shared_ptr<Ship::File> file) override;
2024-03-26 21:26:31 -04:00
};
class ResourceFactoryXMLTextMMV0 : public Ship::ResourceFactoryXML {
2024-03-26 21:26:31 -04:00
public:
std::shared_ptr<Ship::IResource> ReadResource(std::shared_ptr<Ship::File> file) override;
2024-03-26 21:26:31 -04:00
};
#if 0
class TextMMFactory : public Ship::ResourceFactoryBinary
2024-01-05 10:15:41 -06:00
{
public:
std::shared_ptr<IResource>
ReadResource(std::shared_ptr<ResourceInitData> initData, std::shared_ptr<BinaryReader> reader) override;
std::shared_ptr<IResource>
ReadResourceXML(std::shared_ptr<ResourceInitData> initData, tinyxml2::XMLElement *reader) override;
};
2024-03-26 21:26:31 -04:00
#endif
2024-05-22 09:52:56 -04:00
}; // namespace SOH