mirror of
https://github.com/jakcron/nstool.git
synced 2024-12-22 18:55:29 +00:00
34 lines
608 B
C++
34 lines
608 B
C++
#pragma once
|
|
#include "types.h"
|
|
|
|
#include <nn/hac/ApplicationControlProperty.h>
|
|
|
|
namespace nstool {
|
|
|
|
class NacpProcess
|
|
{
|
|
public:
|
|
NacpProcess();
|
|
|
|
void process();
|
|
|
|
void setInputFile(const std::shared_ptr<tc::io::IStream>& file);
|
|
void setCliOutputMode(CliOutputMode type);
|
|
void setVerifyMode(bool verify);
|
|
|
|
const nn::hac::ApplicationControlProperty& getApplicationControlProperty() const;
|
|
|
|
private:
|
|
std::string mModuleName;
|
|
|
|
std::shared_ptr<tc::io::IStream> mFile;
|
|
CliOutputMode mCliOutputMode;
|
|
bool mVerify;
|
|
|
|
nn::hac::ApplicationControlProperty mNacp;
|
|
|
|
void importNacp();
|
|
void displayNacp();
|
|
};
|
|
|
|
} |