summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/ns/document_interface.h
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2024-02-17 18:09:07 +0100
committerLiam <byteslice@airmail.cc>2024-02-18 16:32:21 +0100
commitbb59940b038e9f089646727f720111b216c9886b (patch)
treedb359d2957f2c5a1bf381cb725207fb36da0ed14 /src/core/hle/service/ns/document_interface.h
parentns: rewrite IContentManagementInterface (diff)
downloadyuzu-bb59940b038e9f089646727f720111b216c9886b.tar
yuzu-bb59940b038e9f089646727f720111b216c9886b.tar.gz
yuzu-bb59940b038e9f089646727f720111b216c9886b.tar.bz2
yuzu-bb59940b038e9f089646727f720111b216c9886b.tar.lz
yuzu-bb59940b038e9f089646727f720111b216c9886b.tar.xz
yuzu-bb59940b038e9f089646727f720111b216c9886b.tar.zst
yuzu-bb59940b038e9f089646727f720111b216c9886b.zip
Diffstat (limited to 'src/core/hle/service/ns/document_interface.h')
-rw-r--r--src/core/hle/service/ns/document_interface.h22
1 files changed, 22 insertions, 0 deletions
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<IDocumentInterface> {
+public:
+ explicit IDocumentInterface(Core::System& system_);
+ ~IDocumentInterface() override;
+
+private:
+ Result ResolveApplicationContentPath(ContentPath content_path);
+ Result GetRunningApplicationProgramId(Out<u64> out_program_id, u64 caller_program_id);
+};
+
+} // namespace Service::NS