mirror of
https://github.com/Huntereb/Awoo-Installer
synced 2024-11-26 21:50:26 +00:00
26 lines
711 B
C++
26 lines
711 B
C++
|
#pragma once
|
||
|
|
||
|
#include <switch.h>
|
||
|
#include "install/install.hpp"
|
||
|
#include "install/simple_filesystem.hpp"
|
||
|
#include "nx/content_meta.hpp"
|
||
|
#include "nx/ipc/tin_ipc.h"
|
||
|
|
||
|
namespace tin::install::nsp
|
||
|
{
|
||
|
class NSPInstallTask : public Install
|
||
|
{
|
||
|
private:
|
||
|
tin::install::nsp::SimpleFileSystem* const m_simpleFileSystem;
|
||
|
|
||
|
protected:
|
||
|
std::tuple<nx::ncm::ContentMeta, NcmContentInfo> ReadCNMT() override;
|
||
|
void InstallNCA(const NcmNcaId& ncaId) override;
|
||
|
void InstallTicketCert() override;
|
||
|
|
||
|
public:
|
||
|
NSPInstallTask(tin::install::nsp::SimpleFileSystem& simpleFileSystem, FsStorageId destStorageId, bool ignoreReqFirmVersion);
|
||
|
};
|
||
|
};
|
||
|
|