MCPcopy Create free account
hub / github.com/CalcProgrammer1/OpenRGB / UnregisterDialogShowCallback

Method UnregisterDialogShowCallback

LogManager.cpp:343–353  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

341}
342
343void LogManager::UnregisterDialogShowCallback(LogDialogShowCallback callback, void* receiver)
344{
345 for(size_t idx = 0; idx < dialog_show_callbacks.size(); idx++)
346 {
347 if(dialog_show_callbacks[idx] == callback && dialog_show_callback_args[idx] == receiver)
348 {
349 dialog_show_callbacks.erase(dialog_show_callbacks.begin() + idx);
350 dialog_show_callback_args.erase(dialog_show_callback_args.begin() + idx);
351 }
352 }
353}

Callers

nothing calls this directly

Calls 3

sizeMethod · 0.45
eraseMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected