MCPcopy Create free account
hub / github.com/MaaXYZ/MaaFramework / handle_start_app

Method handle_start_app

source/MaaFramework/Controller/ControllerAgent.cpp:809–819  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

807}
808
809bool ControllerAgent::handle_start_app(const AppParam& param)
810{
811 if (!control_unit_) {
812 LogError << "control_unit_ is nullptr";
813 return false;
814 }
815
816 bool ret = control_unit_->start_app(param.package);
817
818 return ret;
819}
820
821bool ControllerAgent::handle_stop_app(const AppParam& param)
822{

Callers

nothing calls this directly

Calls 1

start_appMethod · 0.65

Tested by

no test coverage detected