mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-29 19:05:34 -05:00
16 lines
265 B
C++
16 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;
|
||
|
}
|