2023-04-27 22:19:39 -04:00
|
|
|
#ifndef MXOMNI_H
|
|
|
|
#define MXOMNI_H
|
|
|
|
|
2023-06-13 20:22:42 -04:00
|
|
|
#include "mxresult.h"
|
|
|
|
#include "mxomnicreateparam.h"
|
|
|
|
#include "mxomnicreateflags.h"
|
|
|
|
#include "mxtimer.h"
|
|
|
|
|
2023-04-27 22:19:39 -04:00
|
|
|
class MxOmni
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
__declspec(dllexport) static void DestroyInstance();
|
2023-06-13 20:22:42 -04:00
|
|
|
__declspec(dllexport) static const char *GetCD();
|
|
|
|
__declspec(dllexport) static const char *GetHD();
|
|
|
|
__declspec(dllexport) static MxOmni *GetInstance();
|
2023-06-11 21:03:54 -04:00
|
|
|
__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);
|
2023-06-13 20:22:42 -04:00
|
|
|
|
|
|
|
MxResult MxOmni::Create(const MxOmniCreateParam &p);
|
|
|
|
|
|
|
|
MxTimer* GetTimer() const { return this->m_Timer; }
|
|
|
|
|
|
|
|
private:
|
|
|
|
char padding[0x3c];
|
|
|
|
MxTimer* m_Timer;
|
2023-04-27 22:19:39 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // MXOMNI_H
|