lego1: implement MxTimer + dependencies

This commit is contained in:
Thomas May
2023-06-14 01:22:42 +01:00
parent 0827ca8040
commit a925aec046
16 changed files with 296 additions and 9 deletions

View File

@@ -1,17 +1,30 @@
#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 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