mirror of
https://github.com/Huntereb/Awoo-Installer
synced 2024-11-15 16:27:58 +00:00
25 lines
715 B
C++
Executable file
25 lines
715 B
C++
Executable file
#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 NcmContentId& ncaId) override;
|
|
void InstallTicketCert() override;
|
|
|
|
public:
|
|
NSPInstallTask(tin::install::nsp::SimpleFileSystem& simpleFileSystem, FsStorageId destStorageId, bool ignoreReqFirmVersion);
|
|
};
|
|
};
|
|
|