isle/LEGO1/mxomnicreateparam.h
Joshua Peisach 33048db81a
Define WIN32_LEAN_AND_MEAN when importing windows.h
This way, when preprocessing, only the relevant windows API structures
will be generated.
2023-09-08 14:18:44 -04:00

30 lines
700 B
C++

#ifndef MXOMNICREATEPARAM_H
#define MXOMNICREATEPARAM_H
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif
#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