2023-04-27 22:19:39 -04:00
|
|
|
#ifndef MXOMNICREATEPARAM_H
|
|
|
|
#define MXOMNICREATEPARAM_H
|
|
|
|
|
|
|
|
#include "mxomnicreateflags.h"
|
2023-10-10 13:05:04 -04:00
|
|
|
#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(
|
2023-12-13 05:48:14 -05:00
|
|
|
const char* p_mediaPath,
|
|
|
|
struct HWND__* p_windowHandle,
|
|
|
|
MxVideoParam& p_vparam,
|
|
|
|
MxOmniCreateFlags p_flags
|
2023-10-24 19:38:27 -04:00
|
|
|
);
|
2023-06-13 20:22:42 -04:00
|
|
|
|
2023-11-06 04:00:24 -05: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
|