mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-29 19:16:05 -05:00
e7b5ea53df
Was intended as a simple code improvement, however it also seems to make WinMain, MxString::operator=, MxDSFile::Open 100% (all of which just needed registers to be switched around)
25 lines
636 B
C++
25 lines
636 B
C++
#ifndef MXOMNICREATEPARAM_H
|
|
#define MXOMNICREATEPARAM_H
|
|
|
|
#include <windows.h>
|
|
|
|
#include "mxomnicreateflags.h"
|
|
#include "mxomnicreateparambase.h"
|
|
#include "mxstring.h"
|
|
#include "mxvideoparam.h"
|
|
|
|
class MxOmniCreateParam : public MxOmniCreateParamBase
|
|
{
|
|
public:
|
|
__declspec(dllexport) MxOmniCreateParam(const char *mediaPath, struct HWND__ *windowHandle, MxVideoParam &vparam, MxOmniCreateFlags flags);
|
|
|
|
const MxOmniCreateFlags& CreateFlags() const { return this->m_createFlags; }
|
|
|
|
private:
|
|
MxString m_mediaPath;
|
|
HWND m_windowHandle;
|
|
MxVideoParam m_videoParam;
|
|
MxOmniCreateFlags m_createFlags;
|
|
};
|
|
|
|
#endif // MXOMNICREATEPARAM_H
|