mirror of
https://github.com/jakcron/nstool
synced 2024-11-14 09:46:39 +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
|
||||
{
|
||||
class FileSystemAccessControlBinary : public fnd::IByteModel
|
||||
class FileSystemAccessControlBinary :
|
||||
public fnd::IByteModel
|
||||
{
|
||||
public:
|
||||
struct sSaveDataOwnerId
|
||||
|
@ -42,7 +43,7 @@ namespace hac
|
|||
bool operator==(const FileSystemAccessControlBinary& other) const;
|
||||
bool operator!=(const FileSystemAccessControlBinary& other) const;
|
||||
|
||||
// export/import binary
|
||||
// IByteModel
|
||||
void toBytes();
|
||||
void fromBytes(const byte_t* data, size_t len);
|
||||
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;
|
||||
|
||||
// export/import binary
|
||||
// IByteModel
|
||||
void toBytes();
|
||||
void fromBytes(const byte_t* bytes, size_t len);
|
||||
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;
|
||||
|
||||
// export/import binary
|
||||
// IByteModel
|
||||
void toBytes();
|
||||
void fromBytes(const byte_t* bytes, size_t len);
|
||||
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;
|
||||
|
||||
// export/import binary
|
||||
// IByteModel
|
||||
void toBytes();
|
||||
void fromBytes(const byte_t* bytes, size_t len);
|
||||
virtual const fnd::Vec<byte_t>& getBytes() const;
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
#include <fnd/List.h>
|
||||
#include <fnd/IByteModel.h>
|
||||
#include <nn/hac/meta.h>
|
||||
#include <nn/hac/AccessControlInfoBinary.h>
|
||||
#include <nn/hac/AccessControlInfoDescBinary.h>
|
||||
#include <nn/hac/AccessControlInfo.h>
|
||||
#include <nn/hac/AccessControlInfoDesc.h>
|
||||
|
||||
namespace nn
|
||||
{
|
||||
|
@ -21,7 +21,7 @@ namespace hac
|
|||
bool operator==(const MetaBinary& other) const;
|
||||
bool operator!=(const MetaBinary& other) const;
|
||||
|
||||
// export/import binary
|
||||
// IByteModel
|
||||
void toBytes();
|
||||
void fromBytes(const byte_t* bytes, size_t len);
|
||||
const fnd::Vec<byte_t>& getBytes() const;
|
||||
|
@ -53,11 +53,11 @@ namespace hac
|
|||
const std::string& getProductCode() const;
|
||||
void setProductCode(const std::string& product_code);
|
||||
|
||||
const AccessControlInfoBinary& getAci() const;
|
||||
void setAci(const AccessControlInfoBinary& aci);
|
||||
const AccessControlInfo& getAci() const;
|
||||
void setAci(const AccessControlInfo& aci);
|
||||
|
||||
const AccessControlInfoDescBinary& getAcid() const;
|
||||
void setAcid(const AccessControlInfoDescBinary& acid);
|
||||
const AccessControlInfoDesc& getAcid() const;
|
||||
void setAcid(const AccessControlInfoDesc& acid);
|
||||
private:
|
||||
const std::string kModuleName = "META_BINARY";
|
||||
|
||||
|
@ -73,8 +73,8 @@ namespace hac
|
|||
uint32_t mMainThreadStackSize;
|
||||
std::string mName;
|
||||
std::string mProductCode;
|
||||
AccessControlInfoBinary mAci;
|
||||
AccessControlInfoDescBinary mAcid;
|
||||
AccessControlInfo mAci;
|
||||
AccessControlInfoDesc mAcid;
|
||||
};
|
||||
}
|
||||
}
|
|
@ -7,7 +7,7 @@ namespace nn
|
|||
{
|
||||
namespace hac
|
||||
{
|
||||
class NcaHeader :
|
||||
class NcaHeader :
|
||||
public fnd::IByteModel
|
||||
{
|
||||
public:
|
||||
|
@ -55,7 +55,7 @@ namespace hac
|
|||
bool operator==(const NcaHeader& other) const;
|
||||
bool operator!=(const NcaHeader& other) const;
|
||||
|
||||
// export/import binary
|
||||
// IByteModel
|
||||
void toBytes();
|
||||
void fromBytes(const byte_t* bytes, size_t len);
|
||||
const fnd::Vec<byte_t>& getBytes() const;
|
||||
|
|
|
@ -8,7 +8,7 @@ namespace nn
|
|||
{
|
||||
namespace hac
|
||||
{
|
||||
class NroHeader :
|
||||
class NroHeader :
|
||||
public fnd::IByteModel
|
||||
{
|
||||
public:
|
||||
|
@ -82,7 +82,7 @@ namespace hac
|
|||
bool operator==(const NroHeader& other) const;
|
||||
bool operator!=(const NroHeader& other) const;
|
||||
|
||||
// export/import binary
|
||||
// IByteModel
|
||||
void toBytes();
|
||||
void fromBytes(const byte_t* bytes, size_t len);
|
||||
const fnd::Vec<byte_t>& getBytes() const;
|
||||
|
|
|
@ -8,7 +8,7 @@ namespace nn
|
|||
{
|
||||
namespace hac
|
||||
{
|
||||
class NsoHeader :
|
||||
class NsoHeader :
|
||||
public fnd::IByteModel
|
||||
{
|
||||
public:
|
||||
|
@ -94,7 +94,7 @@ namespace hac
|
|||
bool operator==(const NsoHeader& other) const;
|
||||
bool operator!=(const NsoHeader& other) const;
|
||||
|
||||
// export/import binary
|
||||
// IByteModel
|
||||
void toBytes();
|
||||
void fromBytes(const byte_t* bytes, size_t len);
|
||||
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;
|
||||
|
||||
// export/import binary
|
||||
// IByteModel
|
||||
void toBytes();
|
||||
void fromBytes(const byte_t* bytes, size_t len);
|
||||
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;
|
||||
|
||||
// export/import binary
|
||||
// IByteModel
|
||||
void toBytes();
|
||||
void fromBytes(const byte_t* bytes, size_t len);
|
||||
const fnd::Vec<byte_t>& getBytes() const;
|
||||
|
|
|
@ -7,7 +7,7 @@ namespace nn
|
|||
{
|
||||
namespace hac
|
||||
{
|
||||
class ServiceAccessControlEntry :
|
||||
class ServiceAccessControlEntry :
|
||||
public fnd::IByteModel
|
||||
{
|
||||
public:
|
||||
|
@ -19,7 +19,7 @@ namespace hac
|
|||
bool operator==(const ServiceAccessControlEntry& other) const;
|
||||
bool operator!=(const ServiceAccessControlEntry& other) const;
|
||||
|
||||
// export/import binary
|
||||
// IByteModel
|
||||
void toBytes();
|
||||
void fromBytes(const byte_t* bytes, size_t len);
|
||||
const fnd::Vec<byte_t>& getBytes() const;
|
||||
|
|
|
@ -7,7 +7,7 @@ namespace nn
|
|||
{
|
||||
namespace hac
|
||||
{
|
||||
class XciHeader :
|
||||
class XciHeader :
|
||||
public fnd::IByteModel
|
||||
{
|
||||
public:
|
||||
|
@ -18,7 +18,7 @@ namespace hac
|
|||
bool operator==(const XciHeader& other) const;
|
||||
bool operator!=(const XciHeader& other) const;
|
||||
|
||||
// export/import binary
|
||||
// IByteModel
|
||||
void toBytes();
|
||||
void fromBytes(const byte_t* bytes, size_t len);
|
||||
const fnd::Vec<byte_t>& getBytes() const;
|
||||
|
|
Loading…
Reference in a new issue