mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-18 11:37:57 -05:00
Merge yuzu-emu#12949
This commit is contained in:
31
src/core/hle/service/os/event.h
Normal file
31
src/core/hle/service/os/event.h
Normal file
@ -0,0 +1,31 @@
|
||||
// SPDX-FileCopyrightText: Copyright 2024 yuzu Emulator Project
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#pragma once
|
||||
|
||||
namespace Kernel {
|
||||
class KEvent;
|
||||
class KReadableEvent;
|
||||
} // namespace Kernel
|
||||
|
||||
namespace Service {
|
||||
|
||||
namespace KernelHelpers {
|
||||
class ServiceContext;
|
||||
}
|
||||
|
||||
class Event {
|
||||
public:
|
||||
explicit Event(KernelHelpers::ServiceContext& ctx);
|
||||
~Event();
|
||||
|
||||
void Signal();
|
||||
void Clear();
|
||||
|
||||
Kernel::KReadableEvent* GetHandle();
|
||||
|
||||
private:
|
||||
Kernel::KEvent* m_event;
|
||||
};
|
||||
|
||||
} // namespace Service
|
Reference in New Issue
Block a user