#include "mxmidipresenter.h"

#include "decomp.h"
#include "legoomni.h"
#include "mxmusicmanager.h"

DECOMP_SIZE_ASSERT(MxMIDIPresenter, 0x58);

// OFFSET: LEGO1 0x100c25a0 STUB
MxResult MxMIDIPresenter::AddToManager()
{
	// TODO
	return SUCCESS;
}

// OFFSET: LEGO1 0x100c25e0
MxMIDIPresenter::MxMIDIPresenter()
{
	Init();
}

// OFFSET: LEGO1 0x100c27c0
MxMIDIPresenter::~MxMIDIPresenter()
{
	Destroy(TRUE);
}

// OFFSET: LEGO1 0x100c2820
void MxMIDIPresenter::Init()
{
	m_unk54 = 0;
}

// OFFSET: LEGO1 0x100c2830 STUB
void MxMIDIPresenter::Destroy(MxBool p_fromDestructor)
{
	// TODO
}

// OFFSET: LEGO1 0x100c2890 STUB
void MxMIDIPresenter::ReadyTickle()
{
	// TODO
}

// OFFSET: LEGO1 0x100c28d0 STUB
void MxMIDIPresenter::StartingTickle()
{
	// TODO
}

// OFFSET: LEGO1 0x100c2910 STUB
void MxMIDIPresenter::StreamingTickle()
{
	// TODO
}

// OFFSET: LEGO1 0x100c2940
void MxMIDIPresenter::DoneTickle()
{
	if (!MusicManager()->GetMIDIInitialized())
		EndAction();
}

// OFFSET: LEGO1 0x100c2960 STUB
void MxMIDIPresenter::Destroy()
{
	// TODO
}

// OFFSET: LEGO1 0x100c2970 STUB
undefined4 MxMIDIPresenter::PutData()
{
	// TODO
	return 0;
}

// OFFSET: LEGO1 0x100c29e0 STUB
void MxMIDIPresenter::EndAction()
{
	// TODO
}