mirror of
https://github.com/jakcron/nstool
synced 2024-11-22 21:49:30 +00:00
[hac] change comment for IByteModel methods.
This commit is contained in:
parent
2439250fdf
commit
0bb49d0363
12 changed files with 27 additions and 26 deletions
|
@ -9,7 +9,8 @@ namespace nn
|
||||||
{
|
{
|
||||||
namespace hac
|
namespace hac
|
||||||
{
|
{
|
||||||
class FileSystemAccessControlBinary : public fnd::IByteModel
|
class FileSystemAccessControlBinary :
|
||||||
|
public fnd::IByteModel
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
struct sSaveDataOwnerId
|
struct sSaveDataOwnerId
|
||||||
|
@ -42,7 +43,7 @@ namespace hac
|
||||||
bool operator==(const FileSystemAccessControlBinary& other) const;
|
bool operator==(const FileSystemAccessControlBinary& other) const;
|
||||||
bool operator!=(const FileSystemAccessControlBinary& other) const;
|
bool operator!=(const FileSystemAccessControlBinary& other) const;
|
||||||
|
|
||||||
// export/import binary
|
// IByteModel
|
||||||
void toBytes();
|
void toBytes();
|
||||||
void fromBytes(const byte_t* data, size_t len);
|
void fromBytes(const byte_t* data, size_t len);
|
||||||
const fnd::Vec<byte_t>& getBytes() const;
|
const fnd::Vec<byte_t>& getBytes() const;
|
||||||
|
|
|
@ -43,7 +43,7 @@ namespace hac
|
||||||
bool operator==(const HierarchicalIntegrityHeader& other) const;
|
bool operator==(const HierarchicalIntegrityHeader& other) const;
|
||||||
bool operator!=(const HierarchicalIntegrityHeader& other) const;
|
bool operator!=(const HierarchicalIntegrityHeader& other) const;
|
||||||
|
|
||||||
// export/import binary
|
// IByteModel
|
||||||
void toBytes();
|
void toBytes();
|
||||||
void fromBytes(const byte_t* bytes, size_t len);
|
void fromBytes(const byte_t* bytes, size_t len);
|
||||||
const fnd::Vec<byte_t>& getBytes() const;
|
const fnd::Vec<byte_t>& getBytes() const;
|
||||||
|
|
|
@ -40,7 +40,7 @@ namespace hac
|
||||||
bool operator==(const HierarchicalSha256Header& other) const;
|
bool operator==(const HierarchicalSha256Header& other) const;
|
||||||
bool operator!=(const HierarchicalSha256Header& other) const;
|
bool operator!=(const HierarchicalSha256Header& other) const;
|
||||||
|
|
||||||
// export/import binary
|
// IByteModel
|
||||||
void toBytes();
|
void toBytes();
|
||||||
void fromBytes(const byte_t* bytes, size_t len);
|
void fromBytes(const byte_t* bytes, size_t len);
|
||||||
const fnd::Vec<byte_t>& getBytes() const;
|
const fnd::Vec<byte_t>& getBytes() const;
|
||||||
|
|
|
@ -27,7 +27,7 @@ namespace hac
|
||||||
bool operator==(const KernelCapabilityBinary& other) const;
|
bool operator==(const KernelCapabilityBinary& other) const;
|
||||||
bool operator!=(const KernelCapabilityBinary& other) const;
|
bool operator!=(const KernelCapabilityBinary& other) const;
|
||||||
|
|
||||||
// export/import binary
|
// IByteModel
|
||||||
void toBytes();
|
void toBytes();
|
||||||
void fromBytes(const byte_t* bytes, size_t len);
|
void fromBytes(const byte_t* bytes, size_t len);
|
||||||
virtual const fnd::Vec<byte_t>& getBytes() const;
|
virtual const fnd::Vec<byte_t>& getBytes() const;
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
#include <fnd/List.h>
|
#include <fnd/List.h>
|
||||||
#include <fnd/IByteModel.h>
|
#include <fnd/IByteModel.h>
|
||||||
#include <nn/hac/meta.h>
|
#include <nn/hac/meta.h>
|
||||||
#include <nn/hac/AccessControlInfoBinary.h>
|
#include <nn/hac/AccessControlInfo.h>
|
||||||
#include <nn/hac/AccessControlInfoDescBinary.h>
|
#include <nn/hac/AccessControlInfoDesc.h>
|
||||||
|
|
||||||
namespace nn
|
namespace nn
|
||||||
{
|
{
|
||||||
|
@ -21,7 +21,7 @@ namespace hac
|
||||||
bool operator==(const MetaBinary& other) const;
|
bool operator==(const MetaBinary& other) const;
|
||||||
bool operator!=(const MetaBinary& other) const;
|
bool operator!=(const MetaBinary& other) const;
|
||||||
|
|
||||||
// export/import binary
|
// IByteModel
|
||||||
void toBytes();
|
void toBytes();
|
||||||
void fromBytes(const byte_t* bytes, size_t len);
|
void fromBytes(const byte_t* bytes, size_t len);
|
||||||
const fnd::Vec<byte_t>& getBytes() const;
|
const fnd::Vec<byte_t>& getBytes() const;
|
||||||
|
@ -53,11 +53,11 @@ namespace hac
|
||||||
const std::string& getProductCode() const;
|
const std::string& getProductCode() const;
|
||||||
void setProductCode(const std::string& product_code);
|
void setProductCode(const std::string& product_code);
|
||||||
|
|
||||||
const AccessControlInfoBinary& getAci() const;
|
const AccessControlInfo& getAci() const;
|
||||||
void setAci(const AccessControlInfoBinary& aci);
|
void setAci(const AccessControlInfo& aci);
|
||||||
|
|
||||||
const AccessControlInfoDescBinary& getAcid() const;
|
const AccessControlInfoDesc& getAcid() const;
|
||||||
void setAcid(const AccessControlInfoDescBinary& acid);
|
void setAcid(const AccessControlInfoDesc& acid);
|
||||||
private:
|
private:
|
||||||
const std::string kModuleName = "META_BINARY";
|
const std::string kModuleName = "META_BINARY";
|
||||||
|
|
||||||
|
@ -73,8 +73,8 @@ namespace hac
|
||||||
uint32_t mMainThreadStackSize;
|
uint32_t mMainThreadStackSize;
|
||||||
std::string mName;
|
std::string mName;
|
||||||
std::string mProductCode;
|
std::string mProductCode;
|
||||||
AccessControlInfoBinary mAci;
|
AccessControlInfo mAci;
|
||||||
AccessControlInfoDescBinary mAcid;
|
AccessControlInfoDesc mAcid;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -7,7 +7,7 @@ namespace nn
|
||||||
{
|
{
|
||||||
namespace hac
|
namespace hac
|
||||||
{
|
{
|
||||||
class NcaHeader :
|
class NcaHeader :
|
||||||
public fnd::IByteModel
|
public fnd::IByteModel
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -55,7 +55,7 @@ namespace hac
|
||||||
bool operator==(const NcaHeader& other) const;
|
bool operator==(const NcaHeader& other) const;
|
||||||
bool operator!=(const NcaHeader& other) const;
|
bool operator!=(const NcaHeader& other) const;
|
||||||
|
|
||||||
// export/import binary
|
// IByteModel
|
||||||
void toBytes();
|
void toBytes();
|
||||||
void fromBytes(const byte_t* bytes, size_t len);
|
void fromBytes(const byte_t* bytes, size_t len);
|
||||||
const fnd::Vec<byte_t>& getBytes() const;
|
const fnd::Vec<byte_t>& getBytes() const;
|
||||||
|
|
|
@ -8,7 +8,7 @@ namespace nn
|
||||||
{
|
{
|
||||||
namespace hac
|
namespace hac
|
||||||
{
|
{
|
||||||
class NroHeader :
|
class NroHeader :
|
||||||
public fnd::IByteModel
|
public fnd::IByteModel
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -82,7 +82,7 @@ namespace hac
|
||||||
bool operator==(const NroHeader& other) const;
|
bool operator==(const NroHeader& other) const;
|
||||||
bool operator!=(const NroHeader& other) const;
|
bool operator!=(const NroHeader& other) const;
|
||||||
|
|
||||||
// export/import binary
|
// IByteModel
|
||||||
void toBytes();
|
void toBytes();
|
||||||
void fromBytes(const byte_t* bytes, size_t len);
|
void fromBytes(const byte_t* bytes, size_t len);
|
||||||
const fnd::Vec<byte_t>& getBytes() const;
|
const fnd::Vec<byte_t>& getBytes() const;
|
||||||
|
|
|
@ -8,7 +8,7 @@ namespace nn
|
||||||
{
|
{
|
||||||
namespace hac
|
namespace hac
|
||||||
{
|
{
|
||||||
class NsoHeader :
|
class NsoHeader :
|
||||||
public fnd::IByteModel
|
public fnd::IByteModel
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -94,7 +94,7 @@ namespace hac
|
||||||
bool operator==(const NsoHeader& other) const;
|
bool operator==(const NsoHeader& other) const;
|
||||||
bool operator!=(const NsoHeader& other) const;
|
bool operator!=(const NsoHeader& other) const;
|
||||||
|
|
||||||
// export/import binary
|
// IByteModel
|
||||||
void toBytes();
|
void toBytes();
|
||||||
void fromBytes(const byte_t* bytes, size_t len);
|
void fromBytes(const byte_t* bytes, size_t len);
|
||||||
const fnd::Vec<byte_t>& getBytes() const;
|
const fnd::Vec<byte_t>& getBytes() const;
|
||||||
|
|
|
@ -69,7 +69,7 @@ namespace hac
|
||||||
bool operator==(const PfsHeader& other) const;
|
bool operator==(const PfsHeader& other) const;
|
||||||
bool operator!=(const PfsHeader& other) const;
|
bool operator!=(const PfsHeader& other) const;
|
||||||
|
|
||||||
// export/import binary
|
// IByteModel
|
||||||
void toBytes();
|
void toBytes();
|
||||||
void fromBytes(const byte_t* bytes, size_t len);
|
void fromBytes(const byte_t* bytes, size_t len);
|
||||||
const fnd::Vec<byte_t>& getBytes() const;
|
const fnd::Vec<byte_t>& getBytes() const;
|
||||||
|
|
|
@ -20,7 +20,7 @@ namespace hac
|
||||||
bool operator==(const ServiceAccessControlBinary& other) const;
|
bool operator==(const ServiceAccessControlBinary& other) const;
|
||||||
bool operator!=(const ServiceAccessControlBinary& other) const;
|
bool operator!=(const ServiceAccessControlBinary& other) const;
|
||||||
|
|
||||||
// export/import binary
|
// IByteModel
|
||||||
void toBytes();
|
void toBytes();
|
||||||
void fromBytes(const byte_t* bytes, size_t len);
|
void fromBytes(const byte_t* bytes, size_t len);
|
||||||
const fnd::Vec<byte_t>& getBytes() const;
|
const fnd::Vec<byte_t>& getBytes() const;
|
||||||
|
|
|
@ -7,7 +7,7 @@ namespace nn
|
||||||
{
|
{
|
||||||
namespace hac
|
namespace hac
|
||||||
{
|
{
|
||||||
class ServiceAccessControlEntry :
|
class ServiceAccessControlEntry :
|
||||||
public fnd::IByteModel
|
public fnd::IByteModel
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -19,7 +19,7 @@ namespace hac
|
||||||
bool operator==(const ServiceAccessControlEntry& other) const;
|
bool operator==(const ServiceAccessControlEntry& other) const;
|
||||||
bool operator!=(const ServiceAccessControlEntry& other) const;
|
bool operator!=(const ServiceAccessControlEntry& other) const;
|
||||||
|
|
||||||
// export/import binary
|
// IByteModel
|
||||||
void toBytes();
|
void toBytes();
|
||||||
void fromBytes(const byte_t* bytes, size_t len);
|
void fromBytes(const byte_t* bytes, size_t len);
|
||||||
const fnd::Vec<byte_t>& getBytes() const;
|
const fnd::Vec<byte_t>& getBytes() const;
|
||||||
|
|
|
@ -7,7 +7,7 @@ namespace nn
|
||||||
{
|
{
|
||||||
namespace hac
|
namespace hac
|
||||||
{
|
{
|
||||||
class XciHeader :
|
class XciHeader :
|
||||||
public fnd::IByteModel
|
public fnd::IByteModel
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -18,7 +18,7 @@ namespace hac
|
||||||
bool operator==(const XciHeader& other) const;
|
bool operator==(const XciHeader& other) const;
|
||||||
bool operator!=(const XciHeader& other) const;
|
bool operator!=(const XciHeader& other) const;
|
||||||
|
|
||||||
// export/import binary
|
// IByteModel
|
||||||
void toBytes();
|
void toBytes();
|
||||||
void fromBytes(const byte_t* bytes, size_t len);
|
void fromBytes(const byte_t* bytes, size_t len);
|
||||||
const fnd::Vec<byte_t>& getBytes() const;
|
const fnd::Vec<byte_t>& getBytes() const;
|
||||||
|
|
Loading…
Reference in a new issue