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

30 lines
803 B
C++

#ifndef MXOMNI_H
#define MXOMNI_H
#include "mxresult.h"
#include "mxomnicreateparam.h"
#include "mxomnicreateflags.h"
#include "mxtimer.h"
class MxOmni
{
public:
__declspec(dllexport) static void DestroyInstance();
__declspec(dllexport) static const char *GetCD();
__declspec(dllexport) static const char *GetHD();
__declspec(dllexport) static MxOmni *GetInstance();
__declspec(dllexport) static unsigned char IsSound3D();
__declspec(dllexport) static void SetCD(const char *s);
__declspec(dllexport) static void SetHD(const char *s);
__declspec(dllexport) static void SetSound3D(unsigned char);
MxResult MxOmni::Create(const MxOmniCreateParam &p);
MxTimer* GetTimer() const { return this->m_Timer; }
private:
char padding[0x3c];
MxTimer* m_Timer;
};
#endif // MXOMNI_H