mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-14 16:06:56 +00:00
27 lines
449 B
C++
27 lines
449 B
C++
#include <mesosphere/processes/KWritableEvent.hpp>
|
|
#include <mesosphere/processes/KReadableEvent.hpp>
|
|
#include <mesosphere/processes/KEvent.hpp>
|
|
|
|
namespace mesosphere
|
|
{
|
|
|
|
KWritableEvent::~KWritableEvent()
|
|
{
|
|
}
|
|
|
|
Result KWritableEvent::Signal()
|
|
{
|
|
return client->Signal();
|
|
}
|
|
|
|
Result KWritableEvent::Clear()
|
|
{
|
|
return client->Clear();
|
|
}
|
|
|
|
void KWritableEvent::SetClient(SharedPtr<KReadableEvent> client)
|
|
{
|
|
this->client = std::move(client);
|
|
}
|
|
|
|
}
|