2023-08-28 06:01:45 -04:00
|
|
|
#ifndef MXMEDIAMANGER_H
|
|
|
|
#define MXMEDIAMANGER_H
|
|
|
|
|
|
|
|
#include "mxcore.h"
|
|
|
|
#include "mxcriticalsection.h"
|
2023-09-17 00:18:56 -04:00
|
|
|
#include "mxpresenterlist.h"
|
2023-10-24 19:38:27 -04:00
|
|
|
#include "mxthread.h"
|
2023-08-28 06:01:45 -04:00
|
|
|
#include "mxtypes.h"
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// VTABLE: LEGO1 0x100dc6b0
|
2023-09-17 00:18:56 -04:00
|
|
|
// SIZE 0x2c
|
2023-10-24 19:38:27 -04:00
|
|
|
class MxMediaManager : public MxCore {
|
2023-08-28 06:01:45 -04:00
|
|
|
public:
|
2023-10-24 19:38:27 -04:00
|
|
|
MxMediaManager();
|
|
|
|
virtual ~MxMediaManager() override;
|
2023-08-28 06:01:45 -04:00
|
|
|
|
2024-01-14 16:49:11 -05:00
|
|
|
virtual MxResult Tickle() override; // vtable+08
|
|
|
|
virtual MxResult InitPresenters(); // vtable+14
|
|
|
|
virtual void Destroy(); // vtable+18
|
|
|
|
virtual void RegisterPresenter(MxPresenter& p_presenter); // vtable+1c
|
|
|
|
virtual void UnregisterPresenter(MxPresenter& p_presenter); // vtable+20
|
|
|
|
virtual void StopPresenters(); // vtable+24
|
2023-09-17 00:18:56 -04:00
|
|
|
|
2023-10-24 19:38:27 -04:00
|
|
|
MxResult Init();
|
2023-08-28 06:01:45 -04:00
|
|
|
|
2024-01-18 08:34:14 -05:00
|
|
|
// SYNTHETIC: LEGO1 0x100b8540
|
|
|
|
// MxMediaManager::`scalar deleting destructor'
|
|
|
|
|
2023-08-28 06:01:45 -04:00
|
|
|
protected:
|
2024-01-29 16:17:17 -05:00
|
|
|
MxPresenterList* m_presenters; // 0x08
|
|
|
|
MxThread* m_thread; // 0x0c
|
2023-10-24 19:38:27 -04:00
|
|
|
MxCriticalSection m_criticalSection; // 0x10
|
2023-08-28 06:01:45 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // MXMEDIAMANGER_H
|