#pragma once #include "types.h" #include namespace nstool { class NacpProcess { public: NacpProcess(); void process(); void setInputFile(const std::shared_ptr& file); void setCliOutputMode(CliOutputMode type); void setVerifyMode(bool verify); const nn::hac::ApplicationControlProperty& getApplicationControlProperty() const; private: const std::string kModuleName = "NacpProcess"; std::shared_ptr mFile; CliOutputMode mCliOutputMode; bool mVerify; nn::hac::ApplicationControlProperty mNacp; void importNacp(); void displayNacp(); }; }