nod/include/NOD/DiscWii.hpp

31 lines
787 B
C++
Raw Normal View History

2015-06-26 19:30:03 +00:00
#ifndef __NOD_DISC_WII__
#define __NOD_DISC_WII__
#include "DiscBase.hpp"
namespace NOD
{
class DiscWii : public DiscBase
{
public:
2015-06-28 05:43:53 +00:00
DiscWii(std::unique_ptr<IDiscIO>&& dio);
2016-01-22 23:45:58 +00:00
void writeOutDataPartitionHeader(const SystemChar* pathOut) const;
};
class DiscBuilderWii : public DiscBuilderBase
{
2016-01-22 23:45:58 +00:00
bool m_dualLayer;
public:
2016-01-22 23:45:58 +00:00
DiscBuilderWii(const SystemChar* outPath, const char gameID[6], const char* gameTitle, bool dualLayer,
std::function<void(size_t, const SystemString&, size_t)> progressCB);
2016-01-25 02:00:02 +00:00
bool buildFromDirectory(const SystemChar* dirIn,
const SystemChar* dolIn,
const SystemChar* apploaderIn,
const SystemChar* partHeadIn);
2015-06-26 19:30:03 +00:00
};
}
#endif // __NOD_DISC_WII__