chore: breaking rename

This commit is contained in:
MistEO
2022-12-02 00:22:47 +08:00
parent 5abf4f0c1c
commit 3d83b80dd6
346 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;
}