diff options
author | Liam <byteslice@airmail.cc> | 2024-02-17 18:00:15 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2024-02-18 16:32:21 +0100 |
commit | 04887953ff98ad4c10bcbffd13dc44480fa48592 (patch) | |
tree | e2a82f896b03907028915da909efda07246ad6c1 /src/core/hle/service/ns/content_management_interface.h | |
parent | ns: move IFactoryResetInterface (diff) | |
download | yuzu-04887953ff98ad4c10bcbffd13dc44480fa48592.tar yuzu-04887953ff98ad4c10bcbffd13dc44480fa48592.tar.gz yuzu-04887953ff98ad4c10bcbffd13dc44480fa48592.tar.bz2 yuzu-04887953ff98ad4c10bcbffd13dc44480fa48592.tar.lz yuzu-04887953ff98ad4c10bcbffd13dc44480fa48592.tar.xz yuzu-04887953ff98ad4c10bcbffd13dc44480fa48592.tar.zst yuzu-04887953ff98ad4c10bcbffd13dc44480fa48592.zip |
Diffstat (limited to 'src/core/hle/service/ns/content_management_interface.h')
-rw-r--r-- | src/core/hle/service/ns/content_management_interface.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/core/hle/service/ns/content_management_interface.h b/src/core/hle/service/ns/content_management_interface.h new file mode 100644 index 000000000..b2242be2b --- /dev/null +++ b/src/core/hle/service/ns/content_management_interface.h @@ -0,0 +1,25 @@ +// SPDX-FileCopyrightText: Copyright 2024 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +#include "core/hle/service/cmif_types.h" +#include "core/hle/service/ns/ns_types.h" +#include "core/hle/service/service.h" + +namespace Service::NS { + +class IContentManagementInterface final : public ServiceFramework<IContentManagementInterface> { +public: + explicit IContentManagementInterface(Core::System& system_); + ~IContentManagementInterface() override; + +private: + Result CalculateApplicationOccupiedSize(Out<ApplicationOccupiedSize> out_size, + u64 application_id); + Result CheckSdCardMountStatus(); + Result GetTotalSpaceSize(Out<s64> out_total_space_size, FileSys::StorageId storage_id); + Result GetFreeSpaceSize(Out<s64> out_free_space_size, FileSys::StorageId storage_id); +}; + +} // namespace Service::NS |