mirror of
https://github.com/jakcron/nstool
synced 2024-11-15 10:16:42 +00:00
36 lines
No EOL
671 B
C++
36 lines
No EOL
671 B
C++
#pragma once
|
|
#include <string>
|
|
#include <fnd/types.h>
|
|
#include <fnd/IFile.h>
|
|
#include <fnd/SharedPtr.h>
|
|
#include <nn/hac/ContentMeta.h>
|
|
|
|
#include "common.h"
|
|
|
|
class CnmtProcess
|
|
{
|
|
public:
|
|
CnmtProcess();
|
|
|
|
void process();
|
|
|
|
void setInputFile(const fnd::SharedPtr<fnd::IFile>& file);
|
|
void setCliOutputMode(CliOutputMode type);
|
|
void setVerifyMode(bool verify);
|
|
|
|
const nn::hac::ContentMeta& getContentMeta() const;
|
|
|
|
private:
|
|
const std::string kModuleName = "CnmtProcess";
|
|
|
|
fnd::SharedPtr<fnd::IFile> mFile;
|
|
CliOutputMode mCliOutputMode;
|
|
bool mVerify;
|
|
|
|
nn::hac::ContentMeta mCnmt;
|
|
|
|
void importCnmt();
|
|
void displayCnmt();
|
|
|
|
const char* getBoolStr(bool state) const;
|
|
}; |