Awoo-Installer/include/install/install_nsp_remote.hpp

23 lines
No EOL
596 B
C++
Executable file

#pragma once
#include <switch.h>
#include <string>
#include "install/install.hpp"
#include "install/remote_nsp.hpp"
namespace tin::install::nsp
{
class RemoteNSPInstall : public Install
{
private:
RemoteNSP* m_remoteNSP;
protected:
std::tuple<nx::ncm::ContentMeta, NcmContentInfo> ReadCNMT() override;
void InstallNCA(const NcmContentId& ncaId) override;
void InstallTicketCert() override;
public:
RemoteNSPInstall(FsStorageId destStorageId, bool ignoreReqFirmVersion, RemoteNSP* remoteNSP);
};
}