mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-26 17:46:38 -05:00
15 lines
265 B
C++
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;
|
|
}
|