From bb59940b038e9f089646727f720111b216c9886b Mon Sep 17 00:00:00 2001 From: Liam Date: Sat, 17 Feb 2024 12:09:07 -0500 Subject: ns: rewrite IDocumentInterface --- src/core/hle/service/ns/document_interface.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/core/hle/service/ns/document_interface.h (limited to 'src/core/hle/service/ns/document_interface.h') diff --git a/src/core/hle/service/ns/document_interface.h b/src/core/hle/service/ns/document_interface.h new file mode 100644 index 000000000..cd461652c --- /dev/null +++ b/src/core/hle/service/ns/document_interface.h @@ -0,0 +1,22 @@ +// 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 IDocumentInterface final : public ServiceFramework { +public: + explicit IDocumentInterface(Core::System& system_); + ~IDocumentInterface() override; + +private: + Result ResolveApplicationContentPath(ContentPath content_path); + Result GetRunningApplicationProgramId(Out out_program_id, u64 caller_program_id); +}; + +} // namespace Service::NS -- cgit v1.2.3