chore: breaking rename

This commit is contained in:
MistEO
2022-12-02 00:22:47 +08:00
parent 8ff2c5e1d0
commit d9dcbb6289
345 changed files with 374 additions and 372 deletions

View File

@@ -0,0 +1,18 @@
#include "InstHelper.h"
#include "Assistant.h"
asst::InstHelper::InstHelper(asst::Assistant* inst) : m_inst(inst) {}
std::shared_ptr<asst::Controller> asst::InstHelper::ctrler() const
{
return m_inst ? m_inst->ctrler() : nullptr;
}
std::shared_ptr<asst::Status> asst::InstHelper::status() const
{
return m_inst ? m_inst->status() : nullptr;
}
bool asst::InstHelper::need_exit() const
{
return m_inst ? m_inst->need_exit() : false;
}