mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-26 01:17:55 -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;
|
|
}
|