mesosphere: Result{} => Result()
This commit is contained in:
26
mesosphere/source/processes/KEvent.cpp
Normal file
26
mesosphere/source/processes/KEvent.cpp
Normal file
@@ -0,0 +1,26 @@
|
||||
#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();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user