mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-12-14 08:43:03 +01:00
26 lines
436 B
C++
26 lines
436 B
C++
|
#include <mesosphere/processes/KEvent.hpp>
|
||
|
#include <mesosphere/core/KCoreContext.hpp>
|
||
|
#include <mesosphere/processes/KProcess.hpp>
|
||
|
|
||
|
namespace mesosphere
|
||
|
{
|
||
|
|
||
|
KEvent::~KEvent()
|
||
|
{
|
||
|
}
|
||
|
|
||
|
bool KEvent::IsAlive() const
|
||
|
{
|
||
|
return isInitialized;
|
||
|
}
|
||
|
|
||
|
Result KEvent::Initialize()
|
||
|
{
|
||
|
SetClientServerParent();
|
||
|
SetResourceOwner(KCoreContext::GetCurrentInstance().GetCurrentProcess());
|
||
|
isInitialized = true;
|
||
|
|
||
|
return ResultSuccess{};
|
||
|
}
|
||
|
|
||
|
}
|