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
|
||||
#include <string>
|
||||
#include <fnd/ISerialisable.h>
|
||||
#include <fnd/IByteModel.h>
|
||||
#include <nn/es/ticket.h>
|
||||
|
||||
namespace nn
|
||||
|
@ -8,7 +8,7 @@ namespace nn
|
|||
namespace es
|
||||
{
|
||||
class SectionHeader_V2 :
|
||||
public fnd::ISerialisable
|
||||
public fnd::IByteModel
|
||||
{
|
||||
public:
|
||||
SectionHeader_V2();
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#pragma once
|
||||
#include <string>
|
||||
#include <fnd/ISerialisable.h>
|
||||
#include <fnd/IByteModel.h>
|
||||
#include <fnd/List.h>
|
||||
#include <nn/es/ticket.h>
|
||||
|
||||
|
@ -9,7 +9,7 @@ namespace nn
|
|||
namespace es
|
||||
{
|
||||
class TicketBody_V2 :
|
||||
public fnd::ISerialisable
|
||||
public fnd::IByteModel
|
||||
{
|
||||
public:
|
||||
TicketBody_V2();
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
|
||||
namespace fnd
|
||||
{
|
||||
class ISerialisable
|
||||
class IByteModel
|
||||
{
|
||||
public:
|
||||
virtual ~ISerialisable() = default;
|
||||
virtual ~IByteModel() = default;
|
||||
|
||||
// serialise
|
||||
virtual void toBytes() = 0;
|
|
@ -129,9 +129,9 @@
|
|||
<ClInclude Include="include\fnd\elf.h" />
|
||||
<ClInclude Include="include\fnd\Endian.h" />
|
||||
<ClInclude Include="include\fnd\Exception.h" />
|
||||
<ClInclude Include="include\fnd\IByteModel.h" />
|
||||
<ClInclude Include="include\fnd\IFile.h" />
|
||||
<ClInclude Include="include\fnd\io.h" />
|
||||
<ClInclude Include="include\fnd\ISerialisable.h" />
|
||||
<ClInclude Include="include\fnd\LayeredIntegrityMetadata.h" />
|
||||
<ClInclude Include="include\fnd\LayeredIntegrityWrappedIFile.h" />
|
||||
<ClInclude Include="include\fnd\List.h" />
|
||||
|
|
|
@ -42,15 +42,15 @@
|
|||
<ClInclude Include="include\fnd\Exception.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\fnd\IByteModel.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\fnd\IFile.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\fnd\io.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\fnd\ISerialisable.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\fnd\LayeredIntegrityMetadata.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
#pragma once
|
||||
#include <nn/hac/aset.h>
|
||||
#include <fnd/List.h>
|
||||
#include <fnd/ISerialisable.h>
|
||||
#include <fnd/IByteModel.h>
|
||||
|
||||
namespace nn
|
||||
{
|
||||
namespace hac
|
||||
{
|
||||
class AssetHeader :
|
||||
public fnd::ISerialisable
|
||||
public fnd::IByteModel
|
||||
{
|
||||
public:
|
||||
struct sSection
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#pragma once
|
||||
#include <string>
|
||||
#include <fnd/types.h>
|
||||
#include <fnd/ISerialisable.h>
|
||||
#include <fnd/IByteModel.h>
|
||||
#include <nn/hac/aci.h>
|
||||
#include <nn/hac/FileSystemAccessControlBinary.h>
|
||||
#include <nn/hac/ServiceAccessControlBinary.h>
|
||||
|
@ -11,7 +11,7 @@ namespace nn
|
|||
{
|
||||
namespace hac
|
||||
{
|
||||
class AccessControlInfoBinary : public fnd::ISerialisable
|
||||
class AccessControlInfoBinary : public fnd::IByteModel
|
||||
{
|
||||
public:
|
||||
AccessControlInfoBinary();
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#include <string>
|
||||
#include <fnd/types.h>
|
||||
#include <fnd/List.h>
|
||||
#include <fnd/ISerialisable.h>
|
||||
#include <fnd/IByteModel.h>
|
||||
#include <nn/hac/aci.h>
|
||||
#include <nn/hac/FileSystemAccessControlBinary.h>
|
||||
#include <nn/hac/ServiceAccessControlBinary.h>
|
||||
|
@ -12,7 +12,7 @@ namespace nn
|
|||
{
|
||||
namespace hac
|
||||
{
|
||||
class AccessControlInfoDescBinary : public fnd::ISerialisable
|
||||
class AccessControlInfoDescBinary : public fnd::IByteModel
|
||||
{
|
||||
public:
|
||||
struct sProgramIdRestrict
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#pragma once
|
||||
#include <string>
|
||||
#include <fnd/types.h>
|
||||
#include <fnd/ISerialisable.h>
|
||||
#include <fnd/IByteModel.h>
|
||||
#include <fnd/List.h>
|
||||
#include <nn/hac/nacp.h>
|
||||
|
||||
|
@ -10,7 +10,7 @@ namespace nn
|
|||
namespace hac
|
||||
{
|
||||
class ApplicationControlPropertyBinary :
|
||||
public fnd::ISerialisable
|
||||
public fnd::IByteModel
|
||||
{
|
||||
public:
|
||||
struct sTitle
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#pragma once
|
||||
#include <string>
|
||||
#include <cstring>
|
||||
#include <fnd/ISerialisable.h>
|
||||
#include <fnd/IByteModel.h>
|
||||
#include <fnd/List.h>
|
||||
#include <nn/hac/cnmt.h>
|
||||
|
||||
|
@ -10,7 +10,7 @@ namespace nn
|
|||
namespace hac
|
||||
{
|
||||
class ContentMetaBinary :
|
||||
public fnd::ISerialisable
|
||||
public fnd::IByteModel
|
||||
{
|
||||
public:
|
||||
struct ContentInfo
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#pragma once
|
||||
#include <string>
|
||||
#include <fnd/types.h>
|
||||
#include <fnd/ISerialisable.h>
|
||||
#include <fnd/IByteModel.h>
|
||||
#include <fnd/List.h>
|
||||
#include <nn/hac/fac.h>
|
||||
|
||||
|
@ -9,7 +9,7 @@ namespace nn
|
|||
{
|
||||
namespace hac
|
||||
{
|
||||
class FileSystemAccessControlBinary : public fnd::ISerialisable
|
||||
class FileSystemAccessControlBinary : public fnd::IByteModel
|
||||
{
|
||||
public:
|
||||
struct sSaveDataOwnerId
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#pragma once
|
||||
#include <nn/hac/hierarchicalintegrity.h>
|
||||
#include <fnd/ISerialisable.h>
|
||||
#include <fnd/IByteModel.h>
|
||||
#include <fnd/List.h>
|
||||
#include <fnd/sha.h>
|
||||
|
||||
|
@ -9,7 +9,7 @@ namespace nn
|
|||
namespace hac
|
||||
{
|
||||
class HierarchicalIntegrityHeader :
|
||||
public fnd::ISerialisable
|
||||
public fnd::IByteModel
|
||||
{
|
||||
public:
|
||||
struct sLayer
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#pragma once
|
||||
#include <nn/hac/hierarchicalsha256.h>
|
||||
#include <fnd/ISerialisable.h>
|
||||
#include <fnd/IByteModel.h>
|
||||
#include <fnd/List.h>
|
||||
|
||||
namespace nn
|
||||
|
@ -8,7 +8,7 @@ namespace nn
|
|||
namespace hac
|
||||
{
|
||||
class HierarchicalSha256Header :
|
||||
public fnd::ISerialisable
|
||||
public fnd::IByteModel
|
||||
{
|
||||
public:
|
||||
struct sLayer
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#pragma once
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <fnd/ISerialisable.h>
|
||||
#include <fnd/IByteModel.h>
|
||||
#include <fnd/List.h>
|
||||
#include <nn/hac/ThreadInfoHandler.h>
|
||||
#include <nn/hac/SystemCallHandler.h>
|
||||
|
@ -17,7 +17,7 @@ namespace nn
|
|||
namespace hac
|
||||
{
|
||||
class KernelCapabilityBinary :
|
||||
public fnd::ISerialisable
|
||||
public fnd::IByteModel
|
||||
{
|
||||
public:
|
||||
KernelCapabilityBinary();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#pragma once
|
||||
#include <string>
|
||||
#include <fnd/List.h>
|
||||
#include <fnd/ISerialisable.h>
|
||||
#include <fnd/IByteModel.h>
|
||||
#include <nn/hac/meta.h>
|
||||
#include <nn/hac/AccessControlInfoBinary.h>
|
||||
#include <nn/hac/AccessControlInfoDescBinary.h>
|
||||
|
@ -11,7 +11,7 @@ namespace nn
|
|||
namespace hac
|
||||
{
|
||||
class MetaBinary :
|
||||
public fnd::ISerialisable
|
||||
public fnd::IByteModel
|
||||
{
|
||||
public:
|
||||
MetaBinary();
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#pragma once
|
||||
#include <nn/hac/nca.h>
|
||||
#include <fnd/ISerialisable.h>
|
||||
#include <fnd/IByteModel.h>
|
||||
#include <fnd/List.h>
|
||||
|
||||
namespace nn
|
||||
|
@ -8,7 +8,7 @@ namespace nn
|
|||
namespace hac
|
||||
{
|
||||
class NcaHeader :
|
||||
public fnd::ISerialisable
|
||||
public fnd::IByteModel
|
||||
{
|
||||
public:
|
||||
enum FormatVersion
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#pragma once
|
||||
#include <cstring>
|
||||
#include <nn/hac/nro.h>
|
||||
#include <fnd/ISerialisable.h>
|
||||
#include <fnd/IByteModel.h>
|
||||
#include <fnd/List.h>
|
||||
|
||||
namespace nn
|
||||
|
@ -9,7 +9,7 @@ namespace nn
|
|||
namespace hac
|
||||
{
|
||||
class NroHeader :
|
||||
public fnd::ISerialisable
|
||||
public fnd::IByteModel
|
||||
{
|
||||
public:
|
||||
struct sRoCrt
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#pragma once
|
||||
#include <cstring>
|
||||
#include <nn/hac/nso.h>
|
||||
#include <fnd/ISerialisable.h>
|
||||
#include <fnd/IByteModel.h>
|
||||
#include <fnd/List.h>
|
||||
|
||||
namespace nn
|
||||
|
@ -9,7 +9,7 @@ namespace nn
|
|||
namespace hac
|
||||
{
|
||||
class NsoHeader :
|
||||
public fnd::ISerialisable
|
||||
public fnd::IByteModel
|
||||
{
|
||||
public:
|
||||
struct sModuleId
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#pragma once
|
||||
#include <string>
|
||||
#include <fnd/types.h>
|
||||
#include <fnd/ISerialisable.h>
|
||||
#include <fnd/IByteModel.h>
|
||||
#include <fnd/List.h>
|
||||
#include <nn/hac/pfs.h>
|
||||
|
||||
|
@ -10,7 +10,7 @@ namespace nn
|
|||
namespace hac
|
||||
{
|
||||
class PfsHeader :
|
||||
public fnd::ISerialisable
|
||||
public fnd::IByteModel
|
||||
{
|
||||
public:
|
||||
enum FsType
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#pragma once
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <fnd/ISerialisable.h>
|
||||
#include <fnd/IByteModel.h>
|
||||
#include <fnd/List.h>
|
||||
#include <nn/hac/ServiceAccessControlEntry.h>
|
||||
|
||||
|
@ -10,7 +10,7 @@ namespace nn
|
|||
namespace hac
|
||||
{
|
||||
class ServiceAccessControlBinary :
|
||||
public fnd::ISerialisable
|
||||
public fnd::IByteModel
|
||||
{
|
||||
public:
|
||||
ServiceAccessControlBinary();
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
#pragma once
|
||||
#include <string>
|
||||
#include <fnd/types.h>
|
||||
#include <fnd/ISerialisable.h>
|
||||
#include <fnd/IByteModel.h>
|
||||
|
||||
namespace nn
|
||||
{
|
||||
namespace hac
|
||||
{
|
||||
class ServiceAccessControlEntry :
|
||||
public fnd::ISerialisable
|
||||
public fnd::IByteModel
|
||||
{
|
||||
public:
|
||||
ServiceAccessControlEntry();
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#pragma once
|
||||
#include <nn/hac/xci.h>
|
||||
#include <fnd/ISerialisable.h>
|
||||
#include <fnd/IByteModel.h>
|
||||
#include <fnd/List.h>
|
||||
|
||||
namespace nn
|
||||
|
@ -8,7 +8,7 @@ namespace nn
|
|||
namespace hac
|
||||
{
|
||||
class XciHeader :
|
||||
public fnd::ISerialisable
|
||||
public fnd::IByteModel
|
||||
{
|
||||
public:
|
||||
XciHeader();
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#pragma once
|
||||
#include <string>
|
||||
#include <fnd/ISerialisable.h>
|
||||
#include <fnd/IByteModel.h>
|
||||
#include <nn/pki/cert.h>
|
||||
|
||||
namespace nn
|
||||
|
@ -8,7 +8,7 @@ namespace nn
|
|||
namespace pki
|
||||
{
|
||||
class CertificateBody
|
||||
: public fnd::ISerialisable
|
||||
: public fnd::IByteModel
|
||||
{
|
||||
public:
|
||||
CertificateBody();
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#pragma once
|
||||
#include <string>
|
||||
#include <fnd/ISerialisable.h>
|
||||
#include <fnd/IByteModel.h>
|
||||
#include <nn/pki/sign.h>
|
||||
|
||||
namespace nn
|
||||
|
@ -8,7 +8,7 @@ namespace nn
|
|||
namespace pki
|
||||
{
|
||||
class SignatureBlock
|
||||
: public fnd::ISerialisable
|
||||
: public fnd::IByteModel
|
||||
{
|
||||
public:
|
||||
SignatureBlock();
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#pragma once
|
||||
#include <string>
|
||||
#include <fnd/ISerialisable.h>
|
||||
#include <fnd/IByteModel.h>
|
||||
#include <nn/pki/SignatureBlock.h>
|
||||
|
||||
namespace nn
|
||||
|
@ -9,7 +9,7 @@ namespace pki
|
|||
{
|
||||
template <class T>
|
||||
class SignedData
|
||||
: public fnd::ISerialisable
|
||||
: public fnd::IByteModel
|
||||
{
|
||||
public:
|
||||
SignedData();
|
||||
|
|
Loading…
Reference in a new issue