MCPcopy Create free account
hub / github.com/OpenApoc/OpenApoc / addCallback

Method addCallback

forms/control.cpp:1179–1182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1177}
1178
1179void Control::addCallback(FormEventType event, std::function<void(FormsEvent *e)> callback)
1180{
1181 this->callbacks[event].push_back(callback);
1182}
1183
1184bool Control::click()
1185{

Callers 15

WeeklyFundingScreenMethod · 0.80
BaseSelectScreenMethod · 0.80
ScoreScreenMethod · 0.80
updateLocationMethod · 0.80
addVehiclesToListMethod · 0.80
SelectForcesMethod · 0.80
SkirmishMethod · 0.80
createMapRowBuildingMethod · 0.80
createMapRowVehicleMethod · 0.80
createMapRowBaseMethod · 0.80
AEquipScreenMethod · 0.80
updateAgentControlMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected