diff options
Diffstat (limited to 'src/core/hle/service/am/am.h')
-rw-r--r-- | src/core/hle/service/am/am.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/core/hle/service/am/am.h b/src/core/hle/service/am/am.h index 640901e4a..44c1bcde5 100644 --- a/src/core/hle/service/am/am.h +++ b/src/core/hle/service/am/am.h @@ -158,27 +158,29 @@ private: class IStorage final : public ServiceFramework<IStorage> { public: explicit IStorage(std::vector<u8> buffer); + ~IStorage() override; const std::vector<u8>& GetData() const; private: - std::vector<u8> buffer; - void Open(Kernel::HLERequestContext& ctx); + std::vector<u8> buffer; + friend class IStorageAccessor; }; class IStorageAccessor final : public ServiceFramework<IStorageAccessor> { public: explicit IStorageAccessor(IStorage& backing); + ~IStorageAccessor() override; private: - IStorage& backing; - void GetSize(Kernel::HLERequestContext& ctx); void Write(Kernel::HLERequestContext& ctx); void Read(Kernel::HLERequestContext& ctx); + + IStorage& backing; }; class ILibraryAppletCreator final : public ServiceFramework<ILibraryAppletCreator> { |