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);
}
}