mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 02:27:43 +00:00
New code style refactor
This commit is contained in:
@@ -1,27 +1,20 @@
|
||||
#include "CFrontEndUITouchBar.hpp"
|
||||
|
||||
namespace urde
|
||||
{
|
||||
namespace urde {
|
||||
|
||||
CFrontEndUITouchBar::~CFrontEndUITouchBar() {}
|
||||
void CFrontEndUITouchBar::SetPhase(EPhase ph) { m_phase = ph; }
|
||||
CFrontEndUITouchBar::EPhase CFrontEndUITouchBar::GetPhase() { return m_phase; }
|
||||
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; }
|
||||
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; }
|
||||
CFrontEndUITouchBar::EAction CFrontEndUITouchBar::PopAction() { return EAction::None; }
|
||||
|
||||
#ifndef __APPLE__
|
||||
std::unique_ptr<CFrontEndUITouchBar> NewFrontEndUITouchBar()
|
||||
{
|
||||
return std::make_unique<CFrontEndUITouchBar>();
|
||||
}
|
||||
std::unique_ptr<CFrontEndUITouchBar> NewFrontEndUITouchBar() { return std::make_unique<CFrontEndUITouchBar>(); }
|
||||
#endif
|
||||
|
||||
}
|
||||
} // namespace urde
|
||||
|
||||
Reference in New Issue
Block a user