Add source code for ctrtool

This commit is contained in:
jakcron
2022-03-12 16:00:33 +08:00
parent 6ad2f13c50
commit 800f5776bc
681 changed files with 219734 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
#pragma once
#include "types.h"
#include <tc/Optional.h>
#include <tc/io/Path.h>
#include <tc/io/IStream.h>
namespace ctrtool {
class LzssProcess
{
public:
LzssProcess();
void setInputStream(const std::shared_ptr<tc::io::IStream>& input_stream);
void setExtractPath(const tc::io::Path& extract_path);
void process();
private:
std::string mModuleLabel;
std::shared_ptr<tc::io::IStream> mInputStream;
tc::Optional<tc::io::Path> mExtractPath;
};
}