isle-portable/LEGO1/mxmusicpresenter.h
DmitriLeon2000 02d003673d
Implement MxMusicPresenter's Destroy method and move MxMediaPresenter's Destroy method to "protected" (#199)
* MxMusicPresenter destroy

* Implement MxMusicPresenter's Destroy method and move MxMediaPresenter's Destroy method to "protected"

* MxMediaPresenter Destroy to "protected", for real

* MxMusicPresenter Destroy
2023-10-11 12:18:26 +02:00

35 lines
791 B
C++

#ifndef MXMUSICPRESENTER_H
#define MXMUSICPRESENTER_H
#include "mxaudiopresenter.h"
// VTABLE 0x100dc9b8
// SIZE 0x54
class MxMusicPresenter : public MxAudioPresenter
{
public:
// OFFSET: LEGO1 0x100c23a0
inline virtual const char *ClassName() const override // vtable+0xc
{
// 0x10101e48
return "MxMusicPresenter";
}
// OFFSET: LEGO1 0x100c23b0
inline virtual MxBool IsA(const char *name) const override // vtable+0x10
{
return !strcmp(name, MxMusicPresenter::ClassName()) || MxAudioPresenter::IsA(name);
}
MxMusicPresenter();
virtual ~MxMusicPresenter() override;
virtual MxResult AddToMusicManager(); // vtable+0x34
virtual void vtable38(); // vtable+0x38
private:
void Init();
void Destroy(MxBool p_reinit);
};
#endif // MXMUSICPRESENTER_H