isle/LEGO1/mxomnicreateparam.h

34 lines
858 B
C
Raw Normal View History

2023-04-27 22:19:39 -04:00
#ifndef MXOMNICREATEPARAM_H
#define MXOMNICREATEPARAM_H
#include "mxomnicreateflags.h"
#include "mxparam.h"
2023-04-27 22:19:39 -04:00
#include "mxstring.h"
#include "mxvideoparam.h"
2023-10-24 19:38:27 -04:00
#include <windows.h>
class MxOmniCreateParam : public MxParam {
2023-04-27 22:19:39 -04:00
public:
2023-10-24 19:38:27 -04:00
__declspec(dllexport) MxOmniCreateParam(
const char* p_mediaPath,
struct HWND__* p_windowHandle,
MxVideoParam& p_vparam,
MxOmniCreateFlags p_flags
2023-10-24 19:38:27 -04:00
);
MxOmniCreateFlags& CreateFlags() { return this->m_createFlags; }
2023-10-24 19:38:27 -04:00
const MxString& GetMediaPath() const { return m_mediaPath; }
const HWND GetWindowHandle() const { return m_windowHandle; }
MxVideoParam& GetVideoParam() { return m_videoParam; }
const MxVideoParam& GetVideoParam() const { return m_videoParam; }
2023-04-27 22:19:39 -04:00
private:
2023-10-24 19:38:27 -04:00
MxString m_mediaPath;
HWND m_windowHandle;
MxVideoParam m_videoParam;
MxOmniCreateFlags m_createFlags;
2023-04-27 22:19:39 -04:00
};
#endif // MXOMNICREATEPARAM_H