aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/hle/service/am/process_holder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/service/am/process_holder.cpp')
-rw-r--r--src/core/hle/service/am/process_holder.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/core/hle/service/am/process_holder.cpp b/src/core/hle/service/am/process_holder.cpp
new file mode 100644
index 000000000..21ef5bf83
--- /dev/null
+++ b/src/core/hle/service/am/process_holder.cpp
@@ -0,0 +1,15 @@
+// SPDX-FileCopyrightText: Copyright 2024 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include "core/hle/kernel/k_process.h"
+#include "core/hle/service/am/process_holder.h"
+#include "core/hle/service/os/process.h"
+
+namespace Service::AM {
+
+ProcessHolder::ProcessHolder(Applet& applet, Process& process)
+ : MultiWaitHolder(process.GetHandle()), m_applet(applet), m_process(process) {}
+
+ProcessHolder::~ProcessHolder() = default;
+
+} // namespace Service::AM