2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00
yuzu/src/core/hle/service/event.h

31 lines
512 B
C++

// 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