isle/LEGO1/mxomni.cpp
2023-06-14 01:22:42 +01:00

15 lines
265 B
C++

#include "mxomni.h"
MxResult MxOmni::Create(const MxOmniCreateParam &p)
{
if (p.CreateFlags().CreateTimer())
{
MxTimer *timer = new MxTimer();
this->m_Timer = timer;
if (timer == NULL)
return FAILURE;
}
return SUCCESS;
}