MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / onCreate

Method onCreate

Tactility/Source/app/timezone/TimeZone.cpp:231–240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

229 }
230
231 void onCreate(AppContext& app) override {
232 auto parameters = app.getParameters();
233 if (parameters != nullptr) {
234 parameters->optBool(PARAM_SAVE_TIME_ZONE, saveTimeZone);
235 }
236
237 updateTimer = std::make_unique<Timer>(Timer::Type::Once, 500 / portTICK_PERIOD_MS, [this] {
238 updateList();
239 });
240 }
241};
242
243extern const AppManifest manifest = {

Callers

nothing calls this directly

Calls 2

getParametersMethod · 0.80
optBoolMethod · 0.45

Tested by

no test coverage detected