mirror of
https://github.com/jakcron/nstool
synced 2024-11-22 21:49:30 +00:00
[fnd|...] Renamed ISerialisable to IByteModel
This commit is contained in:
parent
1c338f1176
commit
2439250fdf
25 changed files with 455 additions and 455 deletions
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <fnd/ISerialisable.h>
|
#include <fnd/IByteModel.h>
|
||||||
#include <nn/es/ticket.h>
|
#include <nn/es/ticket.h>
|
||||||
|
|
||||||
namespace nn
|
namespace nn
|
||||||
|
@ -8,7 +8,7 @@ namespace nn
|
||||||
namespace es
|
namespace es
|
||||||
{
|
{
|
||||||
class SectionHeader_V2 :
|
class SectionHeader_V2 :
|
||||||
public fnd::ISerialisable
|
public fnd::IByteModel
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
SectionHeader_V2();
|
SectionHeader_V2();
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <fnd/ISerialisable.h>
|
#include <fnd/IByteModel.h>
|
||||||
#include <fnd/List.h>
|
#include <fnd/List.h>
|
||||||
#include <nn/es/ticket.h>
|
#include <nn/es/ticket.h>
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ namespace nn
|
||||||
namespace es
|
namespace es
|
||||||
{
|
{
|
||||||
class TicketBody_V2 :
|
class TicketBody_V2 :
|
||||||
public fnd::ISerialisable
|
public fnd::IByteModel
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
TicketBody_V2();
|
TicketBody_V2();
|
||||||
|
|
|
@ -4,10 +4,10 @@
|
||||||
|
|
||||||
namespace fnd
|
namespace fnd
|
||||||
{
|
{
|
||||||
class ISerialisable
|
class IByteModel
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
virtual ~ISerialisable() = default;
|
virtual ~IByteModel() = default;
|
||||||
|
|
||||||
// serialise
|
// serialise
|
||||||
virtual void toBytes() = 0;
|
virtual void toBytes() = 0;
|
|
@ -129,9 +129,9 @@
|
||||||
<ClInclude Include="include\fnd\elf.h" />
|
<ClInclude Include="include\fnd\elf.h" />
|
||||||
<ClInclude Include="include\fnd\Endian.h" />
|
<ClInclude Include="include\fnd\Endian.h" />
|
||||||
<ClInclude Include="include\fnd\Exception.h" />
|
<ClInclude Include="include\fnd\Exception.h" />
|
||||||
|
<ClInclude Include="include\fnd\IByteModel.h" />
|
||||||
<ClInclude Include="include\fnd\IFile.h" />
|
<ClInclude Include="include\fnd\IFile.h" />
|
||||||
<ClInclude Include="include\fnd\io.h" />
|
<ClInclude Include="include\fnd\io.h" />
|
||||||
<ClInclude Include="include\fnd\ISerialisable.h" />
|
|
||||||
<ClInclude Include="include\fnd\LayeredIntegrityMetadata.h" />
|
<ClInclude Include="include\fnd\LayeredIntegrityMetadata.h" />
|
||||||
<ClInclude Include="include\fnd\LayeredIntegrityWrappedIFile.h" />
|
<ClInclude Include="include\fnd\LayeredIntegrityWrappedIFile.h" />
|
||||||
<ClInclude Include="include\fnd\List.h" />
|
<ClInclude Include="include\fnd\List.h" />
|
||||||
|
|
|
@ -42,15 +42,15 @@
|
||||||
<ClInclude Include="include\fnd\Exception.h">
|
<ClInclude Include="include\fnd\Exception.h">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
<ClInclude Include="include\fnd\IByteModel.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
<ClInclude Include="include\fnd\IFile.h">
|
<ClInclude Include="include\fnd\IFile.h">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="include\fnd\io.h">
|
<ClInclude Include="include\fnd\io.h">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="include\fnd\ISerialisable.h">
|
|
||||||
<Filter>Header Files</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="include\fnd\LayeredIntegrityMetadata.h">
|
<ClInclude Include="include\fnd\LayeredIntegrityMetadata.h">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <nn/hac/aset.h>
|
#include <nn/hac/aset.h>
|
||||||
#include <fnd/List.h>
|
#include <fnd/List.h>
|
||||||
#include <fnd/ISerialisable.h>
|
#include <fnd/IByteModel.h>
|
||||||
|
|
||||||
namespace nn
|
namespace nn
|
||||||
{
|
{
|
||||||
namespace hac
|
namespace hac
|
||||||
{
|
{
|
||||||
class AssetHeader :
|
class AssetHeader :
|
||||||
public fnd::ISerialisable
|
public fnd::IByteModel
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
struct sSection
|
struct sSection
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <fnd/types.h>
|
#include <fnd/types.h>
|
||||||
#include <fnd/ISerialisable.h>
|
#include <fnd/IByteModel.h>
|
||||||
#include <nn/hac/aci.h>
|
#include <nn/hac/aci.h>
|
||||||
#include <nn/hac/FileSystemAccessControlBinary.h>
|
#include <nn/hac/FileSystemAccessControlBinary.h>
|
||||||
#include <nn/hac/ServiceAccessControlBinary.h>
|
#include <nn/hac/ServiceAccessControlBinary.h>
|
||||||
|
@ -11,7 +11,7 @@ namespace nn
|
||||||
{
|
{
|
||||||
namespace hac
|
namespace hac
|
||||||
{
|
{
|
||||||
class AccessControlInfoBinary : public fnd::ISerialisable
|
class AccessControlInfoBinary : public fnd::IByteModel
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
AccessControlInfoBinary();
|
AccessControlInfoBinary();
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <fnd/types.h>
|
#include <fnd/types.h>
|
||||||
#include <fnd/List.h>
|
#include <fnd/List.h>
|
||||||
#include <fnd/ISerialisable.h>
|
#include <fnd/IByteModel.h>
|
||||||
#include <nn/hac/aci.h>
|
#include <nn/hac/aci.h>
|
||||||
#include <nn/hac/FileSystemAccessControlBinary.h>
|
#include <nn/hac/FileSystemAccessControlBinary.h>
|
||||||
#include <nn/hac/ServiceAccessControlBinary.h>
|
#include <nn/hac/ServiceAccessControlBinary.h>
|
||||||
|
@ -12,7 +12,7 @@ namespace nn
|
||||||
{
|
{
|
||||||
namespace hac
|
namespace hac
|
||||||
{
|
{
|
||||||
class AccessControlInfoDescBinary : public fnd::ISerialisable
|
class AccessControlInfoDescBinary : public fnd::IByteModel
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
struct sProgramIdRestrict
|
struct sProgramIdRestrict
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <fnd/types.h>
|
#include <fnd/types.h>
|
||||||
#include <fnd/ISerialisable.h>
|
#include <fnd/IByteModel.h>
|
||||||
#include <fnd/List.h>
|
#include <fnd/List.h>
|
||||||
#include <nn/hac/nacp.h>
|
#include <nn/hac/nacp.h>
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ namespace nn
|
||||||
namespace hac
|
namespace hac
|
||||||
{
|
{
|
||||||
class ApplicationControlPropertyBinary :
|
class ApplicationControlPropertyBinary :
|
||||||
public fnd::ISerialisable
|
public fnd::IByteModel
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
struct sTitle
|
struct sTitle
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <fnd/ISerialisable.h>
|
#include <fnd/IByteModel.h>
|
||||||
#include <fnd/List.h>
|
#include <fnd/List.h>
|
||||||
#include <nn/hac/cnmt.h>
|
#include <nn/hac/cnmt.h>
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ namespace nn
|
||||||
namespace hac
|
namespace hac
|
||||||
{
|
{
|
||||||
class ContentMetaBinary :
|
class ContentMetaBinary :
|
||||||
public fnd::ISerialisable
|
public fnd::IByteModel
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
struct ContentInfo
|
struct ContentInfo
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <fnd/types.h>
|
#include <fnd/types.h>
|
||||||
#include <fnd/ISerialisable.h>
|
#include <fnd/IByteModel.h>
|
||||||
#include <fnd/List.h>
|
#include <fnd/List.h>
|
||||||
#include <nn/hac/fac.h>
|
#include <nn/hac/fac.h>
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ namespace nn
|
||||||
{
|
{
|
||||||
namespace hac
|
namespace hac
|
||||||
{
|
{
|
||||||
class FileSystemAccessControlBinary : public fnd::ISerialisable
|
class FileSystemAccessControlBinary : public fnd::IByteModel
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
struct sSaveDataOwnerId
|
struct sSaveDataOwnerId
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <nn/hac/hierarchicalintegrity.h>
|
#include <nn/hac/hierarchicalintegrity.h>
|
||||||
#include <fnd/ISerialisable.h>
|
#include <fnd/IByteModel.h>
|
||||||
#include <fnd/List.h>
|
#include <fnd/List.h>
|
||||||
#include <fnd/sha.h>
|
#include <fnd/sha.h>
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ namespace nn
|
||||||
namespace hac
|
namespace hac
|
||||||
{
|
{
|
||||||
class HierarchicalIntegrityHeader :
|
class HierarchicalIntegrityHeader :
|
||||||
public fnd::ISerialisable
|
public fnd::IByteModel
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
struct sLayer
|
struct sLayer
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <nn/hac/hierarchicalsha256.h>
|
#include <nn/hac/hierarchicalsha256.h>
|
||||||
#include <fnd/ISerialisable.h>
|
#include <fnd/IByteModel.h>
|
||||||
#include <fnd/List.h>
|
#include <fnd/List.h>
|
||||||
|
|
||||||
namespace nn
|
namespace nn
|
||||||
|
@ -8,7 +8,7 @@ namespace nn
|
||||||
namespace hac
|
namespace hac
|
||||||
{
|
{
|
||||||
class HierarchicalSha256Header :
|
class HierarchicalSha256Header :
|
||||||
public fnd::ISerialisable
|
public fnd::IByteModel
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
struct sLayer
|
struct sLayer
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <fnd/ISerialisable.h>
|
#include <fnd/IByteModel.h>
|
||||||
#include <fnd/List.h>
|
#include <fnd/List.h>
|
||||||
#include <nn/hac/ThreadInfoHandler.h>
|
#include <nn/hac/ThreadInfoHandler.h>
|
||||||
#include <nn/hac/SystemCallHandler.h>
|
#include <nn/hac/SystemCallHandler.h>
|
||||||
|
@ -17,7 +17,7 @@ namespace nn
|
||||||
namespace hac
|
namespace hac
|
||||||
{
|
{
|
||||||
class KernelCapabilityBinary :
|
class KernelCapabilityBinary :
|
||||||
public fnd::ISerialisable
|
public fnd::IByteModel
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
KernelCapabilityBinary();
|
KernelCapabilityBinary();
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <fnd/List.h>
|
#include <fnd/List.h>
|
||||||
#include <fnd/ISerialisable.h>
|
#include <fnd/IByteModel.h>
|
||||||
#include <nn/hac/meta.h>
|
#include <nn/hac/meta.h>
|
||||||
#include <nn/hac/AccessControlInfoBinary.h>
|
#include <nn/hac/AccessControlInfoBinary.h>
|
||||||
#include <nn/hac/AccessControlInfoDescBinary.h>
|
#include <nn/hac/AccessControlInfoDescBinary.h>
|
||||||
|
@ -11,7 +11,7 @@ namespace nn
|
||||||
namespace hac
|
namespace hac
|
||||||
{
|
{
|
||||||
class MetaBinary :
|
class MetaBinary :
|
||||||
public fnd::ISerialisable
|
public fnd::IByteModel
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
MetaBinary();
|
MetaBinary();
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <nn/hac/nca.h>
|
#include <nn/hac/nca.h>
|
||||||
#include <fnd/ISerialisable.h>
|
#include <fnd/IByteModel.h>
|
||||||
#include <fnd/List.h>
|
#include <fnd/List.h>
|
||||||
|
|
||||||
namespace nn
|
namespace nn
|
||||||
|
@ -8,7 +8,7 @@ namespace nn
|
||||||
namespace hac
|
namespace hac
|
||||||
{
|
{
|
||||||
class NcaHeader :
|
class NcaHeader :
|
||||||
public fnd::ISerialisable
|
public fnd::IByteModel
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
enum FormatVersion
|
enum FormatVersion
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <nn/hac/nro.h>
|
#include <nn/hac/nro.h>
|
||||||
#include <fnd/ISerialisable.h>
|
#include <fnd/IByteModel.h>
|
||||||
#include <fnd/List.h>
|
#include <fnd/List.h>
|
||||||
|
|
||||||
namespace nn
|
namespace nn
|
||||||
|
@ -9,7 +9,7 @@ namespace nn
|
||||||
namespace hac
|
namespace hac
|
||||||
{
|
{
|
||||||
class NroHeader :
|
class NroHeader :
|
||||||
public fnd::ISerialisable
|
public fnd::IByteModel
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
struct sRoCrt
|
struct sRoCrt
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <nn/hac/nso.h>
|
#include <nn/hac/nso.h>
|
||||||
#include <fnd/ISerialisable.h>
|
#include <fnd/IByteModel.h>
|
||||||
#include <fnd/List.h>
|
#include <fnd/List.h>
|
||||||
|
|
||||||
namespace nn
|
namespace nn
|
||||||
|
@ -9,7 +9,7 @@ namespace nn
|
||||||
namespace hac
|
namespace hac
|
||||||
{
|
{
|
||||||
class NsoHeader :
|
class NsoHeader :
|
||||||
public fnd::ISerialisable
|
public fnd::IByteModel
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
struct sModuleId
|
struct sModuleId
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <fnd/types.h>
|
#include <fnd/types.h>
|
||||||
#include <fnd/ISerialisable.h>
|
#include <fnd/IByteModel.h>
|
||||||
#include <fnd/List.h>
|
#include <fnd/List.h>
|
||||||
#include <nn/hac/pfs.h>
|
#include <nn/hac/pfs.h>
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ namespace nn
|
||||||
namespace hac
|
namespace hac
|
||||||
{
|
{
|
||||||
class PfsHeader :
|
class PfsHeader :
|
||||||
public fnd::ISerialisable
|
public fnd::IByteModel
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
enum FsType
|
enum FsType
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <fnd/ISerialisable.h>
|
#include <fnd/IByteModel.h>
|
||||||
#include <fnd/List.h>
|
#include <fnd/List.h>
|
||||||
#include <nn/hac/ServiceAccessControlEntry.h>
|
#include <nn/hac/ServiceAccessControlEntry.h>
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ namespace nn
|
||||||
namespace hac
|
namespace hac
|
||||||
{
|
{
|
||||||
class ServiceAccessControlBinary :
|
class ServiceAccessControlBinary :
|
||||||
public fnd::ISerialisable
|
public fnd::IByteModel
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
ServiceAccessControlBinary();
|
ServiceAccessControlBinary();
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <fnd/types.h>
|
#include <fnd/types.h>
|
||||||
#include <fnd/ISerialisable.h>
|
#include <fnd/IByteModel.h>
|
||||||
|
|
||||||
namespace nn
|
namespace nn
|
||||||
{
|
{
|
||||||
namespace hac
|
namespace hac
|
||||||
{
|
{
|
||||||
class ServiceAccessControlEntry :
|
class ServiceAccessControlEntry :
|
||||||
public fnd::ISerialisable
|
public fnd::IByteModel
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
ServiceAccessControlEntry();
|
ServiceAccessControlEntry();
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <nn/hac/xci.h>
|
#include <nn/hac/xci.h>
|
||||||
#include <fnd/ISerialisable.h>
|
#include <fnd/IByteModel.h>
|
||||||
#include <fnd/List.h>
|
#include <fnd/List.h>
|
||||||
|
|
||||||
namespace nn
|
namespace nn
|
||||||
|
@ -8,7 +8,7 @@ namespace nn
|
||||||
namespace hac
|
namespace hac
|
||||||
{
|
{
|
||||||
class XciHeader :
|
class XciHeader :
|
||||||
public fnd::ISerialisable
|
public fnd::IByteModel
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
XciHeader();
|
XciHeader();
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <fnd/ISerialisable.h>
|
#include <fnd/IByteModel.h>
|
||||||
#include <nn/pki/cert.h>
|
#include <nn/pki/cert.h>
|
||||||
|
|
||||||
namespace nn
|
namespace nn
|
||||||
|
@ -8,7 +8,7 @@ namespace nn
|
||||||
namespace pki
|
namespace pki
|
||||||
{
|
{
|
||||||
class CertificateBody
|
class CertificateBody
|
||||||
: public fnd::ISerialisable
|
: public fnd::IByteModel
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
CertificateBody();
|
CertificateBody();
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <fnd/ISerialisable.h>
|
#include <fnd/IByteModel.h>
|
||||||
#include <nn/pki/sign.h>
|
#include <nn/pki/sign.h>
|
||||||
|
|
||||||
namespace nn
|
namespace nn
|
||||||
|
@ -8,7 +8,7 @@ namespace nn
|
||||||
namespace pki
|
namespace pki
|
||||||
{
|
{
|
||||||
class SignatureBlock
|
class SignatureBlock
|
||||||
: public fnd::ISerialisable
|
: public fnd::IByteModel
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
SignatureBlock();
|
SignatureBlock();
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <fnd/ISerialisable.h>
|
#include <fnd/IByteModel.h>
|
||||||
#include <nn/pki/SignatureBlock.h>
|
#include <nn/pki/SignatureBlock.h>
|
||||||
|
|
||||||
namespace nn
|
namespace nn
|
||||||
|
@ -9,7 +9,7 @@ namespace pki
|
||||||
{
|
{
|
||||||
template <class T>
|
template <class T>
|
||||||
class SignedData
|
class SignedData
|
||||||
: public fnd::ISerialisable
|
: public fnd::IByteModel
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
SignedData();
|
SignedData();
|
||||||
|
|
Loading…
Reference in a new issue