2020-01-15 12:07:48 +00:00
|
|
|
#include "Runtime/MP1/CFrontEndUITouchBar.hpp"
|
2017-02-09 09:23:17 +00:00
|
|
|
|
2021-04-10 08:42:06 +00:00
|
|
|
namespace metaforce {
|
2017-02-09 09:23:17 +00:00
|
|
|
|
2020-03-31 08:50:24 +00:00
|
|
|
CFrontEndUITouchBar::~CFrontEndUITouchBar() = default;
|
2017-02-10 09:00:57 +00:00
|
|
|
void CFrontEndUITouchBar::SetPhase(EPhase ph) { m_phase = ph; }
|
|
|
|
CFrontEndUITouchBar::EPhase CFrontEndUITouchBar::GetPhase() { return m_phase; }
|
2018-12-08 05:30:43 +00:00
|
|
|
void CFrontEndUITouchBar::SetFileSelectPhase(const SFileSelectDetail details[3], bool eraseGame, bool galleryActive) {
|
|
|
|
m_phase = EPhase::FileSelect;
|
|
|
|
}
|
|
|
|
void CFrontEndUITouchBar::SetNoCardSelectPhase(bool galleryActive) { m_phase = EPhase::NoCardSelect; }
|
|
|
|
void CFrontEndUITouchBar::SetFusionBonusPhase(bool fusionSuitActive) { m_phase = EPhase::FusionBonus; }
|
|
|
|
void CFrontEndUITouchBar::SetStartOptionsPhase(bool normalBeat) { m_phase = EPhase::StartOptions; }
|
2017-02-09 09:23:17 +00:00
|
|
|
CFrontEndUITouchBar::EAction CFrontEndUITouchBar::PopAction() { return EAction::None; }
|
|
|
|
|
|
|
|
#ifndef __APPLE__
|
2018-12-08 05:30:43 +00:00
|
|
|
std::unique_ptr<CFrontEndUITouchBar> NewFrontEndUITouchBar() { return std::make_unique<CFrontEndUITouchBar>(); }
|
2017-02-09 09:23:17 +00:00
|
|
|
#endif
|
|
|
|
|
2021-04-10 08:42:06 +00:00
|
|
|
} // namespace metaforce
|