2023-06-29 04:10:08 -04:00
|
|
|
#ifndef MXMEDIAPRESENTER_H
|
|
|
|
#define MXMEDIAPRESENTER_H
|
|
|
|
|
2023-07-02 03:00:28 -04:00
|
|
|
#include "decomp.h"
|
2023-11-12 07:47:01 -05:00
|
|
|
#include "mxdssubscriber.h"
|
2023-10-24 19:38:27 -04:00
|
|
|
#include "mxpresenter.h"
|
2023-11-12 07:47:01 -05:00
|
|
|
#include "mxstreamchunklist.h"
|
2023-07-02 03:00:28 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// VTABLE: LEGO1 0x100d4cd8
|
2023-11-12 07:47:01 -05:00
|
|
|
// SIZE 0x50
|
2023-10-24 19:38:27 -04:00
|
|
|
class MxMediaPresenter : public MxPresenter {
|
2023-06-29 04:10:08 -04:00
|
|
|
public:
|
2023-10-24 19:38:27 -04:00
|
|
|
inline MxMediaPresenter() { Init(); }
|
2024-01-11 10:02:55 -05:00
|
|
|
|
|
|
|
// FUNCTION: LEGO1 0x1000c550
|
2024-01-29 17:30:20 -05:00
|
|
|
virtual ~MxMediaPresenter() override { Destroy(TRUE); }
|
2023-10-24 19:38:27 -04:00
|
|
|
|
2024-01-29 16:17:17 -05:00
|
|
|
virtual MxResult Tickle() override; // vtable+0x08
|
2023-10-24 19:38:27 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x1000c5c0
|
2024-01-29 16:17:17 -05:00
|
|
|
inline virtual const char* ClassName() const override // vtable+0x0c
|
2023-10-24 19:38:27 -04:00
|
|
|
{
|
2023-12-27 15:59:42 -05:00
|
|
|
// STRING: LEGO1 0x100f074c
|
2023-10-24 19:38:27 -04:00
|
|
|
return "MxMediaPresenter";
|
|
|
|
}
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x1000c5d0
|
2023-12-13 05:48:14 -05:00
|
|
|
inline virtual MxBool IsA(const char* p_name) const override // vtable+0x10
|
2023-10-24 19:38:27 -04:00
|
|
|
{
|
2023-12-13 05:48:14 -05:00
|
|
|
return !strcmp(p_name, MxMediaPresenter::ClassName()) || MxPresenter::IsA(p_name);
|
2023-10-24 19:38:27 -04:00
|
|
|
}
|
|
|
|
|
2024-01-11 10:02:55 -05:00
|
|
|
virtual void StreamingTickle() override; // vtable+0x20
|
|
|
|
virtual void RepeatingTickle() override; // vtable+0x24
|
|
|
|
virtual void DoneTickle() override; // vtable+0x2c
|
|
|
|
|
|
|
|
// FUNCTION: LEGO1 0x1000c5b0
|
2024-01-29 17:30:20 -05:00
|
|
|
virtual void Destroy() override { Destroy(FALSE); } // vtable+0x38
|
2024-01-11 10:02:55 -05:00
|
|
|
|
2023-11-13 06:25:27 -05:00
|
|
|
virtual MxResult StartAction(MxStreamController*, MxDSAction*) override; // vtable+0x3c
|
|
|
|
virtual void EndAction() override; // vtable+0x40
|
|
|
|
virtual void Enable(MxBool p_enable) override; // vtable+0x54
|
2024-01-08 13:07:13 -05:00
|
|
|
virtual void LoopChunk(MxStreamChunk* p_chunk); // vtable+0x58
|
2023-10-24 19:38:27 -04:00
|
|
|
|
2024-01-18 08:34:14 -05:00
|
|
|
// SYNTHETIC: LEGO1 0x1000c680
|
|
|
|
// MxMediaPresenter::`scalar deleting destructor'
|
|
|
|
|
2023-10-24 19:38:27 -04:00
|
|
|
protected:
|
2024-01-08 13:07:13 -05:00
|
|
|
MxDSSubscriber* m_subscriber; // 0x40
|
|
|
|
MxStreamChunkList* m_loopingChunks; // 0x44
|
|
|
|
MxStreamChunkListCursor* m_loopingChunkCursor; // 0x48
|
|
|
|
MxStreamChunk* m_currentChunk; // 0x4c
|
2023-11-12 07:47:01 -05:00
|
|
|
|
2023-10-24 19:38:27 -04:00
|
|
|
void Init();
|
|
|
|
void Destroy(MxBool p_fromDestructor);
|
2023-12-16 10:59:01 -05:00
|
|
|
|
|
|
|
public:
|
2024-01-08 13:07:13 -05:00
|
|
|
MxStreamChunk* CurrentChunk();
|
2023-11-13 06:25:27 -05:00
|
|
|
MxStreamChunk* NextChunk();
|
2023-06-29 04:10:08 -04:00
|
|
|
};
|
|
|
|
|
2023-12-12 14:27:17 -05:00
|
|
|
// SYNTHETIC: LEGO1 0x100b46e0
|
|
|
|
// MxStreamChunkListCursor::`scalar deleting destructor'
|
|
|
|
|
|
|
|
// TEMPLATE: LEGO1 0x100b4750
|
|
|
|
// MxListCursor<MxStreamChunk *>::~MxListCursor<MxStreamChunk *>
|
|
|
|
|
|
|
|
// SYNTHETIC: LEGO1 0x100b47a0
|
|
|
|
// MxListCursor<MxStreamChunk *>::`scalar deleting destructor'
|
|
|
|
|
|
|
|
// FUNCTION: LEGO1 0x100b4810
|
|
|
|
// MxStreamChunkListCursor::~MxStreamChunkListCursor
|
|
|
|
|
2023-06-29 04:10:08 -04:00
|
|
|
#endif // MXMEDIAPRESENTER_H
|