From 6b5f90e68341591b3d3241a1255aae6a89775b11 Mon Sep 17 00:00:00 2001 From: jakcron Date: Tue, 7 Aug 2018 17:31:06 +0800 Subject: [PATCH] [hac|hac-hb] Adds missing includes. --- lib/libhac-hb/source/AssetHeader.cpp | 1 + lib/libhac/include/nn/hac/ContentMetaBinary.h | 1 + lib/libhac/include/nn/hac/NcaHeader.h | 3 --- lib/libhac/include/nn/hac/NroHeader.h | 1 + lib/libhac/include/nn/hac/NsoHeader.h | 1 + lib/libhac/include/nn/hac/PfsHeader.h | 3 --- lib/libhac/include/nn/hac/ServiceAccessControlEntry.h | 3 --- lib/libhac/include/nn/hac/pfs.h | 1 + lib/libhac/source/ApplicationControlPropertyBinary.cpp | 1 + lib/libhac/source/FileSystemAccessControlBinary.cpp | 3 +-- lib/libhac/source/ServiceAccessControlBinary.cpp | 1 + lib/libhac/source/ServiceAccessControlEntry.cpp | 1 + 12 files changed, 9 insertions(+), 11 deletions(-) diff --git a/lib/libhac-hb/source/AssetHeader.cpp b/lib/libhac-hb/source/AssetHeader.cpp index aab6fe4..666ebe0 100644 --- a/lib/libhac-hb/source/AssetHeader.cpp +++ b/lib/libhac-hb/source/AssetHeader.cpp @@ -1,3 +1,4 @@ +#include #include nn::hac::AssetHeader::AssetHeader() diff --git a/lib/libhac/include/nn/hac/ContentMetaBinary.h b/lib/libhac/include/nn/hac/ContentMetaBinary.h index e742a6f..84f5d9c 100644 --- a/lib/libhac/include/nn/hac/ContentMetaBinary.h +++ b/lib/libhac/include/nn/hac/ContentMetaBinary.h @@ -1,5 +1,6 @@ #pragma once #include +#include #include #include #include diff --git a/lib/libhac/include/nn/hac/NcaHeader.h b/lib/libhac/include/nn/hac/NcaHeader.h index 5793ed2..0ddbe76 100644 --- a/lib/libhac/include/nn/hac/NcaHeader.h +++ b/lib/libhac/include/nn/hac/NcaHeader.h @@ -55,9 +55,6 @@ namespace hac bool operator==(const NcaHeader& other) const; bool operator!=(const NcaHeader& other) const; - // to be used after export - size_t getSize() const; - // export/import binary void toBytes(); void fromBytes(const byte_t* bytes, size_t len); diff --git a/lib/libhac/include/nn/hac/NroHeader.h b/lib/libhac/include/nn/hac/NroHeader.h index 840563a..7bd33dd 100644 --- a/lib/libhac/include/nn/hac/NroHeader.h +++ b/lib/libhac/include/nn/hac/NroHeader.h @@ -1,4 +1,5 @@ #pragma once +#include #include #include #include diff --git a/lib/libhac/include/nn/hac/NsoHeader.h b/lib/libhac/include/nn/hac/NsoHeader.h index dbf08b6..8fb1c6b 100644 --- a/lib/libhac/include/nn/hac/NsoHeader.h +++ b/lib/libhac/include/nn/hac/NsoHeader.h @@ -1,4 +1,5 @@ #pragma once +#include #include #include #include diff --git a/lib/libhac/include/nn/hac/PfsHeader.h b/lib/libhac/include/nn/hac/PfsHeader.h index f3556f3..828e218 100644 --- a/lib/libhac/include/nn/hac/PfsHeader.h +++ b/lib/libhac/include/nn/hac/PfsHeader.h @@ -69,9 +69,6 @@ namespace hac bool operator==(const PfsHeader& other) const; bool operator!=(const PfsHeader& other) const; - // to be used after export - size_t getSize() const; - // export/import binary void toBytes(); void fromBytes(const byte_t* bytes, size_t len); diff --git a/lib/libhac/include/nn/hac/ServiceAccessControlEntry.h b/lib/libhac/include/nn/hac/ServiceAccessControlEntry.h index cfd999b..72fd1be 100644 --- a/lib/libhac/include/nn/hac/ServiceAccessControlEntry.h +++ b/lib/libhac/include/nn/hac/ServiceAccessControlEntry.h @@ -46,9 +46,6 @@ namespace hac // variables bool mIsServer; std::string mName; - - bool isEqual(const ServiceAccessControlEntry& other) const; - void copyFrom(const ServiceAccessControlEntry& other); }; } } \ No newline at end of file diff --git a/lib/libhac/include/nn/hac/pfs.h b/lib/libhac/include/nn/hac/pfs.h index 4b7d189..60f12fa 100644 --- a/lib/libhac/include/nn/hac/pfs.h +++ b/lib/libhac/include/nn/hac/pfs.h @@ -1,3 +1,4 @@ +#pragma once #include #include #include diff --git a/lib/libhac/source/ApplicationControlPropertyBinary.cpp b/lib/libhac/source/ApplicationControlPropertyBinary.cpp index 14f9125..e8bd9c3 100644 --- a/lib/libhac/source/ApplicationControlPropertyBinary.cpp +++ b/lib/libhac/source/ApplicationControlPropertyBinary.cpp @@ -1,3 +1,4 @@ +#include #include nn::hac::ApplicationControlPropertyBinary::ApplicationControlPropertyBinary() diff --git a/lib/libhac/source/FileSystemAccessControlBinary.cpp b/lib/libhac/source/FileSystemAccessControlBinary.cpp index 81e007f..c8c7e94 100644 --- a/lib/libhac/source/FileSystemAccessControlBinary.cpp +++ b/lib/libhac/source/FileSystemAccessControlBinary.cpp @@ -1,7 +1,6 @@ +#include #include -#include - nn::hac::FileSystemAccessControlBinary::FileSystemAccessControlBinary() { clear(); diff --git a/lib/libhac/source/ServiceAccessControlBinary.cpp b/lib/libhac/source/ServiceAccessControlBinary.cpp index 3aac03d..dd53c27 100644 --- a/lib/libhac/source/ServiceAccessControlBinary.cpp +++ b/lib/libhac/source/ServiceAccessControlBinary.cpp @@ -1,3 +1,4 @@ +#include #include nn::hac::ServiceAccessControlBinary::ServiceAccessControlBinary() diff --git a/lib/libhac/source/ServiceAccessControlEntry.cpp b/lib/libhac/source/ServiceAccessControlEntry.cpp index 1e6e7ef..3c7a311 100644 --- a/lib/libhac/source/ServiceAccessControlEntry.cpp +++ b/lib/libhac/source/ServiceAccessControlEntry.cpp @@ -1,3 +1,4 @@ +#include #include nn::hac::ServiceAccessControlEntry::ServiceAccessControlEntry()