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(
|
|
|
|
const char* mediaPath,
|
|
|
|
struct HWND__* windowHandle,
|
|
|
|
MxVideoParam& vparam,
|
|
|
|
MxOmniCreateFlags flags
|
|
|
|
);
|
2023-06-13 20:22:42 -04:00
|
|
|
|
2023-10-24 19:38:27 -04:00
|
|
|
const MxOmniCreateFlags& CreateFlags() const { return this->m_createFlags; }
|
|
|
|
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
|