2023-04-27 22:19:39 -04:00
|
|
|
#ifndef MXOMNICREATEPARAM_H
|
|
|
|
#define MXOMNICREATEPARAM_H
|
|
|
|
|
2023-06-27 22:04:07 -04:00
|
|
|
#include <windows.h>
|
|
|
|
|
2023-04-27 22:19:39 -04:00
|
|
|
#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-10 13:05:04 -04:00
|
|
|
class MxOmniCreateParam : public MxParam
|
2023-04-27 22:19:39 -04:00
|
|
|
{
|
|
|
|
public:
|
2023-06-17 16:03:09 -04:00
|
|
|
__declspec(dllexport) MxOmniCreateParam(const char *mediaPath, struct HWND__ *windowHandle, MxVideoParam &vparam, MxOmniCreateFlags flags);
|
2023-06-13 20:22:42 -04:00
|
|
|
|
|
|
|
const MxOmniCreateFlags& CreateFlags() const { return this->m_createFlags; }
|
2023-10-14 20:49:07 -04:00
|
|
|
const MxString& GetMediaPath() const { return m_mediaPath; }
|
2023-10-07 14:05:45 -04:00
|
|
|
const HWND GetWindowHandle() const { return m_windowHandle; }
|
|
|
|
MxVideoParam& GetVideoParam() { return m_videoParam; }
|
2023-10-24 19:24:29 -04:00
|
|
|
const MxVideoParam& GetVideoParam() const { return m_videoParam; }
|
2023-04-27 22:19:39 -04:00
|
|
|
|
|
|
|
private:
|
|
|
|
MxString m_mediaPath;
|
|
|
|
HWND m_windowHandle;
|
|
|
|
MxVideoParam m_videoParam;
|
|
|
|
MxOmniCreateFlags m_createFlags;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // MXOMNICREATEPARAM_H
|