diff options
author | Liam <byteslice@airmail.cc> | 2022-10-13 02:26:04 +0200 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2022-10-13 02:29:29 +0200 |
commit | a9ace6856de57f1124daaa77aacd6f36a64c68f7 (patch) | |
tree | acf105c0e57d62889e2ebf88b463a7ebf7adc0b4 /src/core/hle/kernel/k_writable_event.h | |
parent | Merge pull request #9027 from yuzu-emu/revert-8987-another-name-for-reinforcement-steel (diff) | |
download | yuzu-a9ace6856de57f1124daaa77aacd6f36a64c68f7.tar yuzu-a9ace6856de57f1124daaa77aacd6f36a64c68f7.tar.gz yuzu-a9ace6856de57f1124daaa77aacd6f36a64c68f7.tar.bz2 yuzu-a9ace6856de57f1124daaa77aacd6f36a64c68f7.tar.lz yuzu-a9ace6856de57f1124daaa77aacd6f36a64c68f7.tar.xz yuzu-a9ace6856de57f1124daaa77aacd6f36a64c68f7.tar.zst yuzu-a9ace6856de57f1124daaa77aacd6f36a64c68f7.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/k_writable_event.h | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/src/core/hle/kernel/k_writable_event.h b/src/core/hle/kernel/k_writable_event.h deleted file mode 100644 index 3fd0c7d0a..000000000 --- a/src/core/hle/kernel/k_writable_event.h +++ /dev/null @@ -1,39 +0,0 @@ -// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project -// SPDX-License-Identifier: GPL-2.0-or-later - -#pragma once - -#include "core/hle/kernel/k_auto_object.h" -#include "core/hle/kernel/slab_helpers.h" -#include "core/hle/result.h" - -namespace Kernel { - -class KernelCore; -class KEvent; - -class KWritableEvent final - : public KAutoObjectWithSlabHeapAndContainer<KWritableEvent, KAutoObjectWithList> { - KERNEL_AUTOOBJECT_TRAITS(KWritableEvent, KAutoObject); - -public: - explicit KWritableEvent(KernelCore& kernel_); - ~KWritableEvent() override; - - void Destroy() override; - - static void PostDestroy([[maybe_unused]] uintptr_t arg) {} - - void Initialize(KEvent* parent_, std::string&& name_); - Result Signal(); - Result Clear(); - - KEvent* GetParent() const { - return parent; - } - -private: - KEvent* parent{}; -}; - -} // namespace Kernel |