mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-24 17:04:17 +00:00
improved accuracy of library headers
This commit is contained in:
14
lib/mxcore.h
Normal file
14
lib/mxcore.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#ifndef MXCORE_H
|
||||
#define MXCORE_H
|
||||
|
||||
class MxCore
|
||||
{
|
||||
public:
|
||||
virtual ~MxCore();
|
||||
|
||||
private:
|
||||
unsigned int m_id;
|
||||
|
||||
};
|
||||
|
||||
#endif // MXCORE_H
|
||||
@@ -4,14 +4,14 @@
|
||||
#include <Windows.h>
|
||||
|
||||
#include "mxomnicreateflags.h"
|
||||
#include "mxomnicreateparambase.h"
|
||||
#include "mxstring.h"
|
||||
#include "mxvideoparam.h"
|
||||
|
||||
class MxOmniCreateParam
|
||||
class MxOmniCreateParam : public MxOmniCreateParamBase
|
||||
{
|
||||
public:
|
||||
__declspec(dllexport) MxOmniCreateParam(const char *mediaPath, struct HWND__ *windowHandle, MxVideoParam &vparam, MxOmniCreateFlags flags);
|
||||
|
||||
virtual void vtable00();
|
||||
|
||||
private:
|
||||
|
||||
6
lib/mxomnicreateparambase.cpp
Normal file
6
lib/mxomnicreateparambase.cpp
Normal file
@@ -0,0 +1,6 @@
|
||||
#include "mxomnicreateparam.h"
|
||||
|
||||
MxOmniCreateParamBase::~MxOmniCreateParamBase()
|
||||
{
|
||||
|
||||
}
|
||||
13
lib/mxomnicreateparambase.h
Normal file
13
lib/mxomnicreateparambase.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#ifndef MXOMNICREATEPARAMBASE_H
|
||||
#define MXOMNICREATEPARAMBASE_H
|
||||
|
||||
// FIXME: Clearly not its real name
|
||||
class MxOmniCreateParamBase
|
||||
{
|
||||
public:
|
||||
~MxOmniCreateParamBase();
|
||||
virtual void vtable00(){}
|
||||
|
||||
};
|
||||
|
||||
#endif // MXOMNICREATEPARAMBASE_H
|
||||
@@ -1,15 +1,16 @@
|
||||
#ifndef MXSTRING_H
|
||||
#define MXSTRING_H
|
||||
|
||||
class MxString
|
||||
#include "mxcore.h"
|
||||
|
||||
class MxString : public MxCore
|
||||
{
|
||||
public:
|
||||
__declspec(dllexport) virtual ~MxString();
|
||||
|
||||
private:
|
||||
int m_unk00;
|
||||
int m_unk04;
|
||||
int m_unk08;
|
||||
int m_unk0c;
|
||||
char *m_data;
|
||||
unsigned short m_length;
|
||||
|
||||
};
|
||||
|
||||
|
||||
@@ -11,6 +11,7 @@ class MxVideoParam
|
||||
public:
|
||||
__declspec(dllexport) MxVideoParam();
|
||||
__declspec(dllexport) MxVideoParam(MxRect32 &rect, MxPalette *pal, unsigned long p3, MxVideoParamFlags &flags);
|
||||
__declspec(dllexport) ~MxVideoParam();
|
||||
|
||||
__declspec(dllexport) void SetDeviceName(char *id);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user