2023-06-29 04:10:08 -04:00
|
|
|
#ifndef MXMIDIPRESENTER_H
|
|
|
|
#define MXMIDIPRESENTER_H
|
|
|
|
|
|
|
|
#include "mxmusicpresenter.h"
|
2023-11-24 12:21:26 -05:00
|
|
|
#include "mxstreamchunk.h"
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// VTABLE: LEGO1 0x100dca20
|
2023-11-14 15:10:43 -05:00
|
|
|
// SIZE 0x58
|
2023-10-24 19:38:27 -04:00
|
|
|
class MxMIDIPresenter : public MxMusicPresenter {
|
2023-07-02 03:00:28 -04:00
|
|
|
public:
|
2023-10-24 19:38:27 -04:00
|
|
|
MxMIDIPresenter();
|
|
|
|
virtual ~MxMIDIPresenter() override;
|
2023-09-29 13:18:22 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x100c2650
|
2023-10-24 19:38:27 -04:00
|
|
|
inline virtual const char* ClassName() const override // vtable+0xc
|
|
|
|
{
|
2023-12-27 15:59:42 -05:00
|
|
|
// STRING: LEGO1 0x10101df8
|
2023-10-24 19:38:27 -04:00
|
|
|
return "MxMIDIPresenter";
|
|
|
|
}
|
2023-09-29 13:18:22 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x100c2660
|
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, MxMIDIPresenter::ClassName()) || MxMusicPresenter::IsA(p_name);
|
2023-10-24 19:38:27 -04:00
|
|
|
}
|
2023-09-29 13:18:22 -04:00
|
|
|
|
2023-11-24 12:21:26 -05:00
|
|
|
virtual void ReadyTickle() override; // vtable+0x18
|
|
|
|
virtual void StartingTickle() override; // vtable+0x1c
|
|
|
|
virtual void StreamingTickle() override; // vtable+0x20
|
|
|
|
virtual void DoneTickle() override; // vtable+0x2c
|
|
|
|
virtual void Destroy() override; // vtable+0x38
|
|
|
|
virtual void EndAction() override; // vtable+0x40
|
2023-11-26 09:03:40 -05:00
|
|
|
virtual MxResult PutData() override; // vtable+0x4c
|
2023-11-24 12:21:26 -05:00
|
|
|
virtual void SetVolume(MxS32 p_volume) override; // vtable+0x60
|
2023-10-14 09:25:53 -04:00
|
|
|
|
2024-01-18 08:34:14 -05:00
|
|
|
// SYNTHETIC: LEGO1 0x100c27a0
|
|
|
|
// MxMIDIPresenter::`scalar deleting destructor'
|
|
|
|
|
2023-07-02 03:00:28 -04:00
|
|
|
private:
|
2023-10-24 19:38:27 -04:00
|
|
|
void Init();
|
2023-11-14 15:10:43 -05:00
|
|
|
void Destroy(MxBool p_fromDestructor);
|
2023-10-14 09:25:53 -04:00
|
|
|
|
2023-11-25 13:26:44 -05:00
|
|
|
protected:
|
2023-11-24 12:21:26 -05:00
|
|
|
MxStreamChunk* m_chunk;
|
2023-06-29 04:10:08 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // MXMIDIPRESENTER_H
|