MCPcopy Create free account
hub / github.com/crosspoint-reader/crosspoint-reader / startActivityForResult

Method startActivityForResult

src/activities/Activity.cpp:17–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15void Activity::onSelectBook(const std::string& path) { activityManager.goToReader(path); }
16
17void Activity::startActivityForResult(std::unique_ptr<Activity>&& activity, ActivityResultHandler resultHandler) {
18 this->resultHandler = std::move(resultHandler);
19 activityManager.pushActivity(std::move(activity));
20}
21
22void Activity::setResult(ActivityResult&& result) { this->result = std::move(result); }
23

Callers

nothing calls this directly

Calls 1

pushActivityMethod · 0.80

Tested by

no test coverage detected