1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2025-01-10 19:36:19 +00:00
Atmosphere/mesosphere/source/processes/KWritableEvent.cpp

28 lines
449 B
C++
Raw Normal View History

#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();
}
2018-11-08 23:01:48 +00:00
void KWritableEvent::SetClient(SharedPtr<KReadableEvent> client)
{
this->client = std::move(client);
}
}