mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-22 23:48:12 -05:00
23b9d47e8a
* implement EndAction implement EndAction +offsets commenets * Refactor MxParam/MxNotificationParam * Add correct address for destructor * Make MxNoticiationParam more concise --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
28 lines
791 B
C++
28 lines
791 B
C++
#ifndef MXOMNICREATEPARAM_H
|
|
#define MXOMNICREATEPARAM_H
|
|
|
|
#include <windows.h>
|
|
|
|
#include "mxomnicreateflags.h"
|
|
#include "mxparam.h"
|
|
#include "mxstring.h"
|
|
#include "mxvideoparam.h"
|
|
|
|
class MxOmniCreateParam : public MxParam
|
|
{
|
|
public:
|
|
__declspec(dllexport) MxOmniCreateParam(const char *mediaPath, struct HWND__ *windowHandle, MxVideoParam &vparam, MxOmniCreateFlags flags);
|
|
|
|
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; }
|
|
|
|
private:
|
|
MxString m_mediaPath;
|
|
HWND m_windowHandle;
|
|
MxVideoParam m_videoParam;
|
|
MxOmniCreateFlags m_createFlags;
|
|
};
|
|
|
|
#endif // MXOMNICREATEPARAM_H
|