2019-10-17 23:59:34 -04:00
|
|
|
#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;
|
2019-10-24 21:33:41 -04:00
|
|
|
void InstallNCA(const NcmContentId& ncaId) override;
|
2019-10-17 23:59:34 -04:00
|
|
|
void InstallTicketCert() override;
|
|
|
|
|
|
|
|
public:
|
|
|
|
RemoteNSPInstall(FsStorageId destStorageId, bool ignoreReqFirmVersion, RemoteNSP* remoteNSP);
|
|
|
|
};
|
|
|
|
}
|